Drift Sim 9 - edit best time
by b9e
Description
Very good idea and design, thanks @surlo_gamez !
Instructions
EDIT BEST TIME Sometimes the cloud variable system is down in Scratch, in this case use TurboWarp: https://turbowarp.org/1020391403 (Don't forget to change username!) Some improvements: + Pause Race, step back in time, continue + Pause Replay, edit, continue + Copy race to replay + Copy, edit and paste records + Replay World Record (info below) + Replay my best + Ghost car: last replay + New map: Paris, roundabout, 9 laps drifting + Drifting score decreases time! + More precise checking of checkpoints + Start direction (ex. in Tokyo) + Smoke and tyre mark improvements + Less rebound off the rail (not a bumper car) + Lap display + Smoother display + Keyboard in menu: press space or enter key to race + Select car with left - right keys + Cars settings + Next song tape cassette handling sounds + Pause / play music Replay WR drift: It's easy, store position and direction for all frame! The limitation of the cloud variable is 256 max. length only digits. A drift takes around 50 seconds, it contains 50x30=1500 frames. Each frame contains x y and direction data, at least 3+3+3=9 digits, so a whole drift requires 1500x9=13500 digits... It's a bit greater than 256. But, it is enough to store the pressed buttons for each frame. For the pressed keys you can use only one digit. There are 4 keys with 2x2x2x2=16 possible cases but you can't press left and right arrow in the same time (it means +1-1=0), so the cases are reduced to 9, only one digit. See the "possible inputs" list in the "player collider" sprite. So 1500 frames, 1500 digits, but that's still too much. It contains a lot of repetition. You don't have to change the pressed keys too often during the game. You can store only the duration (frames) of the pressed keys: one digit for the buttons and two digits for the duration. "208" means 2=gas and 08=8 frames duration. The longest record contains 523 digits, so it requires two cloud variables. We have 10 cloud variables, the project uses 9: one for the high scores and 8 for the WR drifts of 4 maps. Copy, edit and paste record: 208 = gas for 8 times. The time is always 2 digits. Keys: 1=brake 2=gas 3=brake+left 4=left 5=gas+left 6=brake+right 7=right 8=gas+right 9=nothing. Oh I think I started a contest to create the perfect race... A record is short enough to fit in a comment. One more thing: Scratch doesn't like multiple cloud variables changing at the same time, you have to wait a little time between them, according to the description 0.1 seconds. Update: cloud variables are currently out of order... #drift #sim #replay #drifts #game #games #drifting #car #race
Project Details
- Visibility
- Visible
- Comments
- Enabled
- Remixed From
- Project #877754742
- Original Project
- Project #877754742
More Cool Projects
Beat up TG2 v.1.7
by guest62921channel
Black Hole Add Round 1
by Kenp319
Poyo.
by K1Mn1
Talking Simon and Durple News Remastered
by PixarFoxTUBA2024
THE INTERMINABLE ROOMS ENTITY SPAWNER v3.0.6 remix
by kirbycool12343
[there i am] ᴍᴇᴍᴇ! remix sprnuki
by nekowowo
3Dマイクラ
by kotu_maru
Coptic Alphabet Song IT'S BREAKING CAST OUT remix remix remix-2 remix-2
by KeiserKreates
(FIXED) Beat up Gus remix remix
by matheusmaccamargo
Paper Minecraft 1.21.4 remix
by khramskid
Klasky Error Template 3 Remastered
by otaner2023
Scratch Tales Season 7 Episode 7: Camping
by MasterZenoUltimate
MMO 3D cloud☁ Games
by hamster46
Falling Letters!
by cinnychocs
Senpai - FNF (Test)
by NathanMiniGames
.
by Just_ng
Beat Up Tennis Ball ULTRA (A Whole Lot Of Peeps)
by kittycatgaming657
Clicker Order Food Game
by 2021ALDAY
Angry birds classic By Areg
by areg0
✦ NyantyuGO
by -Grebe-
The MouseHeadz + 11 MouseHeadz YES LOL + Talking Tom & Friends (fixed) remix copyedremix3
by scratch_master2015
DUSTTRUST PHASE1
by aiuexedx
beat up Test Tube remix
by GeneralBadNewz
Joldy's Fun Educated School v3.5 OLD
by Endude_Benenethan