Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Shooting a sprite down with Move sprite?

Author
Message
JesterDev
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location:
Posted: 12th Jul 2003 06:36
I know this was covered recently. I've been searching for the post for the past half hour.. Anyway, I am trying to get a sprite to shoot down. Can I use the `move sprite` command or is there a better way?



Naturally this does not work. But I was just trying.
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 12th Jul 2003 08:50
JesterDev,

I am not exactly sure of your question. But I just did a big sprite thing that the enemy shoots at me. Is that what you want?
JesterDev
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location:
Posted: 12th Jul 2003 09:40
Yes that's exactly what I'm looking for. I thought there was a post on
this recently but I couldnt find it!

JesterDev
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location:
Posted: 13th Jul 2003 00:38 Edited at: 13th Jul 2003 05:15
Well, I have this:



But it doesnt move! It worked when I tryed it by it self, but not in my game..

the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 13th Jul 2003 05:24
Here is some code where the enemy shoots towards the player sprite.
Move the player sprite with the arrow keys.
enemy_acc determines how accuratly the enemy is.

Login to post a reply

Server time is: 2024-09-20 15:49:14
Your offset time is: 2024-09-20 15:49:14