Add a global variable, call it whatever you want. In your event, add the action "Add 1 to variable" and a condition too "If variable < 20"
So, after you spawn 20 enemies, it will stop spawning, unless you set the variable to a number below 20 again
mediafire.com still cant get it to work heres the download link. This is just an example not my actual game. <img src="smileys/smiley1.gif" border="0" align="middle" />
mediafire.com
still cant get it to work heres the download link.
This is just an example not my actual game.
<img src="smileys/smiley1.gif" border="0" align="middle" />
Works here. Had to change 10 to a bigger value to really notice the difference
Develop games in your browser. Powerful, performant & highly capable.
Spawn scenery pieces on the right, move them to the left. The screen itself never moves
I don't think events "skip", only thing I can think of, is the classic fail to detect collision, due to the sprite moving by steps when lagging. What you can do is use Delta-Time to account for the framerate drops when setting things such as movement speed of a sprite.
You can do <font size="6"><font color=green>AN</font><font color=blue>YT</font><font color=magenta>HI</font><font color=red>NG</font></font>
Edit: a family is basically a way to reference to multiple objects at the same time. If you say family.x + 1, all objects in that family will perform that action
Well that's why we have the open topic section
What's the purpose of this topic? To say "hey i'm learning!"?
The game feels too slow. The player fires too slowly, he walks slowly and the bullets are slow (have you ever seen a slow bullet?) Sometimes I started walking and firing even slower for some reason
Fuged if I understood correctly, all sound you play have the same tag name? That will work, I don't need to name my sounds anyway
This is just a suggestion, could you guys add an action to set the volume for all sounds/musics? I need this to make a volume slider and setting the volume of each sound can create a big mess. Thx
That's fine, it's not anything important. Thx
The keyboard plugin doesn't detect the PrintScreen key. I wanted to detect it so it would hide the debug information when I took a screenshot
Member since 15 Dec, 2010