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 / My Tile Array

Author
Message
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 11th Apr 2005 04:52
Basically I am working on a tile editor and I have set up an array as a custom type and filled in all the information...then printed the tiles to the screen based on the array information. The output is supposed to be 25x25 tiles printed out in a square pattern.



Instead of printing out in a square pattern it only prints out one horizontal row and one vertical column.

To test the above code just make a 25x25 pixel image and you will see what I mean.

Maybe im just not thinking straight or something, can someone please point out where I have gone wrong?

Thanks.
wmf
19
Years of Service
User Offline
Joined: 6th Nov 2004
Location:
Posted: 11th Apr 2005 14:22
see if this works. uncomment the 'sync:wait 10' line to see how it goes. you may want it to go across first and then down.
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 11th Apr 2005 20:31
well i found it was trying to create multiple sprites with the same number, so i just fixed that.
wmf
19
Years of Service
User Offline
Joined: 6th Nov 2004
Location:
Posted: 11th Apr 2005 21:56 Edited at: 11th Apr 2005 22:24
are you saying this code made multiple numbers or your old code. if it is this code then run this little snippet and tell me where. if you don't appreciate someone trying to help you, don't ask for help.
Ace Of Spades
19
Years of Service
User Offline
Joined: 6th Mar 2005
Location: Across the ocean
Posted: 12th Apr 2005 06:03
i appreciate the help, im just saying my old code was trying to create many of the exact same sprites which messed it up, and i already figured it out before i had a chance to read your post, but thanks anyway,

Login to post a reply

Server time is: 2024-09-23 17:25:10
Your offset time is: 2024-09-23 17:25:10