FBA The Creator
http://www.fbacreator.com/fbaforum/

Option for running games on the PC
http://www.fbacreator.com/fbaforum/viewtopic.php?f=5&t=40
Page 1 of 2

Author:  cic.lemur [ Wed Apr 30, 2008 4:06 am ]
Post subject:  Option for running games on the PC

Hi, all quiet in the forums. Hope you don't give up on this project of yours. :roll:

Anyway, was wondering if it's possible to compile a project to be executable
(standalone) on the PC as opposed to just on a PPC? This would be useful for
people without PPC.

Author:  cic.lemur [ Wed Apr 30, 2008 4:26 am ]
Post subject:  Re: Option for running games on the PC

Ok sorry about this, I didn't check your new release before writing :oops:

Anyway is the onsuspend and onresume events (to help during incoming calls)
ready yet?

Author:  evilmaio [ Wed Apr 30, 2008 7:47 am ]
Post subject:  Re: Option for running games on the PC

Hi,

adding onsuspend/onresume events won't be enough :)
We need a function to allow FBA to hide main window, while you receive a call.
Then, when your call is finished, we'll need to reopen suspendend window while you click again on your application link. Actually it will open another instance of the game/application...
I haven't a phone PDA to test this changes; i have to check if on PPC emulators there's a way to simulate a call.
I'll let you know ;)

Author:  evilmaio [ Fri May 02, 2008 12:34 pm ]
Post subject:  Re: Option for running games on the PC

Ok, can you check latest release (0.2.0.91).
This could introduce a better handling for external events (incoming calls etc..)
I tested it just on the emulator btw :(
Hopefully this should work better :D

Author:  cic.lemur [ Mon May 05, 2008 1:07 am ]
Post subject:  Re: Option for running games on the PC

evilmaio wrote:
Ok, can you check latest release (0.2.0.91).
This could introduce a better handling for external events (incoming calls etc..)
I tested it just on the emulator btw :(
Hopefully this should work better :D


Ok, I'll test it out

Author:  cic.lemur [ Mon May 05, 2008 1:41 am ]
Post subject:  Re: Option for running games on the PC

This is my test code

Code:
 
a = "apple"
b = "hasn't lost focus"

function onmainloop()
       
        if a == "apple" then

                clear(0,0,0)

                print(20,20,clock(), 255, 255,255)
       
                print(20,70,b, 255, 255,255)

        end
       
       
end

function onstylusdown(x,y)
        quit()
end

function onlostfocus()
        a = "zero"
        b = "lost focus"
end       


function ongotfocus()

        a = "apple"       
end



Screenshots attached shows some problems, however phone response is much better now, compared to before.

Attachments:
File comment: After effects of a call - little blotch on bottom menu, some times it's there, sometimes it's not
Screenshot_4.png
Screenshot_4.png [ 11.24 KiB | Viewed 15040 times ]
File comment: During ringing, dialog box which should be displaying incoming call is black, however the buttons to answer the call works just fine. The black area is actually the FBA program, ie if FBA had a red background, it'll appear as red
Screenshot_3.png
Screenshot_3.png [ 8.31 KiB | Viewed 15038 times ]

Author:  evilmaio [ Mon May 05, 2008 6:35 am ]
Post subject:  Re: Option for running games on the PC

This is exactly the emulator behavior I had.

Are you testing on it?

Author:  cic.lemur [ Mon May 05, 2008 7:55 am ]
Post subject:  Re: Option for running games on the PC

Nope, I used my PDA phone. I guess the emulator gives an accurate account.

Author:  Boiled Sweets [ Thu Jul 10, 2008 11:07 am ]
Post subject:  Re: Option for running games on the PC

OK tried it on my phone - when an incoming call comes then FBA closes!

Thats not so good...

Author:  evilmaio [ Thu Jul 10, 2008 11:10 am ]
Post subject:  Re: Option for running games on the PC

Are you sure ? Maybe it just minimized itself...
Just tried with an empty project, it worked.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/