Be a Supporter!

AS2 halp.

  • 229 Views
  • 4 Replies
New Topic Respond to this Topic
linc186
linc186
  • Member since: Jun. 17, 2009
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
AS2 halp. 2010-08-31 00:43:14 Reply

Alright. I want to become a serious flash game maker. So, if you would be so kind please explain how to do the following, as well as code and an explanation of the code, thank you! This means a lot, and i can get away from all those shitty tutorials.

Character Animations:
For some reason, i don't know if i have some kind of corrupted flash 8 or this is just an as2 quirk, inside the character timeline, if i have more than two frames, the code no longer works! I'd have one frame for going left, one for right, and lets say one for duck. Now, I'd have the AS2 as (not including clipevents and other formal stuff, dont feel like writing them):
if(Key.isDown(Key.LEFT)){
this.gotoAndStop(2);
}
if(Key.isDown(Key.RIGHT)){
this.gotoAndStop(1);
}
if(Key.isDown(Key.DOWN)){
this.gotoAndStop(3);
}
what would happen, is something like it would move left and show the animation, butif i moved right it wouldnt show the animation, but if i ducked it worked. So please help me fix this because i definitly need more than two frames in the character timeline for a game im making.

Gravity:
Please explain gravity and jumping, thanks :)

Loading:
Please explain loading bars, and the code and shtuffs, thanks :)

Points:
Now, a few things here. Please explain how to make a scoring system, a timing system (not a time limit jsut something that keeps trck of the time it took to finish the level),how t make a money system to buy upgrades and such, and a counter. thank you :D!

Projectiles:
Please just explain how to make en enemy fire a projectile. Waht im basically going to do is have a bar and then the enemy the middle, so if the mc comes in contact with the bar it would trigger the enemy and make him fire projectiles.
I also need the mc firing projectiles from the push of a button.

Horizontal/Vertical scrolling:
I understand how to make a sidescroller, but if i go up, i also want it to scroll. What i was thinking is just putting the mc inside of a Vcam which takes up the whole workspace (the white part) so if i ever exit it follows him.

Jets System:
Some kind of flying system. For instance, if i hold down space i start flying, and have a timelimit to how long i can stay in the air. When i run out, i want to drop to the ground and then have it rejuvenate over time

Letters:
Now with character dialogue im not sure how to do it. Do i animate the words appearing one by one, or do i use the print thing in actionscript. If so, im not sure how, please explain.

Explanations of these will help me so much and I'll be very thankful. No more of these bullshit tutorials that dont teach you anything. I want to LEARN. Thanks a million!


BBS Signature
linc186
linc186
  • Member since: Jun. 17, 2009
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to AS2 halp. 2010-08-31 00:46:29 Reply

I forgot something, iw ant to add something like in elevator system. if i come in contact with this object, it will shoot me in to the air, and have everything return to normal, not just keep moveing up on the y axis, basically i want a sort of grav lift.


BBS Signature
Ahnimal
Ahnimal
  • Member since: Feb. 12, 2009
  • Offline.
Forum Stats
Member
Level 19
Game Developer
Response to AS2 halp. 2010-08-31 02:05:46 Reply

This tutorial might explain some basics. Try if it helps.


It's not a bug, it's a feature!

the1manwiththeplan
the1manwiththeplan
  • Member since: Jun. 10, 2008
  • Offline.
Forum Stats
Member
Level 17
Blank Slate
Response to AS2 halp. 2010-08-31 03:14:31 Reply

This isn't a tutorial forum no one has the time to explain all that you've asked for.
Now do you have a serious question about serious problem... or do you actually expect us to code every aspect of your entire game for you?

Try the AS main

...

linc186
linc186
  • Member since: Jun. 17, 2009
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to AS2 halp. 2010-08-31 14:08:30 Reply

At 8/31/10 03:14 AM, the1manwiththeplan wrote: This isn't a tutorial forum no one has the time to explain all that you've asked for.
Now do you have a serious question about serious problem... or do you actually expect us to code every aspect of your entire game for you?

Try the AS main

I don't want to you code my game. Its a pride thing. If i did, i'd go to a tutorial and rip code rom it without effort and claim i programmed it. I want to LEARN.


BBS Signature