POLALA.COM welcome to my space |
HOME help on first game... |
| help on first game... | | Published by: smith 2010-03-14 |
| | Hi guys:
I am on the making of my first game but Im having some issues, so I was wondering if you guys would help me out!! I will list my problems below and the fla is there so you can give it a look and understand me better and yes its on mx 2004 I forgot to save it on mx, but the next chance I get I will
1- The collision is a little bit off, the character sometimes gets stuck on areas he should not
2- I cant make it shoot one arrow at the time, they just come out in bunches, also I would like to have a little animation of a bow coming out before shooting the arrow so any help on that would be appreciated
3- I want to be able to have an action button, so I can open chest(which by the way I dont have an idea on how to code thatlol), see signs, talk to other characters, etc if someone can help one on that or show me a good tutorial on the subject, I will be more than thankful Beckett on target in first game after Town exit - Huddersfield :: Beckett on target in first game after Town exit “All three will freshen things up a bit and hopefully help get more from the rest of the lads,” said http://www.examiner.co.uk/huddersfield-town-fc/huddersfield-town-news/2008/12/01/beckett-on-target-in-first-game-after-town-exit-86081-22377320/HOME | Amazon.com: Backyardigans Find it First Game: Toys & Games:: Price For All Three: $34.97. This item: Backyardigans Find it First Game by Danawares Help others find this product - tag it for Amazon search http://www.amazon.com/Backyardigans-Find-it-First-Game/dp/B00117V7YOHOME |
4- Also I would love to know how to do something like a sword (mostly code) and how to protect with a shield
5- I dont now why but the enemy's mc are not being displayed, they are only visible if you deleted the iteam mc from the library...
6- yeah its my first game so any feedback will be very much apreciated...
Yeah I know its big... but I know you guys can help me thanks in advance :link:
Here it is, hope it helps...
:link:
Here it is, hope it helps...
:link:
Would you have an MX version of that? Thanks.
thats pretty good, I dont know too much about that array math stuff so I cant really help... I saw something like it on the net before, anyway, its good to see you doing something like this for your first project.
thanks man... i resolve the shooting problem, now the arrows come out one at the time... still i need help rest of them, anyone please?
heres a list of my remaining problems :
1- The collision is a little bit off, the character sometimes gets stuck on areas he should not
2- I want to be able to have an action button, so I can open chest(which by the way I dont have an idea on how to code thatlol), see signs, talk to other characters, etc if someone can help one on that or show me a good tutorial on the subject, I will be more than thankful
3- Also I would love to know how to do something like a sword (mostly code) and how to protect with a shield
4- I dont now why but the enemy's mc are not being displayed, they are only visible if you deleted the iteam mc from the library...
any feedback will be very much apreciated... Justin.tv - NHL 09 First Game in the Pros 2/2 - Live Streaming Video:: Description: First game playing for the Bruins in Be A Pro Mode Survey. Want to help Justin.tv? Fill out our quick survey and let us know how you feel. http://www.justin.tv/clip/209d6575aa7162edHOME | Paintball FAQ's Playing your first game? If you’ve never played :: File Format: PDF/Adobe Acrobat - View as HTMLBefore you go out and play your first game, there are some things to know that will. really help your first experience be a great one! What do I wear? http://www.oakglen.org/forms/Paintball_FAQs_2.pdfHOME |
:link:
2) Name the chest chest or box or whatever.
add this code to your chest or what ever:
onClipEvent(load){
_root.chest=closed
///You can subsitute the variable name.
}
Next,
add this to your button:
on(release){
if(_root.character.hitTest(_root.chest)and _root.chest==closed){
///Can substitute the chest and character instance names. Also note that the _root.chest==closed is refering to the variable, not the instance of chest.
_root.chest=opened
///Insert whatever code u want to use for your items
}
if(_root.character.hitTest(_root.chest)and _root.chest==opened){
///Can substitute the chest and character instance names. Also note that the _root.chest==openedis refering to the variable, not the instance of chest.
////Insert code for something like a display message or warning that its alreasdy open.
}
There u go.
1) If the shapes that are touching are not rectangles, that will happen. But. if u go into your characters movie clip and create an invisible mc. You can name it and refer to this when u have something like the file attached to this.
3)Draw a sword. Place it in your character mc. Name it an instance name of sword. Then, insert a code for when this sword strikes an enemy, it does a damage formula that you would create. Same thing with sheild.
4)Don't know what u're talking a bout in 4.
sorry i didn't post have been a little more busy than i thouth lately... anyways if u still want anything please let me know and i will see what can i do.
:link:
thanks man... i resolve the shooting problem, now the arrows come out one at the time... still i need help rest of them, anyone please?
heres a list of my remaining problems :
1- The collision is a little bit off, the character sometimes gets stuck on areas he should not
2- I want to be able to have an action button, so I can open chest(which by the way I dont have an idea on how to code thatlol), see signs, talk to other characters, etc if someone can help one on that or show me a good tutorial on the subject, I will be more than thankful
3- Also I would love to know how to do something like a sword (mostly code) and how to protect with a shield
4- I dont now why but the enemy's mc are not being displayed, they are only visible if you deleted the iteam mc from the library...
any feedback will be very much apreciated...
:link:
tt's the collision problem i'm having previously .. what i did was to check if i would hit the wall first before i move my next step. Might be you can try this.
My tile is 40 pixel.
So i did something like that :
character x + 40 and y postion + 40, then hitTest() with wall
to see if it collides.
where's the original fla ?
sorry i didn't post have been a little more busy than i thouth lately... anyways if u still want anything please let me know and i will see what can i do.
:link:
well im still havin trouble finding good action script to make my guy shoot(and in the direction he is facing), have the camera stay on the player throughout the map, and hittest between the character and walls.....any help with any one of these problems would be great :} thanks in advance!
i have been pretty busy lately with college and stuff but if u post ur fla i could try to help u...
2- I cant make it shoot one arrow at the time, they just come out in bunches, also I would like to have a little animation of a bow coming out before shooting the arrow so any help on that would be appreciated
Hey how did you do that one? I'm trying to figure that one out right now.
well i finally have some time since the students in my college went on a strike!! lol... well i'll post the fla later so you can take a look and play with it.
:link:
here's the mx version... please take a look and tell me what am I doing wrong...
thanks man... i resolve the shooting problem, now the arrows come out one at the time... still i need help rest of them, anyone please?
do u think i could see what action script you used for shooting? im stuck on that for my game....i cant get my guy to shoot in the direction hes facing, he just shoots one way :puzzled:
Here is the mx version... i stoped working on that like a year ago but if u need anything else let me know, i'll try to help.
:link:
do u think i could see what action script you used for shooting? im stuck on that for my game....i cant get my guy to shoot in the direction hes facing, he just shoots one way :puzzled:
Hi guys thanks for ur replies. Well the thing is that i stop working on that a while ago... college, work now and then and life itself does not give me much time to do things like this!!!! anyways will try to post in the weekend the code and maybe try to start again the whole thing. Until then...
:link:
Hi guys:
I am on the making of my first game but Im having some issues, so I was wondering if you guys would help me out!! I will list my problems below and the fla is there so you can give it a look and understand me better and yes its on mx 2004 I forgot to save it on mx, but the next chance I get I will
1- The collision is a little bit off, the character sometimes gets stuck on areas he should not
2- I cant make it shoot one arrow at the time, they just come out in bunches, also I would like to have a little animation of a bow coming out before shooting the arrow so any help on that would be appreciated
3- I want to be able to have an action button, so I can open chest(which by the way I dont have an idea on how to code thatlol), see signs, talk to other characters, etc if someone can help one on that or show me a good tutorial on the subject, I will be more than thankful
4- Also I would love to know how to do something like a sword (mostly code) and how to protect with a shield
5- I dont now why but the enemy's mc are not being displayed, they are only visible if you deleted the iteam mc from the library...
6- yeah its my first game so any feedback will be very much apreciated...
Yeah I know its big... but I know you guys can help me thanks in advance :link:
for q.2 this is what i would do
i would make a movie clip for the hero and then create frmaes for the drawing of bow andimation on the first frame put in the code
stop();
and in you hero
onClipEvent(load){shoot=1}
then in you shooting code which i think you have,this should be in the enter frame put this at the beggining
if(_root.hero.shoot=1&&Key.isDown(Key.WHATEVER KEY))
and at the end put
;_root.hero.play();_root.hero.shoot= 0}
and in the last frame of your hero animation put
this.shoot=1
yeah probably not the easiest way and i probably didnt explain it that well but that is how
Where's The Advantage In Windows Genuine Advantage?
Stocks Bounce After S&P Joins Bear Market
|
#If you have any other info about this subject , Please add it free.# | |
|