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! / 2d sprites on the screen

Author
Message
Guhill The friendly one
21
Years of Service
User Offline
Joined: 12th Jun 2004
Location: The fourth demension
Posted: 12th Jun 2004 23:36
Why can't I get 2d sprites on the screen in Darkbasic Pro. First I type Load Bitmap "Filename.bmp",1 . Then I type, get image left,top,right,bottom. Then I type, sprite 1,x,y,1. Why doesn't this work? It worked on Darkbasic.

Gloating Guhill
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 13th Jun 2004 00:37
In Dbpro you have to use set current bitmap.

Guhill The friendly one
21
Years of Service
User Offline
Joined: 12th Jun 2004
Location: The fourth demension
Posted: 13th Jun 2004 01:30
So every time you want to draw the sprite you have to set current bitmap?

Gloating Guhill
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 13th Jun 2004 03:09
Just once....after you grab the image set the current bitmap to 0.

Guhill The friendly one
21
Years of Service
User Offline
Joined: 12th Jun 2004
Location: The fourth demension
Posted: 13th Jun 2004 04:51
When you say, "Grab image", are you talking about the "get image" command?

Gloating Guhill

Login to post a reply

Server time is: 2026-06-09 15:43:38
Your offset time is: 2026-06-09 15:43:38