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 / doh I'm dumb

Author
Message
BoB Vila
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United States
Posted: 30th Mar 2003 08:34
what do I do to have my text load on top of the sprite instead of behind?
Bobvila.com made me take off my avatar! (dunno how they found out)
Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 30th Mar 2003 08:56
e.e.e.e dunno
i dont use sprite...but with image..just write your texte AFTER pasted your image...but sprite...i dont know..maybe..there is e.e..e dunno..change the image of your sprite...i mean..take the original image..print text on it..and REmake your sprite..
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 30th Mar 2003 23:43
If the text always remains the same, make a bitmap then write the text to it, get it as an image, and use that as a sprite over the old sprite. If it can change, you could try something like making image with all the letters of the alphabet + any other chars you might need in a paint program, then get each one of them as a separate image, then write a function that substitutes each letter for an image letter putting them there as sprites themselves.

Whatever I did I didn't do it!
xmen
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location:
Posted: 31st Mar 2003 01:32
Try this

sync on
ink rgb(10,110,12),1
box 1,1,200,200
get image 1,1,1,200,200
cls

ink rgb(210,210,220),1

do
paste image 1,120,120
text 120,150,"this is a test.. if i can see this then it work"
sync
loop
Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 31st Mar 2003 03:47
villa...its what i said to him...but he said: WITH SPRITE...then
i said to him to take his original image ..and print text on it..and AFTER REMAKE HIS sprite...
Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 31st Mar 2003 03:48 Edited at: 31st Mar 2003 03:52
i did not test it..but it should work:

Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 31st Mar 2003 03:49
and normally use BITMAP ..1.. or another # ...cause if not..if the drawing..is long you will see it...
Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 31st Mar 2003 04:13
ok ..see that..a real use of text on sprite..with a little example of text scroller:

BoB Vila
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United States
Posted: 1st Apr 2003 06:34
hmm.. doesn't seem to work without killing performance..

Bobvila.com made me take off my avatar! (dunno how they found out)
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Apr 2003 07:08
instead of killing sprites u could precalc all of the textual information before hand into image numbers then its a simple process of updating the sprite with the correct image number

Chiwawa
22
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 1st Apr 2003 07:17
hmm i dont use SPRITE..then...
and i use Classic DB...
BoB Vila
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United States
Posted: 1st Apr 2003 16:24
I'm just going to paste the image onto a plain and orient it close to the screen. But then again I might do what you said indi, depends on how looks..

Bobvila.com made me take off my avatar! (dunno how they found out)
Shadow
22
Years of Service
User Offline
Joined: 17th Oct 2002
Location: In the shadows
Posted: 1st Apr 2003 17:04
I think (on DBP) you can paste images with little trouble (in some ways easier than sprites too (except you can't rotate).
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Apr 2003 21:18
bob if u want to use plains u can stick them to the screen so they dont distort with this gem



indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Apr 2003 21:18
i should say orient and not stick

BoB Vila
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: United States
Posted: 1st Apr 2003 23:46
Thanks Indi, I'm gonna test it out when I get home..

Bobvila.com made me take off my avatar! (dunno how they found out)
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Apr 2003 04:44

Login to post a reply

Server time is: 2024-11-24 08:20:09
Your offset time is: 2024-11-24 08:20:09