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! / TEXT problems

Author
Message
Agent
21
Years of Service
User Offline
Joined: 7th Sep 2004
Location: Sydney, Australia
Posted: 12th Feb 2005 15:57
Hi all,

Having trouble with the TEXT command (it least, I think it's with the TEXT command).

In DBP, If I have one or more sprites on the screen and then I use the INPUT command to get some typed instructions from the user, the whole screen clears to the backcolor and nothing is visible on the screen. It also happens from time to time with the TEXT command. This only tends to happen when I am manually working the SYNC. Does it have anything to do with the pre-text commands (SET TEXT SIZE etc) ?

I've seen some users work with double SYNC's (ie, two SYNC commands in a row) when they want to update the screen. What's the go with this? Does it have anything to do with the problem I've described? It doesn't seem to fix my particular problem by itself.

Is there any sort of problem with using SYNC and FASTSYNC in the same program at different points? Is there any difference at all between these two commands other than the fact that FASTSYNC doesn't allow for system interrupts?

Thanks in advance.
HowDo
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 15th Feb 2005 05:54
need to know when you have your sprites up, have you got your own background screen picture.

if you have to bring one to the front.

if not maybe someone else can help, bit of code would help.

In Space No One can Hear You Scream! (When your comm Line is cut?)
Agent
21
Years of Service
User Offline
Joined: 7th Sep 2004
Location: Sydney, Australia
Posted: 2nd Mar 2005 02:20
Any time a sprite is on the screen, TEXT will cause a blue screen to appear (not the windows crash blue screen of death, just a screen that's blue).

If you want code, I thought I made it fairly clear:

SHOW SPRITE 1
INPUT "What's your boggle?", a$

That will generate the problem I have. As soon as there's a sprite active somewhere on the screen, using input (or about half the time, any of the text display commands) will kill the screen.
pizzaman
22
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Gateshead, UK
Posted: 2nd Mar 2005 10:41
Haven't heard of that problem before, I know that input usually makes the screen go black completely, but not blue.

The only other thing I can think of is that you haven't used set sprite to turn off the backsave of the sprite, therefore you would get the blue screen problem.

For more ways to get rid of the blue screen when using sprites check this link out http://developer.thegamecreators.com/?f=dbpro_tutorials and look for Sprites and the Blue Background.

If this is not your problem could you post some actual code please.

Login to post a reply

Server time is: 2026-07-14 04:26:53
Your offset time is: 2026-07-14 04:26:53