Pages: 1
Topic closed
I have finished and uploaded my new city-builder, which also includes a U-DRIVE-IT mode, but no matter how many different ways I try to develop the scripts for the cars, they seem as rubbish as each other. Does anyone have time to look at the game's scripts, and make a car that can be driven (V Small on screen) and can scroll with the city? borregoworld.yolasite.com/scdg.php
Offline
You'll have to use trig:
change scrollx by sin(direction)*vel
change scrolly by cos(direction)*vel
vel is the speed of the car (controlled by up and down arrows usually)
direction is the direction the car is pointing (duh)
you should also add:
set vel to vel*.99
so that there is a realistic friction for the car.
If you need more help than this, view my trig tutorial.
Offline
thanks. i bet you've noticed all the glitches in it from FreeCity Designer (the new name for it) hope you do try it out though, I need feed back on my work to get better.
Offline
Oh, I never actually looked at the project, so I'll do that now.
Offline
Topic closed
Pages: 1