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.

2D All the way! / Pixel tracking

Author
Message
lukeo25
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location:
Posted: 30th Dec 2003 08:04
I was looking at a program called sueak the other day ( apparently a very old language ) and found it had the ability to get a sprite to track a specific pixel colour around a shape that was drawn by the player. has anyone done anything similar in DB?
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 30th Dec 2003 13:00
You wouldn't need to actually track the pixel colour. All you would have to do is to store the mouse X/Y positions as the user draws the shape on the screen.

Pincho.
lukeo25
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location:
Posted: 31st Dec 2003 00:40
Yeah, thats a great solution. But I want my players to be able to load thier own images and have the sprite drive around on the chosen colour.
Emperor Baal
20
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 1st Jan 2004 22:31 Edited at: 1st Jan 2004 22:32
Ive never used sprites before, but maybe this will work:



im not sure if it will work!


Quote: "
Amd 2500+ | 1024mb pc2700 | A7N8X-X | Geforce4 ti 4200 128mb
"
lukeo25
20
Years of Service
User Offline
Joined: 8th Aug 2003
Location:
Posted: 15th Jan 2004 00:49
Thanks that has it

Login to post a reply

Server time is: 2024-05-11 06:35:29
Your offset time is: 2024-05-11 06:35:29