Would using global variables and setting the speed and decelleration based on that work for you?
I fixed it, thanks anyways
I want to change max speed and deceleration throughout all layouts
You mean "System go to layout"?
No?
I know the restart layout command but how do you do a specific layout?
My game is a top down game where you go through randomized layouts... but sometimes it can go to the same layout and the layout is empty because the player defeated all the monster.... is there a way to make it if you play through again it has the first state layout?
Try using the lerp feature if you want to make a follower? I am not certain this will work, but it might work...
Uncaught TypeError: Cannot read propert 'current_event' of undefined http://localhost:50000/preview.js, line 4778 (col 50)
I was having a variable that when it hits that variable it goes to a different layout then goes to the layout then set the variable to 0 to stop looping....
Is there a way I could export it as a file where you do not need construct 2 to run?
phantomunboxing Your problem is this line: CloneTrooperHealth=0 -> System Go to go to level and the other lines where you compare if the enemy has health zero. The Variable you set to 0 at the end of the fight is still zero if you switch back to your level-menu and the event sheet is one big loop. So every time it compares the health variable and it is set to zero it switches immediately back to you level menu. So the click in the menu works but it switches so fast back to the menu you doesn't see anything of the other layout. You have either set the health to another value then zero after beaten the enemy or have a variable set when a level is beaten and compare against this variable.
phantomunboxing
Your problem is this line:
CloneTrooperHealth=0 -> System Go to go to level
and the other lines where you compare if the enemy has health zero.
The Variable you set to 0 at the end of the fight is still zero if you switch back to your level-menu and the event sheet is one big loop. So every time it compares the health variable and it is set to zero it switches immediately back to you level menu. So the click in the menu works but it switches so fast back to the menu you doesn't see anything of the other layout. You have either set the health to another value then zero after beaten the enemy or have a variable set when a level is beaten and compare against this variable.
THANK YOU SO MUCH <3
Trying to help from a video is difficult. Is it at all possible for you to just create a simple .capx that shows the problem?
Trying to help from a video is difficult.
Is it at all possible for you to just create a simple .capx that shows the problem?
Here is a link to it https://www.mediafire.com/?t9wa6wl7w6gjsef
My end goal is for when the global variable for the health of the enemy is to set to 0, the position of the buttons come on screen
phantomunboxing A really wild guess, have you linked the layout with the two not working button to your event sheet?
A really wild guess, have you linked the layout with the two not working button to your event sheet?
I have linked them.
Develop games in your browser. Powerful, performant & highly capable.
phantomunboxing There is no need to bump your own thread after less than an hour. You need to give users from differing time zones enough time to respond if they are able.
There is no need to bump your own thread after less than an hour.
You need to give users from differing time zones enough time to respond if they are able.
Sorry I am just really scared cuz I have a really soon deadline
anyone... this game is due on monday
Here is a link to the glitch in action https://youtu.be/F69Vr-ZBDrc If you have any questions about code just comment....
you are using 8 direction behaviour, which rotates the sprite.. turn of rotate in the behaviour settings.. Using the platform behaviour for this movement would even be easier..
you are using 8 direction behaviour, which rotates the sprite..
turn of rotate in the behaviour settings..
Using the platform behaviour for this movement would even be easier..
Thank You So MUCH!! This game is due in a week so... xD