My problem is: How can i make curves? I can’t figure out how to make some curves (can be 45° or 90° curves) and how to make the “others” cars (not controlled) follow the curves.
Yes, a drag race could be easier but I have to make it based on tiles.
lastchildz,
Thanks for the links, I will dig them deeply!
The TonyPa tutorial and the Outside Society, I’ve already seen to make the game. On the Outside Society has an example of a racing with curves, but it uses another tile map with angles, but I don’t know… I didn’t like that solution a lot…
Yep , True this exemple is not very convincing
For you problem , did you try to make the map coordinate to rotate instead of the car moving ? I don’t know how it work with Tiles but I tried with ArtBased Games and It did work pretty good … Well I do remember seeing some RPG tileGame doing this somewhere so I am sure You could do it .
And then improve the physics so It will have the feel of car turning .
I guess rotating the map will not solve my problem, my big problem are the traffic cars. If I make some curves on the tiles, I will have to improve the AI of the traffic cars to follow the curves. To the player, doesn’t matter to rotate the car coordinates or the map coordinates
Yes, thats something that I have to look. Thanks again
Come on, you are helping me a lot! You may not be into tilebase for now, but your experience are very wellcome!
Pathfinding could be the methode to use … for your “Ennemy” Car AI.
I tried to create a path for an object following a direction with HitTest but the result is not too good but I am sure its possible to make it more acurate :