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.

DarkBASIC Professional Discussion / text over sprites - can it be done? Please help!

Author
Message
the architect
23
Years of Service
User Offline
Joined: 6th Jan 2003
Location: United Kingdom
Posted: 14th Oct 2003 22:53
Recently I decided to use a program ive developed to create a small six level mission because I wanted to show DBPro users what my program can do at the mo.

This is not the planned full version FPS Ive been working on but a one off, Sci fi - Delta force type of mission which I wanted to release by Christmas.

To finish it I have created an options menu which I would like to deco with some background images for added atmosphere.

The problem is that I want to have a graphics option for screen resolution. Ive found I can't reset the screen res too much in a prgram because the prog just ends. The images in the background change size according to the screen size.

I could use several sized files of each image but this would be a waste of file space.

My solution was to look at sprites which can be adjusted to screen size but I find they draw over the text. Any Ideas anyone.

It's enough to make you wonder if your on the right planet!!! or
Get it straight! War breaks out and nobody shows up!!!
David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 14th Oct 2003 22:54
yeah - DRAW SPRITES FIRST should do the trick. Hopefully

A computer program will always do what you tell it to do, but rarely what you want to do.
Wik
23
Years of Service
User Offline
Joined: 21st May 2003
Location: CT, United States
Posted: 15th Oct 2003 01:18
From May:

http://darkbasic.thegamecreators.com/?m=forum_view&t=10711&b=10


I asked the same question!

The rock has rolled!
Jedive
23
Years of Service
User Offline
Joined: 24th Jan 2003
Location: Spain
Posted: 15th Oct 2003 01:34
i was writing a tutorial about drawing order. i hope Rich can find the time to tell me if he is interested on it

== Jedive ==
AthlonXP 1600+, 512MB, GeForce4200, Win2K/DX9, Mandrake Linux 9.1

Login to post a reply

Server time is: 2026-07-26 04:28:23
Your offset time is: 2026-07-26 04:28:23