Be a Supporter!

As: Main

  • 616,453 Views
  • 1,538 Replies
New Topic Respond to this Topic
Magical-Zorse
Magical-Zorse
  • Member since: May. 10, 2008
  • Offline.
Forum Stats
Supporter
Level 39
Melancholy
Response to As: Main 2009-12-05 20:13:20 Reply

At 12/5/09 03:14 PM, Jinx-Studios wrote: Does anyone know where there is a tutorial to make a simple music player in AS3?
Sorry if this is a stupid question...

Here you go


BBS Signature
frvray
frvray
  • Member since: Nov. 28, 2009
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to As: Main 2009-12-18 23:17:12 Reply

Can you give me a tutorial that making an enemies that can stomp their heads for additional plzzz?
anyway, the exit problem is when go to that tile (Not tile-based) every test, it goes to loading scene!
why? Can you give me a script? Don't Understand my question? this is an arrangement of my scenes:
----------------------------------------
---------------------------
Scene Order - Scene Name
--------------------------------
1st - PreLoader
2nd - Main Menu
3rd - Gameplay (Where the exit)
----------------------------------------
----------------------------------------
--------------------
Main problem is the script "_root." (no quotes)


There is no sig pic.

Super-Yombario
Super-Yombario
  • Member since: Mar. 16, 2007
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to As: Main 2009-12-18 23:30:29 Reply

At 12/18/09 11:17 PM, frvray wrote: Can you give me a tutorial that making an enemies that can stomp their heads for additional plzzz?
anyway, the exit problem is when go to that tile (Not tile-based) every test, it goes to loading scene!
why? Can you give me a script? Don't Understand my question? this is an arrangement of my scenes:

Um, this post made absolutely no sense to me whatsoever

Yambanshee
Yambanshee
  • Member since: Oct. 5, 2008
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to As: Main 2009-12-19 03:13:30 Reply

At 12/18/09 11:17 PM, frvray wrote: Can you give me a tutorial that making an enemies that can stomp their heads for additional plzzz?
anyway, the exit problem is when go to that tile (Not tile-based) every test, it goes to loading scene!
why? Can you give me a script? Don't Understand my question?

im sorry, but that made about as much scence as watching a cow humping a racoon.
could you rephrase that in english please?


AS2||AS3||Motox
Thanks to hdxmike for the sig :]

BBS Signature
evan210
evan210
  • Member since: May. 14, 2007
  • Offline.
Forum Stats
Member
Level 26
Blank Slate
Response to As: Main 2010-01-03 10:40:13 Reply

A while ago I made a shooter in which the gun moved realistically. Many people have been asking about how I made it, so I figure I might as well just post it. Here's the swf of what most people asked for: http://www.newgrounds.com/dump/item/339c 0ef011c302fe1afda1d3c39e18a9
Should I create a thread for it? I've gotten about 7 PM's asking for the code.
I looked through the current links and couldn't find anything like it. Please show me if I missed something.

lgnxhll
lgnxhll
  • Member since: Jun. 24, 2009
  • Offline.
Forum Stats
Member
Level 11
Filmmaker
Response to As: Main 2010-01-30 18:56:24 Reply

Should I create a thread for it? I've gotten about 7 PM's asking for the code.
I looked through the current links and couldn't find anything like it. Please show me if I missed something.

yes please post it


need programmers for game. pm me if your interested.

Innermike
Innermike
  • Member since: Sep. 11, 2009
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to As: Main 2010-02-04 19:54:03 Reply

At 1/3/10 10:40 AM, evan210 wrote: A while ago I made a shooter in which the gun moved realistically. Many people have been asking about how I made it, so I figure I might as well just post it. Here's the swf of what most people asked for: http://www.newgrounds.com/dump/item/339c 0ef011c302fe1afda1d3c39e18a9
Should I create a thread for it? I've gotten about 7 PM's asking for the code.
I looked through the current links and couldn't find anything like it. Please show me if I missed something.

Naw i dont really think it deserves a whole thread if you know what i mean , its more like doing something specific instead of teaching how to use the language itself if you get me . But your in control of what you do


nobody

Johnny
Johnny
  • Member since: Apr. 17, 2004
  • Offline.
Forum Stats
Member
Level 24
Blank Slate
Response to As: Main 2010-02-04 19:55:33 Reply

At 2/4/10 07:54 PM, HDXmike wrote: Naw i dont really think it deserves a whole thread if you know what i mean , its more like doing something specific instead of teaching how to use the language itself if you get me .

Could go in the "AS: Specific" section of AS:Main, or created/bookmarked for when the questions arise.


Perpetually looking for time to return to the arts.

BBS Signature
elementell
elementell
  • Member since: Jun. 29, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to As: Main 2010-02-18 19:58:42 Reply

God dammit why is this updated yet AS3:Main was left to die.

DrakenDuBose
DrakenDuBose
  • Member since: Feb. 18, 2009
  • Offline.
Forum Stats
Member
Level 06
Blank Slate
Response to As: Main 2010-02-18 20:06:48 Reply

At 2/18/10 07:58 PM, elementell wrote: God dammit why is this updated yet AS3:Main was left to die.

Did it hit that 1000th page or something?

elementell
elementell
  • Member since: Jun. 29, 2006
  • Offline.
Forum Stats
Member
Level 13
Blank Slate
Response to As: Main 2010-02-18 23:14:14 Reply

At 2/18/10 08:06 PM, DrakenDuBose wrote:
At 2/18/10 07:58 PM, elementell wrote: God dammit why is this updated yet AS3:Main was left to die.
Did it hit that 1000th page or something?

What? No, it hit 6 pages.

Thomas
Thomas
  • Member since: Feb. 14, 2005
  • Offline.
Forum Stats
Member
Level 13
Musician
Response to As: Main 2010-02-19 03:26:49 Reply

Sometimes I wonder why people decide to bump such old topics. Then I realize it's okay because it saves me time searching for it. AS2, you are the one for me.


wat
a compessor wil raise the volume while lowering the db - chronamut

ChaostimpBoy
ChaostimpBoy
  • Member since: Feb. 20, 2010
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to As: Main 2010-02-22 04:58:32 Reply

At 12/19/09 03:13 AM, Yambanshee wrote:
At 12/18/09 11:17 PM, frvray wrote: Can you give me a tutorial that making an enemies that can stomp their heads for additional plzzz?
anyway, the exit problem is when go to that tile (Not tile-based) every test, it goes to loading scene!
why? Can you give me a script? Don't Understand my question?
im sorry, but that made about as much scence as watching a cow humping a racoon.
could you rephrase that in english please?

frvray is my old account, he's/I'm filipino. do you understand what i say? enemies like in mario?

rickeyricksricky
rickeyricksricky
  • Member since: Aug. 12, 2008
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to As: Main 2010-02-22 08:34:16 Reply

At 2/22/10 04:58 AM, ChaostimpBoy wrote:
At 12/18/09 11:17 PM, frvray wrote: anyway, the exit problem is when go to that tile (Not tile-based) every test, it goes to loading scene!
frvray is my old account, he's/I'm filipino. do you understand what i say? enemies like in mario?

Change the frame number in gotoAndPlay or gotoAndStop commands.

ChaostimpBoy
ChaostimpBoy
  • Member since: Feb. 20, 2010
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to As: Main 2010-03-05 04:27:32 Reply

At 2/22/10 08:34 AM, rickeyricksricky wrote:
At 2/22/10 04:58 AM, ChaostimpBoy wrote:
At 12/18/09 11:17 PM, frvray wrote: anyway, the exit problem is when go to that tile (Not tile-based) every test, it goes to loading scene!
frvray is my old account, he's/I'm filipino. do you understand what i say? enemies like in mario?
Change the frame number in gotoAndPlay or gotoAndStop commands.

not the loading problem, the ai enemy like in mario games.
like piture below

As: Main

vogxhamraks
vogxhamraks
  • Member since: Aug. 8, 2009
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to As: Main 2010-05-25 12:00:37 Reply

can u pls tell me what code is for the reset character after he dies from an enemy or falls down in a platformer game

soccerstars
soccerstars
  • Member since: Jul. 27, 2007
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to As: Main 2010-07-11 18:23:35 Reply

Oh why didn't ya' say so.

1. Just create a black rectangle at the bottom.

2. Make it a movieclip

3. 0% alpha

4. give it these actions:

onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
_root.char._x = 8.3
_root.char._y = 318.9
}
}

5. instant name the guy "char" with no quotes
6. ENJOY!!!

strawberrymarie
strawberrymarie
  • Member since: Jun. 19, 2010
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Response to As: Main 2010-08-21 10:14:33 Reply

i need help on creating a cooking game, involving drag and drop codes for dragging the ingredients to the pots/pans/oven ,and hitTesting i guess for when you get the right combinatinos and the bad ones, or so, each time you drop two ingredients in the same pan/bowl or something, it will always have an outcome. idk what codes to put, any tutorial where i can find the codes for something along those lines (doesnt haveto be as specific as that)

Left4DeathInFire
Left4DeathInFire
  • Member since: May. 27, 2010
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to As: Main 2010-08-30 18:51:54 Reply

At 8/21/10 10:14 AM, strawberrymarie wrote: i need help on creating a cooking game, involving drag and drop codes for dragging the ingredients to the pots/pans/oven ,and hitTesting i guess for when you get the right combinatinos and the bad ones, or so, each time you drop two ingredients in the same pan/bowl or something, it will always have an outcome. idk what codes to put, any tutorial where i can find the codes for something along those lines (doesnt haveto be as specific as that)

Use variables like

apple = false;
peach = false;
cream = false;

After you drop the ingredients make them true
and add this to the pot

onClipEvent(enterFrame){
if (apple = true){
if (cream = true){
_root.gotoAndStop("RightCombo")
}
}else{
_root.gotoAndStop("WrongCombo")
}

Left4DeathInFire//--//Master of Noobs

BBS Signature
milchreis
milchreis
  • Member since: Jan. 11, 2008
  • Offline.
Forum Stats
Member
Level 26
Programmer
Response to As: Main 2010-08-30 19:19:56 Reply

At 8/30/10 06:51 PM, Left4DeathInFire wrote: if (apple = true){
if (cream = true){

double fail:

"==" is the equality checking operator
use "&&" to connect two if statements to get a more readable and cleaner code.

Left4DeathInFire
Left4DeathInFire
  • Member since: May. 27, 2010
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to As: Main 2010-08-30 20:05:07 Reply

Not just double fail, EPIC FAIL. I forgot about && but, == that was a rookie mistake, damn me.


Left4DeathInFire//--//Master of Noobs

BBS Signature
milchreis
milchreis
  • Member since: Jan. 11, 2008
  • Offline.
Forum Stats
Member
Level 26
Programmer
Response to As: Main 2010-08-31 05:02:30 Reply

At 8/30/10 08:05 PM, Left4DeathInFire wrote: == that was a rookie mistake, damn me.

you actually don't need the operator at all, because your variables are already boolean.

loopchocolateman1234
loopchocolateman1234
  • Member since: Jul. 19, 2008
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to As: Main 2010-10-31 17:30:52 Reply

I want to make a plat-former, you play as a character with health. You can shoot enemies and they can hurt you back from health, when you kill a enemy you get points. Also there are coins that get you an extra 10 points. There are also obstacles and the game ends off with a boss then finally counts your score at the end in total. Don`t forget you can collect lives and lose them and there are check-points too.
If you can post a tutorial or a link that would help, I will also tell you when it comes out and it will be awesome.

Yours Sincerely,

loopchocolateman1234


LOL! ^_^

BBS Signature
Spysociety
Spysociety
  • Member since: Dec. 30, 2009
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to As: Main 2010-11-07 18:40:38 Reply

Added a new:
AS: Sound Stream

HypnoFish
HypnoFish
  • Member since: Jan. 29, 2010
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to As: Main 2011-02-23 03:46:20 Reply

Don't mean to bump buuut... seeing how none of SpamBurger's threads are existent anymore.. assuming his account was cancelled could I make a request for something similar to:

AS: Collisions - HitTesting Duped MCs by SpamBurger

thankya kind gents and she-gents

HypnoFish
HypnoFish
  • Member since: Jan. 29, 2010
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to As: Main 2011-02-25 03:04:47 Reply

D: Nothing for hitTest ing duplicated mcs?

Spysociety
Spysociety
  • Member since: Dec. 30, 2009
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to As: Main 2011-02-25 12:06:04 Reply

Collision with duplicated MCs is pretty easy, just use a for loop to check all hit tests beetween an array with i.

Example:

enemies=new Array();

for(i=0;i<enemies.length;i++)
{
        if(enemies[i].hitTest(this))
        {
                        // do stuff
        }
}
headphenomenon
headphenomenon
  • Member since: May. 1, 2009
  • Offline.
Forum Stats
Member
Level 13
Programmer
Response to As: Main 2011-05-14 09:48:10 Reply

Yeah, I made something :D

As: String to Array/Array to String


06-17-11: User of the Day
07-25-11: 1500th Post
08-09-11: Level 13!

loopchocolateman1234
loopchocolateman1234
  • Member since: Jul. 19, 2008
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to As: Main 2011-07-28 02:04:00 Reply

good idea pumpkinlover....


LOL! ^_^

BBS Signature
loopchocolateman1234
loopchocolateman1234
  • Member since: Jul. 19, 2008
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to As: Main 2011-07-28 17:13:18 Reply

Check out my thread for this topic

AS: Physics Ball

As: Main


LOL! ^_^

BBS Signature