I'm working on a 2D platformer and I need to make an endless level that randomizes as the player progresses.
If that isn't possible it could just be any random generation at all, any advice helps.
Thanks!
I'm working on a 2D platformer and I need to make an endless level that randomizes as the player progresses.
If that isn't possible it could just be any random generation at all, any advice helps.
Thanks!
You can set the frame virtual width/virtual height to -1 and it will make that dimension infinite at runtime so you can scroll wherever you want in positive coordinates.
Working as fast as I can on Fusion 3
How does that help with the random platform creation though?
Have a platform object and set it to spawn every x amount of time at a random y coordinate off screen and set it's x scale to a random size?
Also if you do a search for 'random level' i'm sure there's plenty on this on the forum.
hey, i think this tutorial/example will help with what you want to do - http://gamedev.tutsplus.com/tutorial...-from-scratch/
How do I make select a random Y coordinate?
Any that example was great, but whenever I place it in my application and change the images it makes the character move really slow.
Set whatever the object's Y position is to Random(Frame Height).
I believe, if that's what you mean, it should work.