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 / sprite problem

Author
Message
smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 6th Oct 2005 14:26
using dbpro.
When i try to put text over a sprite the screen sync goes all cazy and i loose my bitmap background and i get a blue screen instead i have tried the draw sprite first last sync cls all kins of stuff but cant seem to get it to work. i would reallly appreciate the help thank you .


A child's dream never dies.
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 6th Oct 2005 18:08
could you provide the image to?

"We make the worst games in the universe."

smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 7th Oct 2005 03:27
run the program in windwowd mode 400x300
and here are the load file comands



A child's dream never dies.

Attachments

Login to view attachments
smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 10th Oct 2005 10:33
bump

A child's dream never dies.
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 10th Oct 2005 14:39 Edited at: 10th Oct 2005 14:41
Syntax: SPRITE Sprite Number, X, Y, Image Number

You are using images 1 to 7. Where are they coming from?

Do you know what Load Bitmap is doing?

Use Load Image for sprites or use Bitmap 1. You need to read some basic tutorials (link to mine at the bottom of my posts). Many of the questions you are asking are covered in them.

OK, some things covered in any tutorial will be things you already know, but you should still read them for the information you don't know.

The Code Hints section on my web site explains the difference between Bitmaps and Images.

[Edit] OK, I missed your second code snippet! That's where the images come from lol!

TDK_Man

TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 10th Oct 2005 14:44
Second attempt!

Quote: "When i try to put text over a sprite"


If you are trying to put text on sprites, try loading the images and pasting them onto bitmap 1. Put the text on the images and then re-grab them before creating the sprites.

TDK_Man

smerf
19
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 11th Oct 2005 11:25
first off i would like to say im very good with sprita and bitmaps. i know how to use them well second it is awefull hard to read text from a bitmap. just guess ill just go with my second option and create a sceond function that keeps track of the input. of write the program in vb or delphi.

ty for the help anyway guys

A child's dream never dies.

Login to post a reply

Server time is: 2024-09-24 05:19:41
Your offset time is: 2024-09-24 05:19:41