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 / Sprites Again! - Moving around Problems

Author
Message
Bozzy
18
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 9th Oct 2006 01:25
Hi, I have yet another problem with moving sprites. This time I want to move a tank freely around a battlefield, rotating and mving forward... what do i do?
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 9th Oct 2006 03:49
Just read the comments I made in my example code. Tell me if there is something specific you don't understand in it. Change the path in the "load image" to one of your tank image.



whipped6
18
Years of Service
User Offline
Joined: 31st Aug 2006
Location:
Posted: 9th Oct 2006 04:44
im adding on to Dameons code snippet im giving u two ways to do it kk

moving tank with mouseclick


game creator
Bozzy
18
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 9th Oct 2006 09:16
@daemon
ye thnx, it moves now, but what i really wanted to do was after i rotated it, it could move forward in the direction it was facing. I don't think your way does this, or maybe its just me?
whipped6
18
Years of Service
User Offline
Joined: 31st Aug 2006
Location:
Posted: 9th Oct 2006 17:36
my way doesnt im pretty much beat on that because i am a beginner myself i will make a post for everything i know in Newcomers kk there will be lots of code snippets to

game creator
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 9th Oct 2006 20:11
In the example that I posted in your other thread it is there. The one titled "sprite firing". Check that.

Ummm...

Login to post a reply

Server time is: 2024-11-26 09:28:58
Your offset time is: 2024-11-26 09:28:58