(SOLVED)How to make the Ai car? (TopDown)

I haven’t actually worked out how you freely rotate something as yet. As an interesting side note - if you rotate a circle - it’s the same, the same the SAME!! …all the way round!!..who knew!?
time to get my but outta this chair and do something productive!

1 Like

But no! Don’t be so hard on yourself, Dave… :rofl:

A+
Xierra

2 Likes

Ok so i exported it now to put it in my game.

@ last! done! but… i did use the same sprite (track) quite a few times so their is still a way to do it right?

2 Likes

I was using the same track object with different animations. So you need the custom points set differently for each animation…and make sure that you have the track the right way round. You need a marker on the sprite to check it. I used red and blue. Name the points 1 and 2

1 Like

hmm, ok. il send i screen shot when im done with the first one.

hang on… why cant i access the points of this sprite?

i think its cause its a tiles sprite not a normal sprite…

k so umm where exactly is it supposed to be on the sprite (track)? (the points)

You want point one in the middle x but near the top y and point 2 middle x near the bottom y
I need to got on with making badgers now…will check later

1 Like

I’m a bit late, only reading this today. Congratulations on actually getting something done in Inkscape, I don’t have the patience with it. On Linux I used to use Pinta, which is a fairly simple painting app. It’s not vector based like Inkscape. Pinta is like a copy of the windows program paint.net . It’s simple but with quite a few features. If you wanted to get really arty, there’s Krita which isn’t as simple but does have lots of nice things.

2 Likes

Ty, il look it into it @Bubble !!! :wink:

1 Like

Ooh, you’re using Flathub. I was too but it took up a lot of space and my old laptop was running out of room. So if you ever run out of space, just getting rid of flathub and getting your apps normally is an easy way to get some space back.

1 Like

Thanks for the advice!

1 Like

wait… hang on a sec, how does a website take up space?

It’s the flathub framework on your computer that runs the apps that takes up a lot of space. Or it did about a year ago when I stopped using it.

1 Like

ok the point system did not work srry @petlimpet , but i tried pathfinding and it worked! except only half of it, it goes right to the sprite down, the goes down to the sprite left, then goes left to the sprite up, but then doesn’t go up? The code seems pretty good to me pls help!

Can you post a pic of the editor so we can see your set up - If you’ve got lot’s of up,down,left and right on the editor then you’ll need to be specific about which one to go to. Keith’s the man for pathfinding!

1 Like

alright if i mention keith here he will get a notification , @Keith_1357 !!!

ah - i see. as the track gets more complicated you’ll need to pick the right one…you might need to raycast to find them! I don’t think he’ll mind - he likes pathfinding problems!

1 Like

so ur saying the ai car has to send a raycast?