Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My TinyPTC Extension Library (WARNING: LARGE IMAGES)
#41
Hey Nek, Nice going on the extension! I love it!

I was desperatly in need of a bitmap routine for FB, and i was running out of time... Then i found PTCexl. Good job man! Damn easy to use, useful functions, and easy to follow documentation.
Reply
#42
Glad it was of use to someone Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#43
just a quick question... when I compile a program using PTCXL, the window isn't at the correct size (i.e. the workspace will be set at 640x480 if set as such, but the program window will be different). Hence there is blurring present where the image is anti-aliased. This doesn't happen in the demo provided. what am I doing wrong???
8% of the teenage population smokes or has smoked pot. If you're one of the 2% who hasn't, copy and paste this in your signature.
Reply
#44
No clue. Big Grin Could you post the code you're using to initialize the library?
I'd knock on wood, but my desk is particle board.
Reply
#45
Code:
'initialisation
const scr_width = 320
const scr_height = 240
'$include: "ptcxl.bi"
'$DYNAMIC
if ptc_init("PTC TEST") <> 1 then system
ptc_clsx 0
ptc_refresh
'main loop
do
    for i% = 0 to 10000
        z = int(rnd*255)
        ptc_pset(int(rnd*320),int(rnd*240),z,z,z)
    next i%
    ptc_refresh
loop until inkey$ <> ""
PTC_CLOSE

That's the whole program (just a test program really). It doesn't matter what I change the width & height to, the window is always a little out. I'm using XP Pro and vongodric's IDE.
8% of the teenage population smokes or has smoked pot. If you're one of the 2% who hasn't, copy and paste this in your signature.
Reply
#46
Does the same thing for me too. Weird. Sad Might be a problem in the import library though...
I'd knock on wood, but my desk is particle board.
Reply
#47
If you need a break from some productive programming.. I was wondering how much trouble it would be to get sprite arrays a la PP256. Or should I just do that myself?
Reply
#48
You could always use Advance.Put... Wink converts .PUT images to BMP images. Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#49
Quote:If you need a break from some productive programming.. I was wondering how much trouble it would be to get sprite arrays a la PP256. Or should I just do that myself?

See dude, I told you someone would use it. Tongue
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)