ok so in the game in making it trying to make the button q change gravity and change it back so I'm able to just change between with 1 button
this is my game file its called Robert rogers it's not much but this would help a lot
mega.nz
if it asks for decryption key it's this
!Qp0e8vgh_VG4K0CF19Nc7H4NzG2QWsWx82XnuIbUDPI
event: on touched/on clicked
action: change gravity
action: wait (for how many seconds you like)
action: change back the gravity
you can try this:
create a function that changes gravity, this function takes 1 parameter
if param(0) is 1 then change gravity
if param(0) is 2 then revert gravity to normal
call this function on button q
I think Daggio is closer to what you look if I understood correctly the problem. Here is a screenshot of what you could do :
Hope that's what you're looking for!
Develop games in your browser. Powerful, performant & highly capable.
i will take a look into this thank you for the insight ill let you guys know how it works out
Just tried them out and I have to thank you guys so fking much You guys saved my life thank you so much, not only did I learn that you can choose a variable within sprite from the system. cant say thanks enough xD
Glad it helped JonnyBrove! Keep it up!