• Welcome to Dark Bit Factory & Gravity.
 

New tinyptc library

Started by Rbz, September 12, 2006

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DrewPee

Thanks Rbraz!
So . . . it was me being dim . . . :)

Regards Drew
DrewPee
aka Falcon of The Lost Boyz (Amiga)
Ex-Amiga Coder and Graphic Designer
Administrator of > www.retrocomputermuseum.co.uk

Clyde

#41
Rbraz my man, Im having big problems with using the keys with in programs

For example if I have transitions that are activated by the Escape key Or Tab, the transition code will be ignored and the program simply terminates.

Maybe there is a way to flush the keybuffer in one of those libraries, or can it be simply removed from the includes ( as Im using PTC_Close() after everything is done) ?

Btw, I am using the DDraw and MMX adaption to TinyPTC you made and not the ogl stuff.

Cheers and many thanks,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Rbz

Ok, I'll compile another library without escape key later, but you will need to keep using "GetAsyncKeyState" api command since I don't know how to make it compatible with Freebasic inkey$ command.

That's ok for you  ???
Challenge Trophies Won:

Clyde

#43
Ok dude, that'll be super and thank you. And please the direct Draw & mmx one. This'll be so cool :)

Cheers buddy,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

Rbz

Here's the special lib version for you Clyde, I'm using the old FB 0.15 , I guess you will need to change that "tinyptc.bi" included.

Good luck!
Challenge Trophies Won:

Clyde

Cheers buddy much appreciated.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

DrV

Just dropping by because I noticed a possible bug which occurred in Lithium's AntiMan and shockwave's invite for the 20 sec compo - I normally have FRAPS running in the background to monitor framerates of stuff and take vids, and when I run a program using this TinyPTC replacement (at least that's what I assume the culprit is), my primary monitor is totally black after the program exits and won't repaint until I drag some specific programs across it (I have a dual-monitor setup).  Not sure if this is a FRAPS bug or a problem with this lib or both, but just wanted to let you know.  If I close FRAPS first and then run the programs, they work fine, so I'd lean toward it being a problem with FRAPS, but then again, FRAPS seems to work fine with other programs.  No big worries, just a heads up.  (btw, FRAPS reports a nice steady 60 FPS :))

Shockwave

Thanks DrV :) Rbraz will find this feedback useful I am sure. He likes to do the best ob he can on Ptc :)
Shockwave ^ Codigos
Challenge Trophies Won:

Rbz

This version of TinyPTC was coded by Gaffer 6 or 7 years ago  :o

It could fail with some new software that use directx, I had a similar problem using a software called "MediaKey", I need to uninstall it to run Tinyptc programs.
Challenge Trophies Won: