Posts: 3,616
Threads: 287
Joined: Jan 2003
For AI, do stuff like, if the car is to the left of the enemy, enemy moves right. If its below, enemy moves up.
Get it?
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Posts: 2,771
Threads: 96
Joined: Oct 2003
yes, but zack, obviously the van can move much faster than the people, so that would be futile, instead if you are very careful, you can see that the pedestrians dodge the vehicle by jumping to the side. Ie if they see the van coming up the screen to them, they dodge left or right. If they see the van coming from the right or left of the screen, they dodge up or down the screen.
Posts: 2,771
Threads: 96
Joined: Oct 2003
Ok, sry to double post, but I have an update.
TBBQ, it included all your suggestions/crit
Zack: I added better AI
The original post has been updated with the new file.
Quote:Updates:
---11/2/04:*My Birthday!*---
-Added difficulty levels
(Zack complained it was too hard. Heh, only j/k!)
-Enhanced Pedestrian dodging abilities
-Made retry function
-changed fade function to have option for steady or instant fade.
-Added ability for van to "Skiff" the edge of the arena, and just
glance off, instead of stopping dead.
Credit to **TBBQ** for the idea!
-Added better collision detection for the walls.
-Lessened the van's "Kill zone" and added variable to change it.
Posts: 3,616
Threads: 287
Joined: Jan 2003
Good. It was too hard. I'll see if its any easier in a minute.
If the AI is ever too weak on anything, let the enemies move faster.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Posts: 4,307
Threads: 63
Joined: May 2003
Thanx for listening to my ideas. I havent checked out the game yet. I'll do it soon =P.
Posts: 358
Threads: 15
Joined: May 2003
Nice game. My high score is 98!! I'm going to look at your code...I can learn some things here...
I agree it is hard...I wonder if it would be more fun with "hovercraft" (or bumper-boat) style controls where you have momentum, but pressing a new direction gives you thrust in that direction, rather than having to stop and turn....?????
Cheers
Posts: 4,307
Threads: 63
Joined: May 2003
I just hate that kind of vehicles.
Posts: 3,522
Threads: 189
Joined: Dec 2003
1523 points on easy, yeay :lol:
Sometimes the pedestrians walk outside the boundries, erasing the white outline.
Posts: 4,307
Threads: 63
Joined: May 2003
Posts: 3,522
Threads: 189
Joined: Dec 2003
Just taking it easy, and slow!! (I am serious), I always hade like 1inch of time left.
Also, you can just bounce, either left/right or up/down where the pedestrians walk, i managed to get ~1200 that way (On easy)