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.

Newcomers DBPro Corner / Strange matrix

Author
Message
Superbeest
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: Netherlands
Posted: 10th Mar 2003 12:40
I tried to get some sort of matrix shifting thing, but it keeps giving strange results. Like the matrix flips or something. I made this with the dbpro demo, so I don't know if it is a bug or something, because it did work correctly in dbc. can someone help me?


Rem Various resolutions
`Width = 640 : Height = 480
Width = 800 : Height = 600
`Width = 1024 : Height = 768

Rem Set the display options
Set display mode Width,Height,32
Sync On

Hide Mouse

Rem Set some variables
Dim MatrixSize(1)
Dim MatrixSlices(1)
MatrixSize(1) = 70
MatrixSlices(1) = 35

Rem Load the mediafiles


Rem Call the functions
CreateTheMatrix(1)
SetCamera()

Rem Main loop
Do
Rem Print various texts to the screen
Set cursor 10,10
Print screen fps()

Rem Check for zooming
If scancode() = 78 Then move camera +.5
`and camera position y() > 1.5 then move camera +.5
If scancode() = 74 Then move camera -.5
`and camera position y()
Superbeest
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: Netherlands
Posted: 10th Mar 2003 12:42
Didn't came well between te code tags
try again:


spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 10th Mar 2003 16:34
I too had exactly the same problem, see my thread:

http://www.darkbasicpro.com/apollo/view.php?t=5374&b=1

Hopefully this bug will get sorted in a future patch.

Gronda, Gronda
Superbeest
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: Netherlands
Posted: 10th Mar 2003 17:21
Thanx, that means I just have to wait for the next patch, I guess . Hopefully it will be fixed in patch 4.

Magister Mundi sum!

Login to post a reply

Server time is: 2024-11-27 23:48:09
Your offset time is: 2024-11-27 23:48:09