B
BigCat
Guest
Building a game with flappy bird style physics. IE: Each spacebar press causes a single flap. If the left key is held when a flap occurs, the instance adds momentum at a 135 degree angle. Or, if holding the right key - a single flap adds momentum at a 45 degree angle. With gravity turned on - this should create a look/feel of the instance flying left and/or right, or possibly hovering if it's simply flapping without a direction key selected. This game also uses screen wrap.
Everything seems to work fine - until room physics are turned on. With physics turned on - suddenly the room wrap doesn't function, nor does "motion_add". If I turn off room physics - the room wrap works properly, and motion_add behaves as expected - but without the effects of gravity obviously.
I'm really confused by this. Do I need to turn off room physics and "fake" gravity with each individual object/character?
Everything seems to work fine - until room physics are turned on. With physics turned on - suddenly the room wrap doesn't function, nor does "motion_add". If I turn off room physics - the room wrap works properly, and motion_add behaves as expected - but without the effects of gravity obviously.
I'm really confused by this. Do I need to turn off room physics and "fake" gravity with each individual object/character?
Last edited by a moderator: