Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pixel Plus 256
#1
Hey guys, I know I am just being lazy, but how do you load the images into your QBASIC program after you've made them in PP256? I am sorry that I am so lazy but you guys can explain it better than they can in my personal opinion.

=Nova
ovaProgramming.

One night I had a dream where I was breaking balls. The next morning, BALLSBREAKER was born.

Quote: Excellent. Now you can have things without paying for them.

BALLSBREAKER 2
~-_-Status Report-_-~
Engine: 94%
Graphics: 95%
Sound: 100%
A Severe Error has crippled BB2 for the time being... I have to figure it out, but until then you won't see much of it Sad.
-----------------------------
Reply
#2
The manual is very explanatory. You can also check Zeldatut by relsoft, or follow any of the directions already given in this forum (sorry, I can't help further, I am one of those morons who don't use PP256 :lol: Wink ).
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
Here Nova Smile:

Code:
DEFINT A-Z
SUB HARloadPut (FileName$, Array() AS INTEGER)
   l& = 0
   FF= FREEFILE
   OPEN FileName$ FOR BINARY AS #FF
      l& = LOF(FF)
   CLOSE #FF
   Ints = (l& - 7) \ 2
   REDIM Array(Ints) AS INTEGER
   DEF SEG = VARSEG(Array(0))
   BLOAD FileName$, 0
   DEF SEG
END SUB

This piece of code will load a PP256-PUT file into an array, after which you can do sth like this LoL:
Code:
SCREEN 13
DIM MyArray(0) AS INTEGER
HARloadPut "MYPUT.PUT", MyArray()
PUT (0,0), MyArray, PSET
Reply
#4
THanks NEO but it comes back saying duplicate definition on

REDIM Array(Ints) AS INTEGER


and I really don't know how to fix that cause im a newbified programmer. ummm.... help:?
ovaProgramming.

One night I had a dream where I was breaking balls. The next morning, BALLSBREAKER was born.

Quote: Excellent. Now you can have things without paying for them.

BALLSBREAKER 2
~-_-Status Report-_-~
Engine: 94%
Graphics: 95%
Sound: 100%
A Severe Error has crippled BB2 for the time being... I have to figure it out, but until then you won't see much of it Sad.
-----------------------------
Reply
#5
Code:
'$DYNAMIC

is missing, so your arrays are static and you can't REDIM them.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)