i am making a game like kitten cannon and was wondering how i can make random trampolines on the ground
i am making a game like kitten cannon and was wondering how i can make random trampolines on the ground
You would have to know how to make things spawn (dunno if that's the actual term used) first...
And then I think you would use this.
thanks but the random code doesn't work in this situiation
I don't know much about coding so go root around in AS: MAIN there are also tutorials on these sites; Kirupa Actionscript.org.
This sig is 100% effective protection from all hexes, curses, evil spirits and bad karma. Guaranteed.
I'm sure the random spawn does work in this case. Really, i think all you have to do is set the stuff to spawn randomly on a certain plane and say if it is behind the screen delete all the trampoline duplicates before that so that the game doesn't lag in record timing. :P Although, this is really what i think would work, i don't know a solid method for accomplishing what you want.