hi so in my game when the user clicks any of the stages the "ready" button will pop up and when the user clicks on the ready button theyll be taken to frame 2 if they have enough points of course. i tried this and it only works for the first stage, can someone help me make it where each stage can do it? thanks!
help with jumping to next frame
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
Well..... I can click on area 1.... it highlights.... and I can move left/right to show more.
However I cannot get it to jump to the second frame and it does not show the word "Ready".I think tbh your making it hard for yourself.
All you really need to do is to have a score counter.... then IF that score counter is = say, 2000, just show the boxes. And then let the user pick one and jump to it.
Sure your gonna use a few more lines to do it, but really it would be far better and a lot easyer.Here is a commented .mfa for you to look at.
Please login to see this attachment.
-
i know i could do it the easier way but i kinda wanna learn how to maybe for future games. and personally i think itll be cool just in case the player accidentally clicks the wrong stage they wanna go to and not have to exit out the game and go back, ya know?
-
Thats ok m8... np. As for just click and jump to frame...you would ofc give them a GO button...so they could change their minds... but np. I totally understand
-
the go button is kinda what i meant. like on the bottom when the player clicks on stage 1 the ready button pops up and when they click it they'll be taken to that specific stage. but thanks for the help.
-
I'm a bit confused about what you're asking - so if this answer isn't what you're looking for, just let me know and I'll try again.
Create a global value "Level Control". Then take the player to the frame that is associated with the Level Control that they've reached.
If you have start-up frames, say a logo and an introduction then they would go to Frame "Level Control" + 2 (to take them past the 2 start-up frames) When they've successfully passed a level, add 1 to level control.
When they've reached the required score for the level - add 1 to level control. If you want them to continue after closing the game you'd have to save the Level Control value in an array or ini file - but while they're in the game, because it's a global value, the value will be remembered.
At the start of the frame set the global value equal to the level number for that frame for example at the start of Frame 1 set the Level Control to 1. If the player passes a stage then you add one to Level Control. When the player presses Ready then jump to frame - use a calculation - and go to frame Level Control + 1 (so the next frame).
-
ok ill try that
-
Okay - well I read your original post before you edited it - so to modify my answer to it:
On every object (that they'll click) set an alterable value for the score they must reach and for the frame they must go to.
When the player clicks on the object - set two global values - the one picking up the score and the one picking up the level number from the alterable values and then create your ready button.
Now when they click on ready - test the score against the global value set for the score and if it's correct then jump to the frame that is set in the global value for the level.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!