I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: Junior Nintendista on February 17, 2016, 05:41:22 PM

Title: Nikaple Engine 1.43 and its severity objects.
Post by: Junior Nintendista on February 17, 2016, 05:41:22 PM
how can I do gravity of objects with the player without the screen rotate and without reversing the keys?
Title: Re: Nikaple Engine 1.43 and its severity objects.
Post by: 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
Title: Re: Nikaple Engine 1.43 and its severity objects.
Post by: Junior Nintendista on February 18, 2016, 06:48:48 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
it did not work.