Discuss Scratch

Pikkewaan
Scratcher
47 posts

Badly Drawn Racers 2?

Yeah!!!



░█████╗░░█████╗░░█████╗░██╗░░░░░██╗██╗
██╔══██╗██╔══██╗██╔══██╗██║░░░░░██║██║
██║░░╚═╝██║░░██║██║░░██║██║░░░░░██║██║
██║░░██╗██║░░██║██║░░██║██║░░░░░╚═╝╚═╝
╚█████╔╝╚█████╔╝╚█████╔╝███████╗██╗██╗
░╚════╝░░╚════╝░░╚════╝░╚══════╝╚═╝╚═╝
RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

Latest Video update…

Sound, particles, AI, Lap time and Lap number… Quite a few updates here, each of the cars now knows it's lap time and what lap it's on. This sounds obvious but pretty handy for a racing game. Next up is to keep track of grid position. Record all the lap times for each car for each lap, and make the commentary understand all this data and let you know what's going on, who's fastest, what position you're in etc. Anyway… More stuff to come soon!
LionCoder10
Scratcher
500+ posts

Badly Drawn Racers 2?

Wow! This looks so great! I really think it’s coming along well!

Last edited by LionCoder10 (March 15, 2024 23:13:17)


I MAY BE WRONG IN THE FORUMS!
Highlight this signature, then hold Shift+Down to see the rest of my signature!

ABOUT ME
MY BEST PROJECTS!

POST MILESTONES: 1st, 5th, 10th, 25th, 50th, 100th, 250th!

Thanks for reading all of my signature :) Comment “curiosity” on my profile if you did
151766cc
Scratcher
6 posts

Badly Drawn Racers 2?

I hear you saying that the frame rate is low. Maby run it in turbowarp! in turbowarp go on the top left press adbanced, warp timer and interpolation.
RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

151766cc wrote:

I hear you saying that the frame rate is low. Maby run it in turbowarp! in turbowarp go on the top left press adbanced, warp timer and interpolation.
No the frame rate was low on the original screen recorder. The game itself runs absolutely fine.
RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

LionCoder10 wrote:

Wow! This looks so great! I really think it’s coming along well!
Thanks, I'm going to need to redo the mini map, it's pretty much useless as it stands, so going to make it bigger and scroll and rotate like the main track itself so you'll see a few corners ahead, I think that would probably be more useful
Firemalaya
Scratcher
1 post

Badly Drawn Racers 2?

Make the car customizable and add bodykits,colour and upgrades and add new cars like tuner,muscle and exotics and add new locations and I will make the game poster.And iam trying to make concept model.

Last edited by Firemalaya (March 21, 2024 16:18:11)

RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

Firemalaya wrote:

Make the car customizable and add bodykits,colour and upgrades and add new cars like tuner,muscle and exotics and add new locations and I will make the game poster.And iam trying to make concept model.
I'm not going to do down that path, but I'm hoping there to be an element of tuning, speed vs traction for example. The whole game is getting quite big now and it's definately going to need to be played on turbowarp on the majority of machines. I've been aiming to have it run on my phone without turbowarp, but, it's a horrible slideshow on my phone now. It's fine with only 4 cars, the more you add the slower it gets! I've added optimisation so that collisions don't happen when you can't see the cars and particles don't spawn when you can't see them, but this really hasn't made the impact I was hoping for.

Here's the current state of the car sprite, bear in mind, this sprite is just the one for handling the cars, nothing to do with sound, backgrounds, foregrounds, etc. There's quite a lot going on!

Actually… having stitched this image together, I think I can make some optimisation in the getRouteId block… Going to try that now!


Last edited by RobFarley74 (March 21, 2024 20:40:50)

Pikkewaan
Scratcher
47 posts

Badly Drawn Racers 2?

Firemalaya wrote:

Make the car customizable and add bodykits,colour and upgrades and add new cars like tuner,muscle and exotics and add new locations and I will make the game poster.And iam trying to make concept model.
Uh, this isn't that kinda game…



░█████╗░░█████╗░░█████╗░██╗░░░░░██╗██╗
██╔══██╗██╔══██╗██╔══██╗██║░░░░░██║██║
██║░░╚═╝██║░░██║██║░░██║██║░░░░░██║██║
██║░░██╗██║░░██║██║░░██║██║░░░░░╚═╝╚═╝
╚█████╔╝╚█████╔╝╚█████╔╝███████╗██╗██╗
░╚════╝░░╚════╝░░╚════╝░╚══════╝╚═╝╚═╝
RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

So I made a few optimisations last night that have really improved performance and the game is now (mostly) smooth on my phone again. Trying to work out the best method of working out position in the race, it's a surprisingly difficult thing to do!

I'm feeling decidedly less optimistic that I'm going to get this finished before I disappear on vacation. But we'll see if I get a few hours on this over the weekend and where that leads!

It's also been nearly a week since I've put out a video and there's been some nice cosmetic changes which are probably worth sharing, more scenery, hud etc. I'll put something us shortly.
Pikkewaan
Scratcher
47 posts

Badly Drawn Racers 2?

RobFarley74 wrote:

So I made a few optimisations last night that have really improved performance and the game is now (mostly) smooth on my phone again. Trying to work out the best method of working out position in the race, it's a surprisingly difficult thing to do!

I'm feeling decidedly less optimistic that I'm going to get this finished before I disappear on vacation. But we'll see if I get a few hours on this over the weekend and where that leads!

It's also been nearly a week since I've put out a video and there's been some nice cosmetic changes which are probably worth sharing, more scenery, hud etc. I'll put something us shortly.
CAN'T WAIT!!!! I can't think of anything for position, apart from check points, which could ruin the mobile aspect…



░█████╗░░█████╗░░█████╗░██╗░░░░░██╗██╗
██╔══██╗██╔══██╗██╔══██╗██║░░░░░██║██║
██║░░╚═╝██║░░██║██║░░██║██║░░░░░██║██║
██║░░██╗██║░░██║██║░░██║██║░░░░░╚═╝╚═╝
╚█████╔╝╚█████╔╝╚█████╔╝███████╗██╗██╗
░╚════╝░░╚════╝░░╚════╝░╚══════╝╚═╝╚═╝
RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

Essentially it is using check points, just lots of them, you need to drive on every road tile to make sure you're completing a lap. It needs a bit of tolerance though as if you leave the track for a tile or two it allows it. This works pretty well but race ordering can jump around a bit.
Pikkewaan
Scratcher
47 posts

Badly Drawn Racers 2?

RobFarley74 wrote:

Essentially it is using check points, just lots of them, you need to drive on every road tile to make sure you're completing a lap. It needs a bit of tolerance though as if you leave the track for a tile or two it allows it. This works pretty well but race ordering can jump around a bit.
Hmm, welp, I hope things go well!



░█████╗░░█████╗░░█████╗░██╗░░░░░██╗██╗
██╔══██╗██╔══██╗██╔══██╗██║░░░░░██║██║
██║░░╚═╝██║░░██║██║░░██║██║░░░░░██║██║
██║░░██╗██║░░██║██║░░██║██║░░░░░╚═╝╚═╝
╚█████╔╝╚█████╔╝╚█████╔╝███████╗██╗██╗
░╚════╝░░╚════╝░░╚════╝░╚══════╝╚═╝╚═╝
LionCoder10
Scratcher
500+ posts

Badly Drawn Racers 2?

RobFarley74 wrote:

Essentially it is using check points, just lots of them, you need to drive on every road tile to make sure you're completing a lap. It needs a bit of tolerance though as if you leave the track for a tile or two it allows it. This works pretty well but race ordering can jump around a bit.
Yeah, that’s how I would think to do it. But about the “leaving the road” issue, you could make the checkpoints wider (idk, maybe even double length?) so that the racer would still be able to get it even out of the race (of course not too far away)

I MAY BE WRONG IN THE FORUMS!
Highlight this signature, then hold Shift+Down to see the rest of my signature!

ABOUT ME
MY BEST PROJECTS!

POST MILESTONES: 1st, 5th, 10th, 25th, 50th, 100th, 250th!

Thanks for reading all of my signature :) Comment “curiosity” on my profile if you did
RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

LionCoder10 wrote:

RobFarley74 wrote:

Essentially it is using check points, just lots of them, you need to drive on every road tile to make sure you're completing a lap. It needs a bit of tolerance though as if you leave the track for a tile or two it allows it. This works pretty well but race ordering can jump around a bit.
Yeah, that’s how I would think to do it. But about the “leaving the road” issue, you could make the checkpoints wider (idk, maybe even double length?) so that the racer would still be able to get it even out of the race (of course not too far away)
It doesn't work that way, because the whole game is grid based it detects the tile below being road or not road, if it's road it identifies it's position on the route and establishes how many route locations it's skipped since the last time it was on a road
LionCoder10
Scratcher
500+ posts

Badly Drawn Racers 2?

Ohhh that makes sense

I MAY BE WRONG IN THE FORUMS!
Highlight this signature, then hold Shift+Down to see the rest of my signature!

ABOUT ME
MY BEST PROJECTS!

POST MILESTONES: 1st, 5th, 10th, 25th, 50th, 100th, 250th!

Thanks for reading all of my signature :) Comment “curiosity” on my profile if you did
RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

So I'm off on vacation tomorrow for 3 weeks, not had a chance to post up anything, but rest assured there has been progress!

More scenery, race position, improved AI with variations between drivers, and the ability to play any number of tracks. Really the only thing it needs now is a front end to tie it all together.

Be well y'all!
LionCoder10
Scratcher
500+ posts

Badly Drawn Racers 2?

Ooh yay! It’s almost done!!!!! Enjoy your vacation!

I MAY BE WRONG IN THE FORUMS!
Highlight this signature, then hold Shift+Down to see the rest of my signature!

ABOUT ME
MY BEST PROJECTS!

POST MILESTONES: 1st, 5th, 10th, 25th, 50th, 100th, 250th!

Thanks for reading all of my signature :) Comment “curiosity” on my profile if you did
Pikkewaan
Scratcher
47 posts

Badly Drawn Racers 2?

RobFarley74 wrote:

So I'm off on vacation tomorrow for 3 weeks, not had a chance to post up anything, but rest assured there has been progress!

More scenery, race position, improved AI with variations between drivers, and the ability to play any number of tracks. Really the only thing it needs now is a front end to tie it all together.

Be well y'all!
ENJOY!!!!



░█████╗░░█████╗░░█████╗░██╗░░░░░██╗██╗
██╔══██╗██╔══██╗██╔══██╗██║░░░░░██║██║
██║░░╚═╝██║░░██║██║░░██║██║░░░░░██║██║
██║░░██╗██║░░██║██║░░██║██║░░░░░╚═╝╚═╝
╚█████╔╝╚█████╔╝╚█████╔╝███████╗██╗██╗
░╚════╝░░╚════╝░░╚════╝░╚══════╝╚═╝╚═╝
RobFarley74
Scratcher
100+ posts

Badly Drawn Racers 2?

Video Update

So here's an update on where we are, essentially the game is (more or less) written. I can create any number of tracks just by laying down the tiles and the computer will decorate the tracks and figure out how to drive it.

There are a couple of tweaks for AI style and maybe some tuning of the cars. The AI tuning is already in place, but need to bake it into the car object itself. Not a huge job. The tuning needs to be played with, essentially, I can ramp up the power of a car easy enough but I need to offset this power with a disability, traction for example, so you can go fast in a straight line but harder to control on the corners Something like that anyway.

And of course finally there's the front end, menus, selections, championships, start of race, end of race stuff. I'll have to give this a bit of a think and work out how far I want to take this.

Anyway… I'm back from vacation now so I'll try and get some more work done on this over the next few weeks.

Powered by DjangoBB