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 / NOOO the sprites!!!

Author
Message
soap_shoes
22
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United States
Posted: 7th Feb 2003 04:44
ok....
im back and ready to program, exept that the modem in my computer is not running but i can still program...

i was able to move a few circles around the screen with:



But...sadly, that isn't what i wanted to accomplish, even though that was the first time i moved something besides an object.
You see, what i was to do is to be able to load a bmp, make it a sprite, and move it in the same way as i did the circle. Any help??

Thx
max
things take time......like golf...
Richard Davey
Retired Moderator
23
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 7th Feb 2003 04:52
Try:



Not far away from what you had huh?

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
soap_shoes
22
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United States
Posted: 7th Feb 2003 05:04
..........

wow...didnt know that it was so close!

Thx,
max

things take time......like golf...
Hockey07
22
Years of Service
User Offline
Joined: 18th Dec 2002
Location: United States
Posted: 7th Feb 2003 05:17
Hey, I remember you, stiltzkin79!! from a long time ago!!

AlamDV, NHL, NHL 2K3....... The best combination ever!
soap_shoes
22
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United States
Posted: 7th Feb 2003 19:02
yea!!! HEY GUYS!!!

oh, and could someone give me a list of all of the smiley faces you can make in this forum?

Thx,
max

things take time......like golf...
soap_shoes
22
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United States
Posted: 7th Feb 2003 19:39
o...1 problem with the code rich..



i try to run it and it highlights the "sprite 1,x,y and tells me something like "Parameter mismatch. Sprite expects integer,integer,integer,integer."

do i just need to plug in another value??

Thx,
max

things take time......like golf...
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 7th Feb 2003 19:41
Yes, it should be :

sprite number, x pos, y pos, image number



Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
soap_shoes
22
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United States
Posted: 7th Feb 2003 19:42
nm ima stupid head... just put in 1 after y and viola!
but it starts off the screen...the sprite i made was a blue box and i can see part of it when i start it....

oh

more questions...sry

-how would i apply gravity to the sprite as in a mario jump or something?
-the db tutorial for sprite collision doesnt help my noobie self so...using the gravity question...if i jumped above another sprite, how would i make it stop once it lands on the 2nd sprite??

Thx,
max

things take time......like golf...

Login to post a reply

Server time is: 2025-08-08 19:12:53
Your offset time is: 2025-08-08 19:12:53