Forever Cart - Procedurally Generated Cart-Ride

You have probably seen how repetitive cart ride games are and each cart-ride game isn’t really re-playable (i.e. once you completed the cart ride, you have basically have seen everything). You have probably also noticed how, in most of the cart ride games, there are usually players messing around with people trying to get to the end like spamming the “up” button of someone else’s cart to make that player’s cart go way too fast or purposely stay on the track to potentially have players fall off of the track.

Since I feel like there could be more potential, I spent a few hours creating Forever Cart, which is a cart ride where each track is procedurally generated, and each server has a unique track you could ride on. This place is also designed specifically to prevent cart abuse, by making it where only players that are already in the cart can change the cart controls and using collision groups to prevent players from interfering with each other.

There is still more work that is still be done, and I plan on adding more stuff to make the game more fun and interesting (like in-game currency, a snack bar, game passes, and so on), but that is only a concern for my future self to worry about.

You can try out the game (currently in Alpha) below. It might initially feel like a stereotypical cart ride but that will change with future updates. If you have any suggestions on how to improve or make the game more fun, don’t be afraid to leave a reply below. Other than that, have fun!


– List of Updates –

May 3rd, 2021:

  1. Speed displays on carts
  2. A new track would appear every 10 minutes
  3. Added meme board at the end of the track
  4. Added a trampoline to the end

May 4th, 2021:

  1. Modified the map and pieces (replaced trampoline with teleporter back to spawn and made each of the pieces fit within a square grid)
  2. Replaced trampoline with teleporter back to start
  3. Added “Cash” - the in-game currency - in the game, with players being able to get it by completing the track.

May 5th, 2021:

  1. Fixed the issue of some tracks having sections that can’t be passed through by cart (like the track intersecting itself or some pieces get too close to each other).
  2. Minor color changes
  3. Changing the code to make it more maintainable and modular

May 7th, 2021:

  1. Made the code more modular and easier to maintain.

May 8th, 2021:

  1. Made it where the track won’t go over the spawn area unless if it is high enough
  2. Changed the font
  3. Modified the colors slightly

June 1st, 2021:

  1. Worked on fixing an issue regarding the cart regen button. Should be fixed now (hopefully)
  2. Added bubble chat - a needed feature.
11 Likes

Update
I was up till 2:00 AM to add a few new features:

1. Each cart has a speed display, so you know how fast your cart is going (default speed is 21).

2. Every 10 minutes, a new track will be made to replace the one that exists in the map. This is to keep things in a given server interesting. (10 minute is more than enough time to get to the end)

3. Added a meme board at the end of the track, which shows a randomly-selected meme. More will be added in later updates

1 Like

Short Update
I made a few changes to the game near around 3:00 AM last night to help fix a few things:

1. I made it where you could go faster without falling off of the cart. I might make more changes to this later on depending on how people want to ride the carts

2. I added a trampoline to the end to add more stuff you could do in the finish. I tried to not add too many stuff as the track changes every 10 minutes.

1 Like

It’s a cool creation but the title and the way you are presenting it is a bit misleading. I thought the tracks would procedurally generate as you go along the track, allowing the track to go on forever, hence the name “Forever” Cart.

I was working on a similar project where an obby would procedurally generate as you went along forever. Though that seemed pretty complex to do in a way that seemed like a real, interesting obby.

1 Like

3 Likes

works as promised so yeah

2 Likes

Another Update (5/5/2021)

It’s been a few days since I last made a significant update to this game so here are a few things I have changed so far:

  1. There used to be an issue where the track intersects with itself, making it impossible to complete the rest of the track by cart. I changed the track generator to instead create the track using a slightly modified version of a self-avoiding walk and changed the pieces so they occupy a square grid. It took me much of yesterday and a bit of today to get it working properly, and now the problem should be gone for good.

  2. I added a teleporter to the end and I am currently making it where you could get cash for riding the same track multiple times, but so far it is not working as intended.

2 Likes

Finally the tracks works, the game works as promised as you said in the new update!

1 Like

I know this is pretty late to the topic, but as a developer moving from unity, I was looking into procedural generation and was wondering if you’d ever be able to open source the generation of the tracks, or give me some guidance on a procedurally generated model - type track.
Thanks! :smile: