Hiya,
I know this isn't going to be super speedy or anything, but I've been going through stuff that I did in Blitz and working on making PB versions of them. This was in the process of doing a little starfield parallaxing thingy.
I'm finding a lot of things that PB has that Blitz doesnt, as well as finding things that Blitz has that PB doesn't.
Two functions that I used in Blitz are TileBlock and TileImage. They both take a sprite and cover the background with it, with TileBlock doing it destructively and TileImage using transparency. I don't know if PB has something that does this or not, but I couldn't find it so I coded up a quick one using PB procedures.
I've only set this up for use with a starfield and I haven't fully debugged it. Looks just fine with the starfield, but when I loaded up a different tileset the spacing acted a bit funny, so I'll dig into that later and figure it out.
Anyway, if you've any use for this, wanna make it better, faster, etc., feel free.
Code and assets: Click Here.
-Krylar
TileBlock and TileImage
TileBlock and TileImage
Visit me on the web
John Logsdon - Author, Musician, Geek
John Logsdon - Author, Musician, Geek
DisplaySprite and DisplayTransparentSprite seem to only display one at a time. There's an argument to have them display all over the background?TileBlock = DisplaySprite
TileImage = DisplayTransparentSprite
-Krylar
Visit me on the web
John Logsdon - Author, Musician, Geek
John Logsdon - Author, Musician, Geek
Pretty much what I'm doingtexxsound wrote:I just skipped through the code but why didn't you use a Repeat-Until loop with FlipBuffers() and SetFramerate(100)? Wouldn't it be less lavishly ...![]()
Just a thought...
nevermind

Visit me on the web
John Logsdon - Author, Musician, Geek
John Logsdon - Author, Musician, Geek
so i just outed myself as a noob again.. lolKrylar wrote:Pretty much what I'm doingtexxsound wrote:I just skipped through the code but why didn't you use a Repeat-Until loop with FlipBuffers() and SetFramerate(100)? Wouldn't it be less lavishly ...![]()
Just a thought...
nevermind
Some do code in sweet delight, some do code in endless night