Announcement

User registrations are currently disabled due to high spam traffic.

#1 19/07/09 5:02pm

TONO07
Regular Member
Registered: 15/09/08
Posts: 46

mini-game help

as some of you know im working on PSP Sniper challenge Beta v2 and I was wondering what mini-games I should put and please post code!  btw are there any websites that have Punchout sprites.


[img]http://dl.getdropbox.com/u/1140693/ShinsukeItoFanSig.gif[/img]

Offline

 

#2 19/07/09 10:09pm

psprock is back
Regular Member
Registered: 15/07/09
Posts: 39

Re: mini-game help

no idea a good mini game would be sniper flash atttack! theres a whole bunch of guy you have to shoot realy FAST applause

Last edited by psprock is back (19/07/09 10:10pm)


slimplyred.wap9.mobi/avatars/3.GIF

Offline

 

#3 20/07/09 12:05am

TONO07
Regular Member
Registered: 15/09/08
Posts: 46

Re: mini-game help

thats a great idea! ill do it. and btw can someone help me make a health bar


[img]http://dl.getdropbox.com/u/1140693/ShinsukeItoFanSig.gif[/img]

Offline

 

#4 20/07/09 12:00pm

g0ofygoober
Hardcore Member
Registered: 28/10/08
Posts: 194
Website

Re: mini-game help

that's simple.

make a rectangle

convert to a symbol (f8)

name it whatever.

set registration as left.

now on the health bar put the actionscript:

this._xscale = _root.health

in this example the variable health is in the main timeline but if it is in an object for example "char" then change _root.health to _root.char.health

now as the variable health is reduced the healthbar will shrink.
this assumes that the starting health is 100 and the minimum health is 0. if it is different say starting health 150 you will need a maths equation to change it into a percent of the total score if you know what i mean.

hope this helped smile

Last edited by g0ofygoober (20/07/09 12:01pm)

Offline

 

#5 20/07/09 9:25pm

TONO07
Regular Member
Registered: 15/09/08
Posts: 46

Re: mini-game help

and how do you make it go to game over screen?


[img]http://dl.getdropbox.com/u/1140693/ShinsukeItoFanSig.gif[/img]

Offline

 

#6 20/07/09 10:15pm

shinsukeito
The Explorer
From: Bloody Australia.
Registered: 23/09/08
Posts: 607

Re: mini-game help

I think it's:

if (_root.health<1) {
gotoAndStop("gameover")
}

You'll have to give the game over frame the name: gameover

Offline

 

#7 21/07/09 12:40pm

psprock is back
Regular Member
Registered: 15/07/09
Posts: 39

Re: mini-game help

any progress it sounds awesome! cool alien


slimplyred.wap9.mobi/avatars/3.GIF

Offline

 

#8 21/07/09 4:57pm

TONO07
Regular Member
Registered: 15/09/08
Posts: 46

Re: mini-game help

yes, but im using the health bar for another game.  a NES punch-out flash game.  its called PSPunch-out and will take a while to make. my twitter is TONO007. I will post updates there.

Last edited by TONO07 (21/07/09 4:59pm)


[img]http://dl.getdropbox.com/u/1140693/ShinsukeItoFanSig.gif[/img]

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson