G
GARLIC BREAD!
Guest
I got this little piece of code in my game and when it "activates" it freezes my game
heres the code
dash_right_now = false//dashing as we speak
if (keyboard_check_pressed(ord("X"))) {
if (!place_meeting(x,y,obj_solid)) {
dash_right_now = true
while (dash_right_now = true){
vspeed = 50
if (place_meeting(x,y,obj_solid)) {
dash_right_now = false
}
}
}
}
heres the code
dash_right_now = false//dashing as we speak
if (keyboard_check_pressed(ord("X"))) {
if (!place_meeting(x,y,obj_solid)) {
dash_right_now = true
while (dash_right_now = true){
vspeed = 50
if (place_meeting(x,y,obj_solid)) {
dash_right_now = false
}
}
}
}