Drag Tune - my project for the past few months!

I’ve been programming a drag-racing game on Scratch! It’s not yet finished (it isn’t live on the website yet), but I thought I’d share some screenshots.

There are 10 cars in the game:

  • Mazda MX-5
  • Subaru WRX STi
  • BMW M2
  • Audi TT RS
  • Dodge Challenger SRT Hellcat
  • Windows, erm, Nissan GT-R R35
  • Porsche 911 Turbo S
  • Lamborghini Huracan
  • McLaren P1
  • Koenigsegg One:1

I am accepting suggestions for adding cars. I’m hoping to add a couple of older cars (like a Supra, R34, E30, that kind of thing), plus some crazier ones (F12tdf, Regera, Caparo T1 and a V10 Formula One car are on the list). I’ll release the game with the 10 cars, then update it with more as I go.

So, some screenshots (things may change between now and going live):

There are also car sounds - the sound generator produces them based on the pitch (I got that from listening to the cars in real life) and the cylinder count. I will NOT add rotary cars because there is no way to get a BRAAAAP sound into my sound engine.

You can save and import tuning data - each tune is made up of a string of 54 numbers. This bit still needs quite a bit of work - sometimes it glitches.

There are also cheat codes - they can give you ridiculous grip/power/downforce, indestructible components, half weight or no drag. There’s also a code that converts all engine sounds into Formula One sounds (OK, all it does is makes them sound higher and louder).

I hope to release this properly in a few weeks! I’ll provide a link to the finished game!

EDIT: One more thing I’ll add - the game has delta-time. Basically, if the FPS drops, the game will still appear to run at the same speed - more stuff happens per frame. You’d only see lag if it drops below 10FPS. Game speed is capped at 100 FPS - my i5-powered laptop (about 4 years old) does 60 no problem. No idea how quickly a GT-R runs this game…

Sponsored Posts

Comments

Jules Martin

this is the most complex scratch game ive seen
make sure to tag me on a post when it is live

01/12/2017 - 21:44 |
5 | 0
Sniff Petrol

Jesus all of this on scratch? The best game I’ve ever made on that thing was a broken pac man clone 😂

01/12/2017 - 22:25 |
0 | 0
[Flux]

YO THIS IS SICK

Tag me when it’s done!

01/12/2017 - 22:26 |
0 | 0
Sniff Petrol

True that, what you’re doing though is a bit like trying to turn a food blender into a spaceship and it’s awesome. Best of luck with the next part of the project

01/12/2017 - 22:30 |
1 | 0
Foolishness (TOYOTA 86 FANBOY)

Wow. What does the code page look like? Also can you please tag me when it’s done?

01/12/2017 - 22:37 |
0 | 0
Drift240

It looks very comedic in a good way

01/12/2017 - 23:19 |
0 | 0
Anonymous

Add a 2004 mustang gt!!!

01/13/2017 - 01:04 |
0 | 0
King Kaw

Tag me when it goes live PLZ

01/13/2017 - 04:50 |
0 | 0

Subscribe to our Newsletter

Get the latest car news, reviews and unmissable promotions from the team direct to your inbox