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 / load a plain, but i can't see it!

Author
Message
DidRocks
23
Years of Service
User Offline
Joined: 28th May 2003
Location: France
Posted: 1st Jul 2003 14:11 Edited at: 1st Jul 2003 14:50
indeed, my menu system is made of plain (because of ghosting object for different kind of opacity)
for my start of my game, i made this:

make object plain 1,1024,768
lock object on 1
position object 1,0,0,640
load image "Imgteam.jpg",1
texture object 1,1

make object plain 2,1024,768
position object 2,0,0,640
load image "ImgIntro.jpg",2
texture object 2,2

so, it's the first plain which is shown...
after a time, i make that:
lock object on 2
so, it's now the second plain which is shown before the 1st (indeed, the 2 are shown with a transition)
next, i made this:
delete object 2
and i see now only the 1st plain.

Well, all works well, but after, i want to have 4 little plain.
Consequently, i will make this:
make object plain 2,9,9
position object 2,398,517,640
load image "Imgcot4.jpg",2
texture object 2,2
lock object on 2

make object plain 3,9,9
position object 3,407,517,640
load image "Imgcot1.jpg",3
texture object 3,3
lock object on 3

make object plain 4,9,9
position object 4,407,508,640
load image "Imgcot2.jpg",4
texture object 4,4
lock object on 4

make object plain 5,9,9
position object 5,398,508,640
load image "Imgcot3.jpg",5
texture object 5,5
lock object on 5

But ... nothing appends !!!! i see again and again the 1st plain (i juste want to have theses plain before the 1st, seeing both of them)

Anybody's suggestion? Thanks you by advance (sorry for my poor english)
Bloodshot
23
Years of Service
User Offline
Joined: 7th Apr 2003
Location: United Kingdom
Posted: 1st Jul 2003 14:44 Edited at: 1st Jul 2003 14:46
Quote: "make object plain 4,9,9
position object 2,407,508,640 : Rem Shouldn't this be position object 4, not 2?
load image "Imgcot2.jpg",4
texture object 4,4
lock object on 4

make object plain 5,9,9
position object 2,398,508,640: Rem Shouldn't this be Position Object 5, not 2?
load image "Imgcot3.jpg",5
texture object 5,5
lock object on 5"
DidRocks
23
Years of Service
User Offline
Joined: 28th May 2003
Location: France
Posted: 1st Jul 2003 14:48 Edited at: 1st Jul 2003 14:51
yes, sorry, but it's not my issue (i copy my code too quicly, i edit it).
I don't see any plain!!!
Superbeest
23
Years of Service
User Offline
Joined: 9th Mar 2003
Location: Netherlands
Posted: 1st Jul 2003 17:27
Turn it around 180 degrees
It is possible it is only viewable from one side of the plain.

By steel will thy flesh divide
DidRocks
23
Years of Service
User Offline
Joined: 28th May 2003
Location: France
Posted: 1st Jul 2003 17:50
i just tried, unfortunatly, without any success
Fallout
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: Basingstoke, England
Posted: 1st Jul 2003 18:35
Did you try 90 degrees? Seeing as a plain has zero thickness, if you're viewing it from side on, you wont see it. Also, try not texturing the plains, just to rule out its not a texturing problem.

Machine: P4 2200, 1GB RAM, GeForce4 64MB, Audigy Platinum
http://www.breakbeat-terrorism.co.uk
(It's not all about the coding)
DidRocks
23
Years of Service
User Offline
Joined: 28th May 2003
Location: France
Posted: 2nd Jul 2003 02:35
strange .... i juste reboot my computeur, without changing anything, and it works ....
Thanks all!

Login to post a reply

Server time is: 2026-07-18 00:34:10
Your offset time is: 2026-07-18 00:34:10