Announcement

User registrations are currently disabled due to high spam traffic.

#1 25/08/06 8:34pm

soulofdarkness
Moderator
From: Tallinn
Registered: 25/08/06
Posts: 401

Technical questions

I'm a flasher, and i have a PSP with filmaware 2,8, flash player enabeled.
I wanna do some little time-killig games and this things i know for shure:
- screen size - 480*272
- export to Flash Player 6.
- d-pad, X-button and joypad keycodes.
- the .swf file must not be bigger than 1mb.

But i still have some questions:
- Framerate: what is optimal?
- Is it possible to use right-clicking or should i make virtual buttons for that?


I bite!
surprise

Offline

 

#2 25/08/06 9:19pm

Jake
Administrator
Registered: 29/04/06
Posts: 307

Re: Technical questions

right clicking is not possible in the psps browser. The frame rate really depends on how much code their is running and how complex that code is. I have found that on the psp the frame rate is limited but can be as high as 26fps. A game like jelly (see in the games section) has an average frame rate of about 12fps. I use the following code to get the frame rate of a game and to adjust things slightly to get a higher frame rate.

Code:

this.onEnterFrame = function(){
    timeb=time;
    time = getTimer();
    fps = Math.round(1000/(time-timeb));
}

Good luck in making some flash content and do not be put off by others saying flash player 6 is ancient - you can still do most of the things you need to make a game. I have had no problems at all. And if you don't mind I would be interested in seeing what you come up with and hopefully host the content for you, if you would like.


moose

Offline

 

#3 30/08/06 11:55am

soulofdarkness
Moderator
From: Tallinn
Registered: 25/08/06
Posts: 401

Re: Technical questions

thanks! Righ now were (me and my webfriend) are working on a RPG, will be reaby soon (i hope)

P.S. and Flash Player 6 is for Macromedia Flash MX?

Last edited by soulreaver (30/08/06 12:43pm)


I bite!
surprise

Offline

 

#4 30/08/06 4:01pm

tallphil
Banned
From: UK
Registered: 29/04/06
Posts: 825
Website

Re: Technical questions

Sounds excellent - let us know how you're getting on smile
Flash Player 6 is the player associated with Flash MX, but all of the versions of Flash after MX (MX 2004, 8) can also publish in Flash 6 format - in the publish menu window there should be an option with all of the different output options...


PSP Flash Gaming creator

Offline

 

#5 09/10/06 4:17pm

soulofdarkness
Moderator
From: Tallinn
Registered: 25/08/06
Posts: 401

Re: Technical questions

em... how to use the fps code again? can't figure it out   scratchchin


I bite!
surprise

Offline

 

#6 09/10/06 4:57pm

Jake
Administrator
Registered: 29/04/06
Posts: 307

Re: Technical questions

if you copy the code from the previous post and just place it in the frame that the game is running on (you will probably have a function that is running every frame so you could just use the 3 middle lines like

Code:

timeb=time;
time = getTimer();
fps = Math.round(1000/(time-timeb));

And you should then get the frame rate in a variable called fps.


moose

Offline

 

#7 09/10/06 5:39pm

soulofdarkness
Moderator
From: Tallinn
Registered: 25/08/06
Posts: 401

Re: Technical questions

Cool, thanks!


I bite!
surprise

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson