Author Topic: JAPI  (Read 2699 times)

0 Members and 2 Guests are viewing this topic.

JRS

  • Guest
JAPI
« on: May 18, 2013, 10:06:40 PM »
Here are some of the JAPI examples I have running on Ubuntu 12.04 LTS 64 bit with a freshly compiled 64 bit japi.so extension module. (gcc) I just posted the Windows XP equivalent them with a MS VC10 recompiled DLL extension module.

ScriptBasic JAPI Examples & Info
« Last Edit: May 19, 2013, 08:41:31 PM by JRS »

efgee

  • Guest
Re: JAPI
« Reply #1 on: May 21, 2013, 10:38:56 AM »
I thought JAPI's development ceased several years ago...

Anyway, looking good.

JRS

  • Guest
Re: JAPI
« Reply #2 on: May 21, 2013, 10:58:24 AM »
I just rebuilt the JAPI.jar and extension modules for both Ubuntu 64 and Windows 32 using the latest dev tools from Java.

Both Windows and Linux versions snap on the screen with no delay. Amazing what updating the libraries after 10 years can do.  :o

@peter: I removed the j_sleep(50) from the video.bas example and I don't think we are going to have any problems running your games on JAPI. (ball movement was almost a blur it ran so fast  :o )

FYI CPU usage averaged 3% while running the sequence of bitmaps (updated from memory) at accelerated frame rates.
« Last Edit: May 21, 2013, 01:54:27 PM by JRS »

JRS

  • Guest
Re: JAPI
« Reply #3 on: May 22, 2013, 10:36:41 AM »
I have made some progress with the JAPI extension module and have Java Swing working instead of AWT. This is still in the early testing phase but it may be the ticket to give JAPI a second life.  8)




JRS

  • Guest
Re: JAPI
« Reply #4 on: May 23, 2013, 09:37:03 AM »
I rebuilt the JAPI extension module for Windows with swing and I'm very please with it. (better UI, faster, smoother, ..) You can get the updated japi.dll I posted on the ScriptBasic forum.

JRS

  • Guest
ScriptBasic JAPI 2.0 (release canidate)
« Reply #5 on: May 23, 2013, 06:01:36 PM »
I just posted a JAPI 2.0 release candidate for the Windows 32 version of ScriptBasic. (use SB 2.2 beta for best results)

Get it HERE.