Share My Creation FIREWORKS

Nice and very realistic Bene.. thanks for sharing.
 
It's so pretty!!! Really, really nice!!! :)
 
Hi Bene,
Sorry but I only see a black screen. It said Completed Successfully.. No logs. pls see attached screenshot.
fireworks3.jpg
 
Hi Bene,
Sorry but I only see a black screen. It said Completed Successfully.. No logs. pls see attached screenshot. View attachment 51201
Change the screen size.
#MainFormWidth: 600
#MainFormHeight: 900
for
#MainFormWidth: 600
#MainFormHeight: 700

There is a button in the Y position 850

(Main) Change line 23 to
MainForm.RootPane.AddNode (bt, 10, 10, 90, 30)
 
Last edited:
Wonderful.. thanks Bene for sharing this.
How can I make the stop button enabled all time.. it's stopped the app once then when played again couldn't stop.

FirWorks.png
 
Wonderful.. thanks Bene for sharing this.
How can I make the stop button enabled all time.. it's stopped the app once then when played again couldn't stop.

View attachment 51243

Add just after line 40
Code:
front (bt)

'Add sub

Private Sub front(f As Object)
    Dim jmf As JavaObject = f
    jmf.RunMethod("toFront", Null) 
End Sub
 

Attachments

  • xxx.jpg
    xxx.jpg
    104.6 KB · Views: 706
  • FireW02.zip
    FireW02.zip
    282.3 KB · Views: 658
Last edited:
I did a quick port of this example to SimpleGameEngine. There's still room for improvements (e.g. createRocket should not use a Canvas, Rocket should not use an ImageView, a light effect could be added when the rocket explodes...) Maybe later, if I have some time.
EDIT: I removed the canvas and the imageviews in the updated version.
 

Attachments

Last edited:
I did a quick port of this example to SimpleGameEngine. There's still room for improvements (e.g. createRocket should not use a Canvas, Rocket should not use an ImageView, a light effect could be added when the rocket explodes...) Maybe later, if I have some time.
Any improvement will be welcomed ..
I thank you.
 
Back
Top