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 / Prepare Matirx - fills matrix with tile 1

Author
Message
Firesea
23
Years of Service
User Offline
Joined: 7th Apr 2003
Location:
Posted: 22nd Apr 2003 21:13
This may be the way it's suppose to work but,

Is the matrix suppose to fill the matirx with tile 1, when using the prepare matrix command? Try the code below with an image.

When I then fill the tiles one by one - the texture from the Prepare command bleeds through - i.e. 2 textures.
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 23rd Apr 2003 03:15
Try making your matrix bigger than 30 pixels square!

With 30x30 tiles on the matrix, each one has only a single pixel for each texture.

You also need to use:

prepare matrix texture 1,1,1,1

...if there is only a single texture in the image.

TDK

Login to post a reply

Server time is: 2026-07-11 12:00:48
Your offset time is: 2026-07-11 12:00:48