You are not logged in.
Announcement
#1 25/01/08 1:04pm
- Jake
- Administrator
- Registered: 29/04/06
- Posts: 307
PSP Flash Gaming Source code
This is a new thread for me and other developers to post source code. Hopefully this will get more people developing flash for the PSP.
My first offering is some code that can not be found elsewhere, it is code specifically designed for the PSP and will not work on the PC.
Download the save source code
I developed this code for use in the game Roobix, It uses both Flash and JavaScript and exploits the fact that the the PSPs web browser can remember user input. I have another idea for using the bookmarks file to save game data as a url however that would result in a messy bookmarks file.
Offline
#2 25/01/08 2:25pm
- DarthFALCO
- Regular Member
- Registered: 13/05/07
- Posts: 44
- Website
Re: PSP Flash Gaming Source code
This is a good idea Jake.
Thanks for that first one. My Flash MX won't open the FLA though, it says Unknown File Format.
Offline
#3 25/01/08 3:15pm
Re: PSP Flash Gaming Source code
maybe made in MX2007 or 8 or CS3...
To Jake. Maybe have a portal for souce where people can upload FLA and SWF files.
Last edited by Zuriki (25/01/08 3:18pm)
[img]http://img134.imageshack.us/img134/9129/headerxt2.png[/img]
[url=http://zuriki.co.nr/project/traveller/][img]http://i28.tinypic.com/2vspafo.png[/img][/url]
[url=http://zuriki.co.nr]Zuriki - PSP Flash Games[/url]
Offline
#4 25/01/08 5:28pm
- Jake
- Administrator
- Registered: 29/04/06
- Posts: 307
Re: PSP Flash Gaming Source code
We did have an upload site but it was insecure and it had a malicious script uploaded.
However I will upload scripts to the site if people email them to me.
The above code was created for use in flash 8, I will save it as an MX compatible file however I am not sure which version I can do (i think its mx2004).
Offline
#5 25/01/08 8:31pm
Re: PSP Flash Gaming Source code
MX2008 min. I can convert to MX on monday for you.
As for user uploads make FLA and SWF only.
But make a subdomain or something like:
sauce.pspflashgaming.com
lol (on purpose).
Maybe you manage it manually. Im only here to help and give ideas. Anything just ask!
Add some basics like movement and mouse clicks.
[img]http://img134.imageshack.us/img134/9129/headerxt2.png[/img]
[url=http://zuriki.co.nr/project/traveller/][img]http://i28.tinypic.com/2vspafo.png[/img][/url]
[url=http://zuriki.co.nr]Zuriki - PSP Flash Games[/url]
Offline
#6 26/01/08 1:49am
- DarthFALCO
- Regular Member
- Registered: 13/05/07
- Posts: 44
- Website
Re: PSP Flash Gaming Source code
Thank you Jake. I would need it in MX 2004 if that is OK.
Offline
#7 26/01/08 10:19am
Re: PSP Flash Gaming Source code
I though fscommand was only for .exe projectors!?
[img]http://img134.imageshack.us/img134/9129/headerxt2.png[/img]
[url=http://zuriki.co.nr/project/traveller/][img]http://i28.tinypic.com/2vspafo.png[/img][/url]
[url=http://zuriki.co.nr]Zuriki - PSP Flash Games[/url]
Offline
#8 26/01/08 3:48pm
- nahkranoth
- Member
- Registered: 26/07/07
- Posts: 14
Re: PSP Flash Gaming Source code
I'm willing to post my sourcecode of psp flash paddle.
I like the idea of having a seperated page for that? It's also nice for starting projects where multiple people can work on together.
Offline
#9 26/01/08 6:15pm
Re: PSP Flash Gaming Source code
What do people think to making this a section of the forum, then we can have a different thread for each source code upload?
Zuriki wrote:
Maybe have a portal for souce where people can upload FLA and SWF files.
Did this by modding a package, but it was still a bit dodgy and not many people really used it. I have considered writing my own upload package from scratch, designed to work with the site but it'd be a fair bit of coding and I don't really have time at the moment. If demand increases i shall consider it later maybe.
PSP Flash Gaming creator
Offline
#10 12/02/08 8:45pm
- Jake
- Administrator
- Registered: 29/04/06
- Posts: 307
Re: PSP Flash Gaming Source code
I finally have the internet, If you would like to see how something is done then I will see what I can do with regards to uploading some source code.
Offline
#11 12/02/08 8:57pm
Re: PSP Flash Gaming Source code
How does fscommand work on the PSP?
[img]http://img134.imageshack.us/img134/9129/headerxt2.png[/img]
[url=http://zuriki.co.nr/project/traveller/][img]http://i28.tinypic.com/2vspafo.png[/img][/url]
[url=http://zuriki.co.nr]Zuriki - PSP Flash Games[/url]
Offline
#12 12/02/08 9:34pm
- Jake
- Administrator
- Registered: 29/04/06
- Posts: 307
Re: PSP Flash Gaming Source code
Well it depends on what you would want to use fscommand for. The only use I have currently found is to interface with JavaScript in a HTML file. The Save Example is all I have used it for however the way flash and JavaScript talk to each other would not change.
To start with the HTML file showing where to put code can be generated by Flash itself which is useful. Change the publish settings then in the HTML tab select "Flash with FSCommand". When you publish your movie the HTML file will be generated.
I understand that some people are not using flash in which case an example of a HTML file that is generated can be found Here.
The code in flash
Code:
on (release){ fscommand("save",_root.dat); }
will call the the FSCommands in the JavaScript.
The important function in the HTML JavaScript will be similar to
Code:
function game_DoFSCommand(command, args) { // do stuff }
If people would like I will try and get some working source code compatible with liveswif.
I hope this sort of answers your question.
Offline
#13 12/02/08 9:38pm
Re: PSP Flash Gaming Source code
Yep, I always though that fscommand was reseverd for Projectors only. I never really use the HTML tab when Publishing.
[img]http://img134.imageshack.us/img134/9129/headerxt2.png[/img]
[url=http://zuriki.co.nr/project/traveller/][img]http://i28.tinypic.com/2vspafo.png[/img][/url]
[url=http://zuriki.co.nr]Zuriki - PSP Flash Games[/url]
Offline
#14 13/02/08 11:07am
- der-zef-meister
- Addict
- From: barrow-in-furness
- Registered: 21/01/07
- Posts: 267
Re: PSP Flash Gaming Source code
It'd be awesome if you could get a flash mx friendly version Jake!!
The shadow of the wicker man is rising up again...
Offline
#15 13/02/08 11:44am
Re: PSP Flash Gaming Source code
I gave you the code in another thread.
[img]http://img134.imageshack.us/img134/9129/headerxt2.png[/img]
[url=http://zuriki.co.nr/project/traveller/][img]http://i28.tinypic.com/2vspafo.png[/img][/url]
[url=http://zuriki.co.nr]Zuriki - PSP Flash Games[/url]
Offline
#16 13/02/08 11:55am
- der-zef-meister
- Addict
- From: barrow-in-furness
- Registered: 21/01/07
- Posts: 267
Re: PSP Flash Gaming Source code
Opps, sorry! I might have missed that. Let me look.
The shadow of the wicker man is rising up again...
Offline
#17 13/02/08 12:32pm
- der-zef-meister
- Addict
- From: barrow-in-furness
- Registered: 21/01/07
- Posts: 267
Re: PSP Flash Gaming Source code
for some reason Jake, I can't get your source thing to work on the psp.
The shadow of the wicker man is rising up again...
Offline
#18 13/02/08 2:44pm
- Jake
- Administrator
- Registered: 29/04/06
- Posts: 307
Re: PSP Flash Gaming Source code
I know its a stupid question but are you viewing using the html file as the swf alone wont work. Also make sure JavaScript is enabled. Roobix uses the same save method have you had that working?.
Offline
#19 13/02/08 7:26pm
- der-zef-meister
- Addict
- From: barrow-in-furness
- Registered: 21/01/07
- Posts: 267
Re: PSP Flash Gaming Source code
Okay. It works now!! Thanks.
I didn't get roobix on my PSP because I knew it would just get me frustrated
The shadow of the wicker man is rising up again...
Offline
#20 13/02/08 8:27pm
- Jake
- Administrator
- Registered: 29/04/06
- Posts: 307
Re: PSP Flash Gaming Source code
I have converted the save example in to MX format.
Here is the file in MX 2004 format.
Edit:
Link Fixed
Last edited by Jake (14/02/08 8:52am)
Offline
#21 13/02/08 8:54pm
- der-zef-meister
- Addict
- From: barrow-in-furness
- Registered: 21/01/07
- Posts: 267
Re: PSP Flash Gaming Source code
Links broken, but thanks for trying.
Thanks Jake!
Last edited by der-zef-meister (14/02/08 3:56pm)
The shadow of the wicker man is rising up again...
Offline
#22 09/05/08 8:29pm
Re: PSP Flash Gaming Source code
Why did this never kick off?
Actually I forgot about this topic, I decided to bump when I needed the save source file.
[img]http://img134.imageshack.us/img134/9129/headerxt2.png[/img]
[url=http://zuriki.co.nr/project/traveller/][img]http://i28.tinypic.com/2vspafo.png[/img][/url]
[url=http://zuriki.co.nr]Zuriki - PSP Flash Games[/url]
Offline