Qbasicnews.com
My TinyPTC Extension Library (WARNING: LARGE IMAGES) - Printable Version

+- Qbasicnews.com (http://qbasicnews.com/newforum)
+-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html)
+--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html)
+---- Forum: FB Projects (http://qbasicnews.com/newforum/forum-16.html)
+---- Thread: My TinyPTC Extension Library (WARNING: LARGE IMAGES) (/thread-5264.html)

Pages: 1 2 3 4 5


My TinyPTC Extension Library (WARNING: LARGE IMAGES) - KiZ - 12-23-2004

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.


My TinyPTC Extension Library (WARNING: LARGE IMAGES) - adosorken - 12-26-2004

Glad it was of use to someone Big Grin


My TinyPTC Extension Library (WARNING: LARGE IMAGES) - marinedalek - 12-27-2004

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???


My TinyPTC Extension Library (WARNING: LARGE IMAGES) - adosorken - 12-27-2004

No clue. Big Grin Could you post the code you're using to initialize the library?


My TinyPTC Extension Library (WARNING: LARGE IMAGES) - marinedalek - 12-27-2004

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.


My TinyPTC Extension Library (WARNING: LARGE IMAGES) - adosorken - 12-27-2004

Does the same thing for me too. Weird. Sad Might be a problem in the import library though...


Request... - Ryan - 12-27-2004

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?


My TinyPTC Extension Library (WARNING: LARGE IMAGES) - adosorken - 12-27-2004

You could always use Advance.Put... Wink converts .PUT images to BMP images. Big Grin


Re: Request... - Dr_Davenstein - 12-29-2004

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