Hello there! I’m back with a game! This time the genre is… Racing! And I came up with a dirt bike racing game! In this game you:
- Race
- Buy upgrades (currently not available)
- Freestyle jumping
- Have fun!
How to play:
In the racing version, there are 2 current levels. You basically race a dirt bike through the track and unfortunately, you have to restart the game to get back to the other activities (there is no way out of racing)
In the jumping version, drive up the ramp (I need help with hill physics on that plz come and help me) and hold/spam Left or Right to spin in that direction. B to escape that level.
That’s all for now !
Future updates
- Hill physics, ramp physics
- More levels
- Winning and first place-last place system
- Upgrades
- More bikes
- Ability to do stunts when jumping
Here is the link and tell me what you think:
Dirt bike racing
4 Likes
Firstly, I recommend you work some more on your assets, specifically the hill tiles. They need to be more uniform so that they actually resemble hills when put together. You need to have a good asset list to work with so you know what you’re doing when you start trying to code more advanced interactions between the bikes and the hill tiles. To start, I suggest making a tile for a hill slope of 1x (like rise over run, just up 1 over 1) and one for 1/2x (up 1 over 2, or for a single tile this would be up 1/2, over 1), and make sure the tiles work together on diagonals to make convincing hills!
2 Likes
I focused mainly on the bike AI, as it took me hours to make it do the jumping properly. Thanks for the feedback, I’ll work on that later.
1 Like
Can someone help me with hill physics? @anyone???
1 Like
Hey, here’s a hills demo I made, It’s still got a couple weird bugs in very specific cases I haven’t been able to fix yet, but hopefully it’s something thing you can go off of. The y position is automatically calculated based on the slope of the hill tile, so the positioning is basically built off of the x position of the sprite, which should make it fairly easy to implement the bots. Hope this helps!
1 Like
Thanks for this! Could you put this into the game?
How does a collab work? If I click edit code, doesn’t it just make a copy for me?
1 Like
You could edit the code, put in the code only, then I can re-decorate it to make it like the original game. Thanks for helping!