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 / back to 2D but some basic issues!

Author
Message
Alduce
22
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 16th Oct 2013 18:35 Edited at: 16th Oct 2013 18:37
Hi guys, a lot of time far from 2D and now I can do just nothing!

3 questions:

1) I would to have a big background (much more big than screen size)

2) My sprite over this background must have their black square as transparent (the classical sprite background colour as transparent) but I can't do it!



Please look at the screenshot and here my code..

Attachments

Login to view attachments
Alduce
22
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 16th Oct 2013 19:22 Edited at: 16th Oct 2013 19:23
EDIT:

I solved the questions of this thread using this code:



DARKBASIC PRO 3d WORLD EDITOR
13
Years of Service
User Offline
Joined: 2nd May 2012
Location:
Posted: 20th Oct 2013 07:59
I believe the image numbers in order are what gets printed first.. like if you had an image of a road and then an image of a car and the road was like:

load image "road.png",1
load image "car.png",3

the road picture would be drawn first but flip flopped.. the car wouls be first no matter what the sprite number is

- Infinity is Simplicity -

Login to post a reply

Server time is: 2025-05-15 20:47:39
Your offset time is: 2025-05-15 20:47:39