Posts: 3,288
Threads: 167
Joined: Nov 2001
I think this would help:
http://relsoft.wrq.cjb.net/files/Zeldatut.bas
Uses the PP256 loader in data statements...
:*)
Posts: 46
Threads: 12
Joined: Dec 2002
i cant follow that.
any ways, can you just show me a good tutorial for using a palette
img]http://forums.rleague.com/images/avatars/westsig.gif[/img]
go the mighty maggies.
(thanks yakstorm)
i regularly visit a rugby league version of these forums. i have amassed almost 2k worth of messages.
Posts: 17
Threads: 6
Joined: Jan 2002
Dear god!
If you have pp256, then use the usersub that comes with it. The 2 main functions in there to help you load the data is:
sub InitImageData
sub MakeImageIndex
Some example code:
Code:
Redim shared TileSet( 1 to 1 ) as integer ' to hold the data
Redim shared TilsetIndex(1 to 1 ) as integer 'Index to hold start of each graphic
InitImageData "",TileSet() 'To load in data
MakeImageIndex TileSet(),TileSetIndex() ' to make a look up for the data to the start of each graphic
hope that helps, if not ill send a demo to you ;-)
-Kackurot
he Legend Continues..........
Pick up DBZ budaki today!!! ;-)
Posts: 46
Threads: 12
Joined: Dec 2002
Quote:Dear god!
If you have pp256, then use the usersub that comes with it. The 2 main functions in there to help you load the data is:
sub InitImageData
sub MakeImageIndex
Some example code:
Code:
Redim shared TileSet( 1 to 1 ) as integer ' to hold the data
Redim shared TilsetIndex(1 to 1 ) as integer 'Index to hold start of each graphic
InitImageData "",TileSet() 'To load in data
MakeImageIndex TileSet(),TileSetIndex() ' to make a look up for the data to the start of each graphic
hope that helps, if not ill send a demo to you ;-)
-Kackurot
demo please :normal: :???:
:-?
img]http://forums.rleague.com/images/avatars/westsig.gif[/img]
go the mighty maggies.
(thanks yakstorm)
i regularly visit a rugby league version of these forums. i have amassed almost 2k worth of messages.
Posts: 142
Threads: 33
Joined: Dec 2001
Dude, i dont wanna be rude or anything, but WTF!!!! Kackurot basicly did everything for you! does he have to come to your house, boot your computer up, open qb, type it out, and leave a note on you monitor showing you how he did it in case you didnt see! look at the readme, look at the code provided by Kackurot, do it! if you get genuinely stuck at a certain point, ask for help then!!!! :evil:
Posts: 46
Threads: 12
Joined: Dec 2002
pretty much dude
its like me trying to teach you japanese.(im assuming you dont know any jap)
img]http://forums.rleague.com/images/avatars/westsig.gif[/img]
go the mighty maggies.
(thanks yakstorm)
i regularly visit a rugby league version of these forums. i have amassed almost 2k worth of messages.
Posts: 6,419
Threads: 74
Joined: Mar 2002
Westie, it is because Kakurot gave you an example already... What else do you need?
What is exactly what you don't understand?
Do you know how files are loaded in QB? Do you know how arrays work? maybe you should learn the basics before trying to learn the intermediate stuff.
Posts: 17
Threads: 6
Joined: Jan 2002
Hay westie, did you get my demo i sent? It uses everything you need from loading in the graphics to manipulating the palette. I commented all the stuff you need. If you still don't get it u need to read pp256 doc and a tut on get and put with arrays. Cause i have tried
-Kackurot
he Legend Continues..........
Pick up DBZ budaki today!!! ;-)
Posts: 46
Threads: 12
Joined: Dec 2002
yeh, thanks buddy
img]http://forums.rleague.com/images/avatars/westsig.gif[/img]
go the mighty maggies.
(thanks yakstorm)
i regularly visit a rugby league version of these forums. i have amassed almost 2k worth of messages.