sideways scroller random height floor and ceiling
Neil T
Member Posts: 25
Hi
I wonder if anyone could help here - I've a sideways scroller and on a later level need to create a level with the floor and ceiling randomly changing height as the player progresses through the level and which the player avoids, just can't work out how to do this. Any ideas?
thanks
I wonder if anyone could help here - I've a sideways scroller and on a later level need to create a level with the floor and ceiling randomly changing height as the player progresses through the level and which the player avoids, just can't work out how to do this. Any ideas?
thanks
Comments
When on later levels:
Timer: Every 5 seconds
Change self.attribute.positionY to random(50, 100)
(50 and 100 are just examples - you put in the number range of the Y position you want)
Hope that helps!
QS =D
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io