You are not logged in.
Announcement
#1 25/06/08 1:49pm
- lilmb
- Serious Addict
- From: Latvia
- Registered: 22/06/08
- Posts: 305
help with rpg style game [beginning][ Liveswif]
Ok, i have some problems with rpg game:
Note: I hope you will answer to all my questions
Note: I know about this have been posts, but i still don't get it
Note: This is in LIVESWIF!!!
1. How can I make a player, when hit an arrow, get to next frame?
2. How can I make a player sprite animation, when there isn't pressed any button, stop and get to "stop animation". I mean, like in many games, example: Zelda; when you press up button, player moves up and there is animation that his legs are moving, but when no button is pressed he stops and his legs stops.
3. How can I make an inventory?
4. How can I make player pick up something and put it in inventory?
I know that you think i am too lazy to find answers for myself, but i have searched long and didn't find something that i can understand...
BIG THX for everybody who can help!
Last edited by lilmb (25/06/08 1:49pm)
Offline
#2 25/06/08 2:25pm
- nothing
- Moderator
- Registered: 21/03/08
- Posts: 389
Re: help with rpg style game [beginning][ Liveswif]
1) Cut and paste into the next frame:
if(this.hitTest(_root."player's instance name")){
gotoAndPlay(2);
}
Now change the frame number and the player's instance name.
Put stop(); in all of your frames.
2)Draw all of the frames you want in the player's Sprite. Then, Put stop();on the frames you want it to stop at. Then, in the stage click on you'r character and on the enterFrame part put in _root.this.gotoAndPlay(the frame that the move animation is in) right underneath the _x+= 10; type codes in your character.
I'll upload some stuff to Dezerith.
[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
#3 25/06/08 2:28pm
- nothing
- Moderator
- Registered: 21/03/08
- Posts: 389
Re: help with rpg style game [beginning][ Liveswif]
I think.
[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
#4 25/06/08 4:49pm
- crimsonhotsun
- Hardcore Member
- Registered: 30/03/08
- Posts: 96
Re: help with rpg style game [beginning][ Liveswif]
Your questions are intensely high-level, and part of programming is thinking down to the mechanics that will make it go. I suggest reading more on programming in general to get the effects you want. For example, with an inventory, you can just have empty mc's that change to a picture of the item on the next frame, have an array that holds flags for those items, and a variable that tells you what item the player selects.
[img]http://img101.imageshack.us/img101/9094/20707804nc6.png[/img]
My humble forums: [url=http://hologram.zxq.net/forums/]VirtualWorldForums[/url]
Offline
#5 25/06/08 6:13pm
Re: help with rpg style game [beginning][ Liveswif]
lilmb wrote:
Ok, i have some problems with rpg game:
Note: I hope you will answer to all my questions
Note: I know about this have been posts, but i still don't get it
Note: This is in LIVESWIF!!!
1. How can I make a player, when hit an arrow, get to next frame?
2. How can I make a player sprite animation, when there isn't pressed any button, stop and get to "stop animation". I mean, like in many games, example: Zelda; when you press up button, player moves up and there is animation that his legs are moving, but when no button is pressed he stops and his legs stops.
3. How can I make an inventory?
4. How can I make player pick up something and put it in inventory?
I know that you think i am too lazy to find answers for myself, but i have searched long and didn't find something that i can understand...
BIG THX for everybody who can help!
Condensed: Can you make my game for me?
Answer: NO
[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 25/06/08 8:46pm
- lilmb
- Serious Addict
- From: Latvia
- Registered: 22/06/08
- Posts: 305
Re: help with rpg style game [beginning][ Liveswif]
wouhh... Zuriki, i didn't meant that way! i said i hope that questions will be answered. of course i'm searching in many sites info. i just can't understand much in these, i thougt that somebody, could tell me a bit. hey, Crimsonhotsun, Thanks, very good idea! i thinked about what you said, thx! I inspired from you! lol And Nothing, Big Thanks you are actionscript dictionary! LOL but i had problems with first question. i will write problem, when i will be on pc, now i am on psp.
Offline
#7 11/07/08 4:45pm
- robbe
- Member
- Registered: 16/06/08
- Posts: 1
Re: help with rpg style game [beginning][ Liveswif]
why dont you ask your mom?
Offline
#8 11/07/08 6:00pm
- lilmb
- Serious Addict
- From: Latvia
- Registered: 22/06/08
- Posts: 305
Re: help with rpg style game [beginning][ Liveswif]
why don't you shut the f**k up?
Offline
#9 11/07/08 6:14pm
- Alpha009
- Edge
- From: new york
- Registered: 03/02/08
- Posts: 1117
Re: help with rpg style game [beginning][ Liveswif]
robbe stfu.
robbe, how bout i ask your of a mother togive me a oh wait, she already did.
Offline