OldSkool Fire Effect

Developed or developing a new product in PureBasic? Tell the world about it.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: OldSkool Fire Effect

Post by JHPJHP »

Updated:
- added an XML options file and user-interface
- minor improvements to various parts of the code including performance

XML Options File & User-Interface
Image
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: OldSkool Fire Effect

Post by JHPJHP »

Updated:
- added Freestyle drawing
- enhanced Options window
- restructured various parts of the code

Enhanced Options Window
Program restart no longer required to propagate changes.
Window/Effect updated with Submit button.

Animation created using Video Snipping Tool
Image
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: OldSkool Fire Effect

Post by IceSoft »

Sorry mostly to expensive to see a demo.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: OldSkool Fire Effect

Post by JHPJHP »

IceSoft wrote:Sorry mostly to expensive to see a demo.
Probably a waste of time, but...

1. This is not a demo, it includes the full source code as do all my downloads.
2. When I answered this post, for the better part of a week the Fire Effect script was free to download.
3. For 10+ years everything I've written in PureBasic was free to download; where was your interest then?
4. $20 CAD gives access to 10+ years of my PureBasic scripts and programs, including all future additions and updates.
Last edited by JHPJHP on Wed Sep 01, 2021 6:10 pm, edited 1 time in total.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: OldSkool Fire Effect

Post by JHPJHP »

Updated:
- added freestyle shapes: line, circle, square
- added freestyle cursor graphic
- various code improvements

Freestyle Shapes
From Freestyle mode ( F2 ) draw shapes ( Key 1 - 4 ).
1. Free Hand : Use the < > keys to increase/decrease the radius of each pixel
2. Draw Line
3. Draw Circle
4. Draw Square

Animation created using Video Snipping Tool
Image
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: OldSkool Fire Effect

Post by JHPJHP »

Updated:
- patched event loop

I haven't look at this download for quite a while but testing the scripts today I noticed that the Option window wasn't processing commands anymore, or more accurately commands weren't reaching the event loop. Whatever changes occurred in the latest release of PureBasic affected this process.

Most likely it's a problem with my own programming then a PureBasic bug, hence the status patched and not fixed.
JHPJHP
Addict
Addict
Posts: 2129
Joined: Sat Oct 09, 2010 3:47 am
Contact:

Re: OldSkool Fire Effect

Post by JHPJHP »

Updated:
- fixed event loop
JHPJHP" wrote:Most likely it's a problem with my own programming then a PureBasic bug, hence the status patched and not fixed.
When opening a window inside OpenWindowedScreen I needed to add a condition to at least exclude ExamineMouse, otherwise commands never reached the event loop; ReleaseMouse(#True) had no affect.
Locked