00:00
00:00
Newgrounds Background Image Theme

eZee just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

As: Main

711,260 Views | 1,500 Replies
New Topic Respond to this Topic

Response to As: Main 2010-01-30 18:56:24


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.

Response to As: Main 2010-02-04 19:55:33


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.


Writer @ www.Johnrickett.com

Response to As: Main 2010-02-18 19:58:42


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

Response to As: Main 2010-02-18 20:06:48


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?

Response to As: Main 2010-02-18 23:14:14


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.

Response to As: Main 2010-02-19 03:26:49


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

Response to As: Main 2010-02-22 04:58:32


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?

Response to As: Main 2010-02-22 08:34:16


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.

Response to As: Main 2010-03-05 04:27:32


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

Response to As: Main 2010-05-25 12:00:37


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

Response to As: Main 2010-07-11 18:23:35


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!!!

Response to As: Main 2010-08-21 10:14:33


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)

Response to As: Main 2010-08-30 18:51:54


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

Response to As: Main 2010-08-30 19:19:56


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.

Response to As: Main 2010-08-30 20:05:07


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


Left4DeathInFire//--//Master of Noobs

BBS Signature

Response to As: Main 2010-08-31 05:02:30


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.

Response to As: Main 2010-10-31 17:30:52


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

Response to As: Main 2010-11-07 18:40:38


Added a new:
AS: Sound Stream

Response to As: Main 2011-02-23 03:46:20


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

Response to As: Main 2011-02-25 03:04:47


D: Nothing for hitTest ing duplicated mcs?

Response to As: Main 2011-02-25 12:06:04


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
        }
}

Response to As: Main 2011-07-28 02:04:00


good idea pumpkinlover....


LOL! ^_^

BBS Signature

Response to As: Main 2011-07-28 17:13:18


Check out my thread for this topic

AS: Physics Ball

As: Main


LOL! ^_^

BBS Signature

Response to As: Main 2011-07-28 17:55:50


At 7/28/11 05:13 PM, loopchocolateman1234 wrote: Check out my thread for this topic

AS: Physics Ball

Check out he copy and pasting!

Response to As: Main 2011-07-28 18:20:05


"action required"

must_kill -> "The Chosen One" &&

set break on (rollOut) {
terminate action
_root.The Chosen One
}

"Shut Down"}
{

Animator VS Animation Killer Action Script


LOL! ^_^

BBS Signature

Response to As: Main 2011-08-10 17:33:53


I'm sorry, I'm only 12 and I have a really hard time learning AS, could someone possibly teach me? (Starting from the basics).

http://loopchocolateman1234.newgrounds.c om/news/post/612292


LOL! ^_^

BBS Signature

Response to As: Main 2011-12-06 10:48:14


At 7/28/11 06:20 PM, loopchocolateman1234 wrote: "action required"

must_kill -> "The Chosen One" &&

set break on (rollOut) {
terminate action
_root.The Chosen One
}

"Shut Down"}
{

Animator VS Animation Killer Action Script

LAWL

Response to As: Main 2012-07-07 07:14:34


At 8/10/11 05:33 PM, loopchocolateman1234 wrote: I'm sorry, I'm only 12 and I have a really hard time learning AS, could someone possibly teach me? (Starting from the basics).

http://loopchocolateman1234.newgrounds.c om/news/post/612292

Don't worry. I'm 10 and I have such a loooooong way to go to be a Flash professional. Conclusion:You're not alone.


BBS Signature

Response to As: Main 2012-07-07 10:22:52


At 7/7/12 07:14 AM, newgroundz2012 wrote:
Don't worry. I'm 10 and I have such a loooooong way to go to be a Flash professional. Conclusion:You're not alone.

People below the age of 13 are not allowed to have a Newgrounds account, for this reason your account will be deleted, or you will be banned.
You violated the terms and conditions of this site and admitted to it by bumping an old thread, which makes you look like a person of your age.

Response to As: Main 2012-07-07 12:39:40


Wow, I remember when I spent some time in this thread.


If ya have something to say, PM me. I have a lot of time to spare.

Also never PM egg82.

BBS Signature