03-23-2006, 12:52 PM
BMP to PP256 Format?
|
03-23-2006, 01:50 PM
Here:
Uses Rellib. Code: DEFINT A-Z You may want to tweak it a little bit because the tilesize it saves to is 30 x 30. Vars to play with are STX,STY (the tile dimensions) and the for loop max values.
03-23-2006, 05:52 PM
Thanks, hope it works! 8)
03-23-2006, 06:06 PM
...and hey... where can I download Rellib? It wasn't included when I downloaded FreeBASIC... :roll:
03-23-2006, 06:08 PM
Rellib is a qb library. It wont work with FreeBASIC.
03-23-2006, 06:58 PM
I get an Illegal function call here:
Code: sy = 12 It's silly maybe, but I haven't been coding for years so I need a little kick-start to get me going again... Here's the dimensions of my sprites/tiles: 20x16 The BMP's dimensions is: 320x128 I also changed this: Code: FOR Y = 0 TO 199 To this: Code: FOR Y = 0 TO 127
03-25-2006, 05:39 PM
Is there maybe anyone who wanna help me out with this one?
03-26-2006, 12:53 AM
Make sure you dim the array large enough to hold the data for all of the sprites. It looks like that could be the problem.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)