just wondering if someone could help me on how to spawn top and bottom objects that the player has to slide under or jump over. similar to "LINE RUNNER" they are set to bullet motion at 180 from right to left..
This is one way I have done it. I create 3 spawn boxes (just colored square sprites) off screen to the right. This sample shows you how to have it spawn with a measure of randomness. Note that I create another sprite off screen to the left called "destroy_flames" that destroys the sprites off screen on collision.
Enjoy.
Develop games in your browser. Powerful, performant & highly capable.
AWESOME GREAT HELP "THEDOM"
anyone else have a different way i can do this
SIMILAR TO THIS?
There are many ways to accomplish this. You could also use
System > Create Object
and define specific X and Y coordinates and/or using random to define a range of Y coordinates randomly instead of using choose as in the above examples.