Fangames > Programming Questions
Nikaple Engine 1.43 and its severity objects.
(1/1)
Junior Nintendista:
how can I do gravity of objects with the player without the screen rotate and without reversing the keys?
Realtime911:
In objGravDown : Delete alarm 0 and 1. Change the collision with player into
if(global.reverse){
with(player){
playerReverse();
}}
In objGravUp : Same, delete alarm 0 and 1. Change the collision with player into
if(!global.reverse){
with(player){
playerReverse();
}}
In Sciprt playerMove : change the line 11 and 12 (or if you changed it, the yflag = -1)
yflag = -1;
L = keyboard_check_direct(global.leftbutton);
R = keyboard_check_direct(global.rightbutton);
There, idk if you already find it or not
Junior Nintendista:
--- Quote from: Realtime911 on February 18, 2016, 05:47:12 PM ---In objGravDown : Delete alarm 0 and 1. Change the collision with player into
if(global.reverse){
with(player){
playerReverse();
}}
In objGravUp : Same, delete alarm 0 and 1. Change the collision with player into
if(!global.reverse){
with(player){
playerReverse();
}}
In Sciprt playerMove : change the line 11 and 12 (or if you changed it, the yflag = -1)
yflag = -1;
L = keyboard_check_direct(global.leftbutton);
R = keyboard_check_direct(global.rightbutton);
There, idk if you already find it or not
--- End quote ---
it did not work.
Navigation
[0] Message Index
Go to full version