Game not working

My game is not working. basicly your supposed to click easy medium hard or impossible but it sets it at impossible no matter what I do and I cant find the error I spent two weeks just trying to find it pls help.

1 Like

What’s the error also how do you play?

1 Like

Select the options you want and race by spamming A.
The error is when you select the difficulty it stays at the same option no matter what you pick. No error message.

1 Like

I think I have it, @RobbyZero .

Take a look at your on game update every 30 ms block and, specifically, the if bikePoint blocks. Notice they’re only nested within the if raceActive = 1 container … which means it will always run if the race is going on. The same is true with the rest of your on game update every X ms blocks.

I don’t think those blocks are where they belong. It seems those need to be nested within the appropriate if bikeSpeed = X container. So, for the 10 ms update container, those blocks probably go within the if bikeSpeed = 2 branch; for the 30 ms container, the if bikeSpeed = 1. I might be misinterpreting your speeds; if so, I hope you can at least understand my intention.

Give that a try and see if the timing works more correctly.

Keep us posted!

3 Likes

No that isn’t the problem and it doesn’t change anything. I already tried this previously and it didn’t work.

2 Likes

Oh, you’re going to actually make me work for this! :laughing:

Lemme try to dig deeper. Stand by…

2 Likes

OK; got it. You’re right, and I was misinterpreting what the on game update containers were doing.

Those if bikePoint blocks go inside the if opLevel = X branch instead. Take a look; you can see those if bikePoint blocks are still at the bottom, but they’re moved inside a couple of levels.

See if that gets you closer.

1 Like

In case you want to see the code yourself:

Really good looking game, @RobbyZero !

2 Likes

Thank you so much. It’s working perfectly now!

2 Likes

Welp game completely broke cant undo and now I have very little to come back from.

1 Like

You have the version above that you can still use…?

2 Likes

Yeah that’s what I used I have a pending post in the game jam topic with the complete version

2 Likes