R
Ruqer
Guest
Hey! I have a problem with angle which should change gravity and angle - you know that spinning type of games where block falls down when for example we put room upside down.
The problem is that it works perfectly for windows but it didnt in HTML5(im testing here virtual buttons) but the room doesnt want to change his angle. Player gravity is changing i guess but room stay at his place(in windows whole room is chaning angle-spinning- with gravity.).
Do you know how to make room spinning at html5 and android? Or other way to solve my problem(you guys are smarter, so maybe you have other ideas )
I use this for changing gravity and angle(basically thats full code xD +view_angle[0] +=3.5
gravity_direction -=3.5
This in create in player object.gravity = 0.6;
gravity_direction = 270;
The problem is that it works perfectly for windows but it didnt in HTML5(im testing here virtual buttons) but the room doesnt want to change his angle. Player gravity is changing i guess but room stay at his place(in windows whole room is chaning angle-spinning- with gravity.).
Do you know how to make room spinning at html5 and android? Or other way to solve my problem(you guys are smarter, so maybe you have other ideas )