Recent posts by ChaosJon on Kongregate

Flag Post

Topic: Game Programming / [AS2] Preventing enemies from grouping

I’m currently working on a small arena-type game with enemies coming in waves, etc. etc.
But I can’t find a way to prevent the enemies from stacking together, making 1 swing of a sword enough to clear the entire first wave of 10 enemies if you run around and let them group.
I’ve got the enemies stored in an array if that makes things any easier.

I’ve tried various ways, and none have worked, example:

for (var i in _root.char.enemies) {


if (this.hitTest(getBounds(_root.char.enemies[i]).xMax, _y, true)) {
this._x += myBounce;
}
if (this.hitTest(getBounds(_root.char.enemies[i]).xMin, _y, true)) {
this._x -= myBounce;
}
if (this.hitTest(_x, getBounds(_root.char.enemies[i]).yMax, true)) {
this._y += myBounce;
}
if (this.hitTest(_x, getBounds(_root.char.enemies[i]).yMin, true)) {
this._y -= myBounce;
}

		}
 
Flag Post

Topic: Game Programming / Switching over to AS3

Thanks guys :) Taking a look at those AS3 101 lessons :P

 
Flag Post

Topic: Game Programming / Switching over to AS3

Also; I have FlashDevelop, and Flash CS5, trying to move away from the Creative Suite and more towards just FD, good or bad idea?

 
Flag Post

Topic: Game Programming / Switching over to AS3

So, I’m finally going to drop AS2, (I’ll finish my final project using it in a while). And I am going to switch over to AS3.
I’ve messed around with FlashPunk a bit (Realize now that was a bad idea to start with,) and am doing Michael William’s Avoider tutorial, can anyone give me some more tutorials for basic AS3?
And can anyone explain some of the difference between AS2/3? (I’ve been using classes in AS2, so besides that)

Thanks in advance,

 
Flag Post

Topic: Game Programming / (AS2) Pause screen problems; enemies are "over" the pause screen

Originally posted by Draco18s:

Ignore ChaosJon as his solution will only cause you issues in the future.

I don’t see how it would cause more issues? Would you mind explaining, if not for my own sake? :o I’m always open to better ways of doing things,

 
Flag Post

Topic: Game Programming / Show us a screenshot of what you're working on!

It acts as his shield, and spins around him, probably the best looking thing I’ve ever done in flash <.<;;

 
Flag Post

Topic: Game Programming / (AS2) Pause screen problems; enemies are "over" the pause screen

I assume that when you make your pause screen “appear” by changing it’s visibility? (Since that’s how the shootorials do their menus)
If so, when you say, press “p” to pause, and make the screen become visible, also tell it to change depths, you can find that in shootorial 3, when it talks about “_root.getNextHighestDepth();” when making missiles and enemies.

I can give an example if you really need it, but I figure this is a good hint in the right direction :P

 
Flag Post

Topic: Game Programming / Show us a screenshot of what you're working on!

Just so anyone who is afraid of posting since they think their latest project looks bad, I’ll post mine, so they can feel better :3

It’s the second version of my first ever game, now that I have a lot more experience with Flash,

 
Flag Post

Topic: Game Programming / How to make the stage bigger?

Originally posted by Dealmaster13:

You’ll probably have to continuously drag things around the workspace to make it bigger.

Just zoom out, make a very big vector graphic and move it around.

This works for me, just make a big graphic, and push it off the edge, and it’ll grow to compensate :D

 
Flag Post

Topic: Game Programming / Game taken off kongregate, posted elsewhere without my premission

I know his full name, work address, home address, and his kong name :L

 
Flag Post

Topic: General Gaming / League of Legends discussion thread

Level 12 ftw. xP
A few good players over in Boxia,

 
Flag Post

Topic: Game Programming / 6 year old wants to make his own games...help!?

I’m with BadEgg on this one. Using something like CS5 is obviously far fetched, but using GameMaker depletes the knowledge gained. I’d follow saybox’s suggestion and try to get Stencyl. It won’t be ridiculously complex (I think), and would still atleast give him the ability to add/change code. He’d probably like that more aswell, especially since he’s been messing around with the files of Carnivore (No clue what it is though).

 
Flag Post

Topic: Kongregate / Stolen Games

Originally posted by saybox:

Of course it is. The swf is saved on your PC when you load the game anyway, in your browser cache.

This.
That’s why sitelocking games is a good idea xD

 
Flag Post

Topic: Kongregate / Stolen Games

Yeah, they’re legal, there’s FF add-ons for it even :P

 
Flag Post

Topic: Kongregate / Stolen Games

Originally posted by saybox:
Originally posted by ChaosJon:

Ripped? As in downloaded from a site? I can explain that if you want :P

You get the URL to the swf and you press “save as”. I don’t think there’s a lot of explaining to do :P

Ehh, true enough :P

 
Flag Post

Topic: Kongregate / Stolen Games

Originally posted by GameBuilder15:
Originally posted by saybox:

After a bit of testing, I’ve found that your sitelock doesn’t work. So, that explains that.

What…? You ripped it? Btw, how do you rip a swf? Not that I’d do it, I’m just curious.

Ripped? As in downloaded from a site? I can explain that if you want :P

 
Flag Post

Topic: Kongregate / Secret Panda Tournament (Round 10)

Sounds like you are madder Kis ;P

 
Flag Post

Topic: Kongregate / Secret Panda Tournament (Round 10)

Yay~ more spammers T_T
GJ whoever stopped it early :D brofists air

 
Flag Post

Topic: Kongregate / Secret Panda Tournament (Round 10)

Originally posted by MamboJambo:

It’s quite funny how he suddenly has a max level of 11 in the highscore list while it was 7 just minutes ago XD

Also, spent previous 10 minutes buying Mc Donald’s.

Stop making up shit.

I’m hungry now ><

 
Flag Post

Topic: Kongregate / Secret Panda Tournament (Round 10)

Level up IS an Egg Hatch, >.>

 
Flag Post

Topic: Kongregate / Secret Panda Tournament (Round 10)

Random question to Mambo; AoB?

 
Flag Post

Topic: Kongregate / Secret Panda Tournament (Round 10)

GoGoGo ChiChi~~~
And Wii. ;P

 
Flag Post

Topic: Kongregate / Secret Panda Tournament (Round 9)

Kudos to anyone who made it this far :D I’m out :P Kong API has once again decided that it shall thwart me, GOGOGO CHICHI!!!

 
Flag Post

Topic: Kongregate / Secret Panda Tournament (Round 9)

^

 
Flag Post

Topic: Kongregate / Secret Panda Tournament [Round 8]