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! / ugly sprites

Author
Message
elie
21
Years of Service
User Offline
Joined: 12th Sep 2004
Location:
Posted: 31st Dec 2004 22:21
i am trying to use the create animated sprite command but this leaves a distorted version of the original .bmp picture - i know during the load image command i can add an extra ,1 but when i do it within animated sprite it throws up an error - any ideas folks ?
wmf
21
Years of Service
User Offline
Joined: 6th Nov 2004
Location:
Posted: 1st Jan 2005 03:29
need to see your code but maybe this will help. just change the values where needed.
FoxBlitzz
22
Years of Service
User Offline
Joined: 19th Nov 2003
Location: United States
Posted: 1st Jan 2005 03:41
The size of your images must be in powers of 2, or else they will become distorted when being used as sprites. What sizes are your images?

UNVIDIA GeFartFX 5600 Crud Edition
Featuring an unbeatable 0-1 FPS in 3DMark05!
If Return to Proxycon were a game, I would die before I saw the door open!
Tapewormz
23
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 3rd Jan 2005 18:08
Another thing to remember is that DarkBasic Pro is bugged if you compile your game for "Windowed - Fullscreen" and your desktop resolution doesn't match the screen resolution in your game.

This is a MORE than retarded bug that's followed DBPro since day one and it's still not fixed. The only way around it is to compile your game for "Fullscreen Exclusive Mode".

Or, you could write a loader that reads an ini file and changes the resolution of the desktop to the game resolution before it starts the game, then when the game exits, returns the resolution of the desktop to the original resolution. I actually did this in VB for my games, since they haven't fixed it in DBPro yet.

PS...FIX THIS ALREADY!

Login to post a reply

Server time is: 2026-06-11 14:48:53
Your offset time is: 2026-06-11 14:48:53