stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

2h 20m 32s logged

Car Simulation Thingy Devlog #5

It drives better now!

I added a small HUD in the top left so you can see some stats.

There were a couple of bugs with the AI itself so I fixed those as well. You can also speed up the simulation or hide all the cars except the best one.

That’s it!

0
0
10
Open comments for this post

1h 11m 56s logged

Car Simulation Thingy Devlog #4

AI and stuff.

The learning algorithm is not perfect but it gets the job done. It uses five rays and its own velocity as input and outputs some steering and throttle value.
This thing wasn’t as hard as I expected and not complicated at all.

I also removed the rays since that was impacting performance a lot D:

The program is still kind of slow tho, I’ll have to fix that.

0
0
24
Open comments for this post

1h 1m 10s logged

Car Simulation Thingy Devlog #3

I have now changed the code a bit so that I can easily add multiple cars. The checkpoint system has also been changed so they are evenly spaced.

Rays

The car now measures the distance of five different rays coming out of it. This will be used later (maybe)

You can see the blue lines, they’re the rays

0
0
9
Open comments for this post

1h 37m 5s logged

Car Simulation thingy Devlog #2

The track is now a bit smoother. I also added something to calculate the distance to the track. There is also a checkpoint system in place so the program know when the car has driven one lap.

That’s it I think. :blabla:

0
0
96
Open comments for this post

55m 4s logged

Car Simulation thingy

Since Stardance got extended and I need something to work on I’m doing this now.

Right now it’s just a turquoise rectangle that can be driven on the screen. There’s also a track that you can drive on.

I’m not sure what I should do in the future, something like training a program to drive on a track would be cool. Still a long way to go though.

0
0
30

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…