Hey everyone ! Im totally Desperate right now. I'm trying to make a surfing mini game in my project and i kinda have an issue. So the thing is that the minigame works as an autorunning obstacle course where your character moves automatically to the right and the player can either go UP or down. And whenever the player reaches the end of the course it should stop the autorunning cycle.
And here is the catch.
Whenever i finish the race, my character does stop auto Moving but my regular walk isnt possible it is stuck with the only vertical mouvement of the mini-game.
I cant take pictures cause they are to heavy for the servers to handle so ill write the event myself.
So the first one needs no details it just teleports you to the mini-game.
The event on the mini-game map is as followed :
- 2 pages
1 page : condition : surf mini-game ( its activated by the event that teleports the player)
trigger : autorun
-set mouvement route : player (wait)
: speed 5
: frequency 5
Control Switch surf mini-game go : on
2 page : conditions : surf mini-game
Surf mini-game go
Trigger : parallel
-set movement route : player (repeat)
: move right
And that is for this event.
Then there is the common event. And here Comes the problems.
Mini-game surf : trigger : parallel Switch : mini-game go
-if : button [ down ] is pressed
Set movement route : player move down
-if : button [ UP ] is pressed
Set movement route : player move UP
- control variable : character X = Map X of player
- control variable : character Y = Map Y of player
-if Character X = 4
If character Y = 8
Play sound effect
Shake screen
Transfer player at the start of the course.
I have multiple of those coordinates conditional branch for each and every obstacle. I also have one where the character jumps on a ramp but thats not relevant.
And then AT the bottom of the list is this
- if character X = ( position of the finish Line)
Transfer player : podium
Control Switch : surf end = on
And then AT the podium Map i will have an event on autorun that will turn off both the
Surf mini-game and surf mini-game go switches.
And as the common event IS running if the event thats now turned off. How IS it that it is still in action ? Because i Can still only move my character by going up or down just liké in the mini-game despite this event being off.
Please help me i can't seem to find a solution. Ive tried changing the parallels to autorun and vice-versa but nothing changes.
I really want this mini-game in my game just for people to have a fun little break from the main game and also cause its supposed to have a better purpose. Like giving rewards to the player as in the likes of skins for their character or skins for the creatures they use on their team ( yes the game is a Monster catching and training game)
So its not like i Can scrap that Idea.
Thanks to anyone who would help me.
Have a nice day or evening or night or whatever period of the day.
Sorry for some or thé spelling il french and so is my phone's keyboard and he's not used to english yet.
And here is the catch.
Whenever i finish the race, my character does stop auto Moving but my regular walk isnt possible it is stuck with the only vertical mouvement of the mini-game.
I cant take pictures cause they are to heavy for the servers to handle so ill write the event myself.
So the first one needs no details it just teleports you to the mini-game.
The event on the mini-game map is as followed :
- 2 pages
1 page : condition : surf mini-game ( its activated by the event that teleports the player)
trigger : autorun
-set mouvement route : player (wait)
: speed 5
: frequency 5
Control Switch surf mini-game go : on
2 page : conditions : surf mini-game
Surf mini-game go
Trigger : parallel
-set movement route : player (repeat)
: move right
And that is for this event.
Then there is the common event. And here Comes the problems.
Mini-game surf : trigger : parallel Switch : mini-game go
-if : button [ down ] is pressed
Set movement route : player move down
-if : button [ UP ] is pressed
Set movement route : player move UP
- control variable : character X = Map X of player
- control variable : character Y = Map Y of player
-if Character X = 4
If character Y = 8
Play sound effect
Shake screen
Transfer player at the start of the course.
I have multiple of those coordinates conditional branch for each and every obstacle. I also have one where the character jumps on a ramp but thats not relevant.
And then AT the bottom of the list is this
- if character X = ( position of the finish Line)
Transfer player : podium
Control Switch : surf end = on
And then AT the podium Map i will have an event on autorun that will turn off both the
Surf mini-game and surf mini-game go switches.
And as the common event IS running if the event thats now turned off. How IS it that it is still in action ? Because i Can still only move my character by going up or down just liké in the mini-game despite this event being off.
Please help me i can't seem to find a solution. Ive tried changing the parallels to autorun and vice-versa but nothing changes.
I really want this mini-game in my game just for people to have a fun little break from the main game and also cause its supposed to have a better purpose. Like giving rewards to the player as in the likes of skins for their character or skins for the creatures they use on their team ( yes the game is a Monster catching and training game)
So its not like i Can scrap that Idea.
Thanks to anyone who would help me.
Have a nice day or evening or night or whatever period of the day.
Sorry for some or thé spelling il french and so is my phone's keyboard and he's not used to english yet.