This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

GRIFFIN
GRIFFIN presents ...

2015/3/4

Explosions

I know people like to see explosions in games, so here is a really simple example. Like if you're gonna use it in your game! ... or if you just like it :)

3063 views / 7 in the last 7 days

1 vote | 0 in the last 7 days

Tags: simulation demo with-source

open in greenfoot
Your browser does not support the canvas tag.
lordhersheylordhershey

2015/3/5

if you do not want to use a delay with now Greenfoot.delay() try this: long starttime = System.currentTimeMillis(); act() { long endtime =System.currentTimeMillis(); if((endtime - starttime) < 200) { return; } starttime = System.currentTimeMillis(); .. rest of routine .. } this will give you at least a fifth of a second between acts for this actor.
lordhersheylordhershey

2015/3/5

Could also try adding a little bit of random rotation it will add to the rolling effect to the plasma cloud.
GRIFFINGRIFFIN

2015/3/5

Thanks will do.
A new version of this scenario was uploaded on 2015-03-05 22:16:37 UTC This version doesn't have Greenfoot.delay(); so it won't cause glitches in your game.
A new version of this scenario was uploaded on 2015-03-05 23:11:29 UTC New Explosion!! Little bit glitchy with the outline.
A new version of this scenario was uploaded on 2015-03-08 22:16:09 UTC Sounds! You can click to make it happen!

Want to leave a comment? You must first log in.

Who likes this?

lordhershey