Announcement

User registrations are currently disabled due to high spam traffic.

#1 11/04/08 9:17pm

Zuriki
Flash Dev (The Lazy One)
From: Manchester
Registered: 18/01/08
Posts: 755
Website

Key Control Systems for PSP

O== | Contents | ==O
[- Section 1 -]
1.1. Accessible Keys
1.2. Base Action Script for Keys

[- Section 2 -]
2.1. General
2.2. RPG
2.3. Platformer
2.4. Racing
2.5. FPS

[- Section 3 -]
3.1. Effective Analogue
3.2. Effective X
3.3. Effective D-Pad
O============O

O== | Section 1 | ==O
Part 1: Accessible Keys
The PSP has many buttons but for flash games these are limited to:
"X" Button
Directional Pad (Arrows)
Analogue Stick

Part 2: Base Action Script for Keys
For the "X" Button:
The X button acts like a mouse click therefore on buttons the code should be:

Code:

on(release){
    //actions go here
}

Though if it is a movieclip (this does not mean that the movieclip will act like a button!):

Code:

onClipEvent(mouseDown){
    //actions go here
}

The Directional Pad acts like the arrow keys on the Computer (Not WASD!):

Code:

onClipEvent(enterFrame){
    if(Key.isDown(Key.LEFT)){
        //actions go here
    }
    if(Key.isDown(Key.RIGHT)){
        //actions go here
    }
    if(Key.isDown(Key.UP)){
        //actions go here
    }
    if(Key.isDown(Key.DOWN)){
        //actions go here
    }
}

The Analogue Stick acts as a mouse. There for to use it there is no code required. This doesn't mean you can't include code to make it have some affect, example:

Code:

on(rollOver){
    //actions go here
}

That means if the cursor (displayed on PSP) crosses over a button then so and so will happen.

O== | Section 2 | ==O
Part 1: General
Generally the layout for keys are:
Directional Pad = Movement
Analouge stick = To aim the cursor
X = To perform an action (Click a button/Attack/Jump/etc.)

I have compiled a list of good control schemes for a variety of genres of games.

Part 2: RPG
Directional Pad = Movement
X = Attack/Perform Action(Special)
Analogue Stick = Select weapon/item (requires the weapons and items on the in-game GUI and selects by hovering over)

Part 3: Platformer
Directional Pad = Movement/Jump
Analouge stick = Nothing/Aim(Special)
X = To perform an action/shoot

Part 4: Racing
Directional Pad = Change Gear
Analouge stick = Steer/Brake or Boost
X = Select/Boost or Brake

Directional Pad = Steer/Boost/Brake
Analouge stick = Change Gear(Intermediate)
X = Select/Nothing

Part 5: FPS
Directional Pad = Change Weapon/Reload/Take Cover(Intermediate)
Analouge stick = Aim
X = Shoot

O== | Section 3 | ==O
Part 1: Effective Analogue
The analogue is probably the most ineffective key in flash games. But that doesn't mean it's useless. No sir-ry bob, in the right hands the analogue can be very useful as a substitute for the D-Pad or Even with some scripting be made be more accurate.

Like mentioned in the (S2,P2) RPG part. It can be used to switch weapons by hovering over the icon. This is best done with the items displayed along the bottom with wide-ish buttons and maybe overflow scrolling (2 arrows on either side on the items also just hover over).

Making it more accurate. How? Well very useful in FPS games as it can be tedious aiming with the analogue... Well this is an advanced technique really for flash games and isn't exactly practical but useful none the less. If the coder were to make the aiming reticle lock on (aim assist) then it would be a lot easier for the analogue to be used to aim at enemies/etc.

Part 2: Effective X
Probably in conjunction with the D-Pad this is the most important key. It doesn't take much to make this effective but here are some precautions.

Don't overstock the X key making it do more than 1 action isn't advised unless there are special trigger only actions and won't interfere with the others.

Part 3: Effective Directional Pad
Again most important keys.

Same procidure with these as the X Button don't overstock should be a problem if you are using as movement as you will probably avoid using these again anyway.

Written By Zuriki

PM me to request other Control Schemes and specific control schemes for your games.

Last edited by Zuriki (11/04/08 9: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

 

#2 12/04/08 7:27am

yotonah
Moderator
From: nottingham
Registered: 12/02/08
Posts: 410

Re: Key Control Systems for PSP

lol. those are my rpg's controls. nice stuff. hopefully we'll see some games with these control schemes.

Offline

 

#3 12/04/08 8:01am

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: Key Control Systems for PSP

Good job. Thread sticked.


[url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

Offline

 

#4 12/04/08 9:41am

Dezerith
Moderator of Doom.
Registered: 27/07/07
Posts: 196
Website

Re: Key Control Systems for PSP

Nice one, this will come in handy.


[img]http://i26.tinypic.com/28iys08.jpg[/img]
[img]http://www.resiststorage.org/images/blazebytedev53.png[/img]
[img]http://www.resiststorage.org/images/PSPflashForDezBzeByteDev4.png[/img]

Offline

 

#5 12/04/08 7:51pm

jfig111
Addict
Registered: 29/10/07
Posts: 288

Re: Key Control Systems for PSP

Using the mouse click for jump would be better, since you can't use 2 arrow keys at once on PSP, meaning you can't move around in the air when you jump, making jumping pointless.


Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.

Offline

 

#6 12/04/08 11:22pm

Zuriki
Flash Dev (The Lazy One)
From: Manchester
Registered: 18/01/08
Posts: 755
Website

Re: Key Control Systems for PSP

You tap up  o jump with a small delay and hold left or right.


[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

 

#7 13/04/08 7:26am

jfig111
Addict
Registered: 29/10/07
Posts: 288

Re: Key Control Systems for PSP

Zuriki wrote:

You tap up  o jump with a small delay and hold left or right.

I'm not stupid. I know that, but for a sidescroller on PSP, it's a pain in the arse.


I assume you wouldn't know that, because nobody here except me have finished a sidescrolling platform game.


Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.

Offline

 

#8 13/04/08 9:02am

JaXeRiR
Elite Moderator
From: Teh Interwebz
Registered: 25/03/07
Posts: 1925
Website

Re: Key Control Systems for PSP

jfig111 wrote:

Zuriki wrote:

You tap up  o jump with a small delay and hold left or right.

I'm not stupid. I know that, but for a sidescroller on PSP, it's a pain in the arse.


I assume you wouldn't know that, because nobody here except me have finished a sidescrolling platform game.

What about Jelly? wink


[url=http://profile.mygamercard.net/JaX3RiR][img]http://card.mygamercard.net/nxe/JaX3RiR.png[/img][/url]

Offline

 

#9 13/04/08 11:24am

der-zef-meister
Addict
From: barrow-in-furness
Registered: 21/01/07
Posts: 267

Re: Key Control Systems for PSP

Jfig, Isn't that a bit big headed?

Granted it may be finished but it isn't a long game and to be perfectly honest it isn't all that brilliant. The graphics are half-baked, the game play is extremely linear and most of the "game" is looking at dialogue between the characters.

Zuriki obviously knows more than you here my friend, so before you try to insult his intelligence then consider where you stand.


The shadow of the wicker man is rising up again...

Offline

 

#10 13/04/08 11:27am

yotonah
Moderator
From: nottingham
Registered: 12/02/08
Posts: 410

Re: Key Control Systems for PSP

i prefer X to jump. just sayin'

Offline

 

#11 13/04/08 3:51pm

nothing
Moderator
Registered: 21/03/08
Posts: 389

Re: Key Control Systems for PSP

Me too.


[url=http://pspflashgaming.com/forum/viewtopic.php?id=1078]BioShock[/url] PSP|fPS-Factor Released|[url=http://www.p22server.hostwq.net/index.html]p22 Center[/url]

I'm starting p22 again.

Offline

 

#12 13/04/08 8:11pm

jfig111
Addict
Registered: 29/10/07
Posts: 288

Re: Key Control Systems for PSP

JaXeRiR wrote:

jfig111 wrote:

Zuriki wrote:

You tap up  o jump with a small delay and hold left or right.

I'm not stupid. I know that, but for a sidescroller on PSP, it's a pain in the arse.


I assume you wouldn't know that, because nobody here except me have finished a sidescrolling platform game.

What about Jelly? wink

Lol, jelly is a target game....I love it though.

@der:

Which one of my games are you talking about? I'm upset with Zuriki because he's insulted my work when he hasn't shown that he can do better, so far, he has finished a game that was very small, and didn't require much knowledge of actionscript.

On the other hand, you've finished some things and I have seen that you are capable of finishing things, where else alot of so called "Developers" here aren't.


Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.

Offline

 

#13 14/04/08 3:33pm

Zuriki
Flash Dev (The Lazy One)
From: Manchester
Registered: 18/01/08
Posts: 755
Website

Re: Key Control Systems for PSP

Jfig you are right you know more about side scrollers than I do. Infact you know more about flash than I do despite not actually owning a copy of flash.[/sarcasm]

Actually I do know what a pain in the arse platformer games are in the PSP but it isn't hard to implement a timed jump system with a little bit of effort. Sure you can use 'X' for jump 'Up' for action. These are just "suggested" control systems.

Also about grudges you hold them close don't you? I simply made some comments on how I disliked your game I gave you suggestions on improving yet you insult my game and then use it in yours! I think that is both selfish and ironic.

Also I am planning on scraping my current projects (leaving 69C to work on Escape) and start focusing on a different game that should be quiet fun. Kinda adventure game keeping with 8-bit retro graphics. Happy?

Last edited by Zuriki (14/04/08 3:39pm)


[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 14/04/08 3:39pm

Vertman
Regular Member
From: Manchester
Registered: 23/01/08
Posts: 43
Website

Re: Key Control Systems for PSP

jfig111 wrote:

Zuriki wrote:

You tap up  o jump with a small delay and hold left or right.

Nobody here except me have finished a sidescrolling platform game.

Yeah, and it SUCKED BIG BALLS.

Last edited by Vertman (14/04/08 3:41pm)


[img]http://img179.imageshack.us/img179/5049/sigz0rdia9.png[/img]

Offline

 

#15 14/04/08 5:14pm

jfig111
Addict
Registered: 29/10/07
Posts: 288

Re: Key Control Systems for PSP

Zuriki wrote:

Jfig you are right you know more about side scrollers than I do. Infact you know more about flash than I do despite not actually owning a copy of flash.[/sarcasm]

Actually I do know what a pain in the arse platformer games are in the PSP but it isn't hard to implement a timed jump system with a little bit of effort. Sure you can use 'X' for jump 'Up' for action. These are just "suggested" control systems.

Also about grudges you hold them close don't you? I simply made some comments on how I disliked your game I gave you suggestions on improving yet you insult my game and then use it in yours! I think that is both selfish and ironic.

Also I am planning on scraping my current projects (leaving 69C to work on Escape) and start focusing on a different game that should be quiet fun. Kinda adventure game keeping with 8-bit retro graphics. Happy?

Yeah, some "GREAT" suggestions. Sorry, I did kinda break out but seriously,

I'm not one for scrapping projects. I don't think anybody should scrap a project if it is hard, or doesn't get good reviews.

Look on your site, I see "Pocket Quest", "Space Cowboy", "Space Invaders" and "Escape". I'm actually very excited to see these games, but it seems that you have "Scrapped all your current projects". Why start something, keep the hype, and then stop it?

Come on pspflashgaming, there should be no reason you should scrap a project. I didn't scrap Super Smash Bros PSP, even so it seemed impossible to make at that time. I put it on hold, and then after a while, I got up and finished it.

It was very, very, very, very hard to make, but I didn't give up, and I did my best to finish it, and people all over PSU, PSPDemocenter, blazebyte.net, all loved it. And the ones who didn't over there, spent time and made revised versions from my source code, and made concept art, and made a detailed, exact, clear list of what they wanted and what to fix.

Over here though, you wrote about 2 sentences, and some other people said:

"its a crappy gaem."
"IT SUCKED BIG BALLS"
"your game sucks dude stop maiking games"

So, I'm just kind of mad with this community, I think the rules need to be better enforced around here.


Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.

Offline

 

#16 14/04/08 6:04pm

der-zef-meister
Addict
From: barrow-in-furness
Registered: 21/01/07
Posts: 267

Re: Key Control Systems for PSP

Jfig, I remember you got mad with this community the first time we ever suggested something to you. It's part of being a developer. You're free to do your own thing but you can't make people like it.

Nobody's breaking the rules either so stop whining. Granted we are quite a tolerant community but we are fair and I have no doubt that one of the mods would help you if you were being targeted. The thing is, you aren't which is why you seem to be fighting alone.

Not that I like to take side or anything but I think Zuriki has more of a point here than you do so why don't we all calm down and let everyone do what they want. It was, after all, you who instigated this. You go ahead and let Zuriki do his thing and you can do yours. Everyone's entitled to an opinion but this just appears to be an argument. There's no need so stop (please?)


The shadow of the wicker man is rising up again...

Offline

 

#17 14/04/08 6:35pm

jfig111
Addict
Registered: 29/10/07
Posts: 288

Re: Key Control Systems for PSP

der-zef-meister wrote:

Jfig, I remember you got mad with this community the first time we ever suggested something to you. It's part of being a developer. You're free to do your own thing but you can't make people like it.

Nobody's breaking the rules either so stop whining. Granted we are quite a tolerant community but we are fair and I have no doubt that one of the mods would help you if you were being targeted. The thing is, you aren't which is why you seem to be fighting alone.

Not that I like to take side or anything but I think Zuriki has more of a point here than you do so why don't we all calm down and let everyone do what they want. It was, after all, you who instigated this. You go ahead and let Zuriki do his thing and you can do yours. Everyone's entitled to an opinion but this just appears to be an argument. There's no need so stop (please?)

"U STARTED IT".

Me and Dezerith are starting our own PSP Flash Site, where people actually finish things and give constructive criticism.


Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.

Offline

 

#18 14/04/08 8:15pm

Zuriki
Flash Dev (The Lazy One)
From: Manchester
Registered: 18/01/08
Posts: 755
Website

Re: Key Control Systems for PSP

jfig111 wrote:

Me and Dezerith are starting our own PSP Flash Site, where people actually finish things and give constructive criticism.

You can't determine what other people's actions will be thats like a dictatorship. Granted, I think it is good that you are starting your own community, it means you can do what you want on it and have what you like on it. I never saw the finished project of SSBP, I was actually looking forward to seeing it, so could you provide a link please?

Also when I say scrap that doesn't mean I won't do it ever. It means I won't be working on that and rather focusing on a single project for the duration of time.

I don't want to fuel the argument. I want to let it lye. Start over, and be friends. So, in-light of that I offer you any assistance I can offer in helping you start your site. I won't be offended if you turn me down as I know you'll have your reasons just on the condition that you don't use past arguments as a reason and therefore fuel the disputes.

I only retaliated because you acted like I was crap on your shoe and insulted me intelligence. But no reason to continue with that.

If you want I will give you early betas of my game as I progress with it.

Friends? (Looks like a rhetorical question at the end xD)

Last edited by Zuriki (14/04/08 8:17pm)


[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

 

#19 14/04/08 9:19pm

jfig111
Addict
Registered: 29/10/07
Posts: 288

Re: Key Control Systems for PSP

Zuriki wrote:

jfig111 wrote:

Me and Dezerith are starting our own PSP Flash Site, where people actually finish things and give constructive criticism.

You can't determine what other people's actions will be thats like a dictatorship. Granted, I think it is good that you are starting your own community, it means you can do what you want on it and have what you like on it. I never saw the finished project of SSBP, I was actually looking forward to seeing it, so could you provide a link please?

Also when I say scrap that doesn't mean I won't do it ever. It means I won't be working on that and rather focusing on a single project for the duration of time.

I don't want to fuel the argument. I want to let it lye. Start over, and be friends. So, in-light of that I offer you any assistance I can offer in helping you start your site. I won't be offended if you turn me down as I know you'll have your reasons just on the condition that you don't use past arguments as a reason and therefore fuel the disputes.

I only retaliated because you acted like I was crap on your shoe and insulted me intelligence. But no reason to continue with that.

If you want I will give you early betas of my game as I progress with it.

Friends? (Looks like a rhetorical question at the end xD)

1. Here is the link to the thread of SSB, with the link and finished game:
http://pspflashgaming.com/forum/viewtop … 598#p13598

2. Well, I think it is better to say on Halt, like I did with SSB PSP.

3. I'll be friends, I'll chill down. It'd be nice if more people started using LiveSwif for games though, then maybe we could be in sponsorship with them, because it looks kind of like it's meant to make PSP Flash Games, IMO.

4. I would like Early Betas, and then I'll make concept art, share codes, design levels with you to make your product better.

5. Friends, but I'm still upset with some other people here like Macaw95, Vertman, etc. At least you do know AS, and I should reel on that.


Games I support:
Super ShyGuy Universe, Loco Roco Bounce, Zuriki's Traveller, Teleport.

Offline

 

#20 16/11/08 5:25pm

danomann
Addict
Registered: 12/08/08
Posts: 210
Website

Re: Key Control Systems for PSP

AWESCOME!!!!!!!!!!!!!
Now i can (actuaily) make games smile


_root.gotoAndDie( [url]www.dako300.co.nr[/url] );

Offline

 

#21 23/08/09 2:51pm

div.3333
Member
Registered: 23/08/09
Posts: 1

Re: Key Control Systems for PSP

can someone make a game like arrows =move analog =different attacks x=super move!!! smile

Offline

 

#22 23/08/09 6:09pm

lilmb
Serious Addict
From: Latvia
Registered: 22/06/08
Posts: 305

Re: Key Control Systems for PSP

It is not that hard to make it yourself. You just need patience and be creative.
Analog = different attacks. That could have some problems.
But anything else should just work fine!

Offline

 

#23 19/09/09 4:55pm

thomasracer56
Regular Member
From: earth, CA
Registered: 04/09/09
Posts: 69

Re: Key Control Systems for PSP

wait, but you make the most out of it if you maybe make a game with many controls x=guns, up=jump, analog =melee, down=grenade, and across=move across for games like halo psp. i know none of you made a game like this, but for games that are like this, you could do this. smile

Last edited by thomasracer56 (19/09/09 4:58pm)


I am the go kart racer!!!!!! * *                                                              o                                    finished   car thumbsup  watch me race live @ www.superkartsusa.com/live

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson