RTL_Shadow
363 posts
|
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
AS3 or AS2
Not too sure about the cancer thing but I can assure you on the food thing. I used to have severe depression, anxiety, and ADD. I quit eating gluten and dairy and I feel amazing. I am not shitting you.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
AS3 or AS2
Yes, but if he wanted to make a much larger game he would need to switch to AS3, for the pure fact that AS2 cannot handle as much.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
Beginner needing help..!
Originally posted by Cartmane:
@Draco, well it kinda does if thats the exact code he done and he could run the game just fine and I couldn’t.
If I tell you to put callRandomFunction() in your code, would it work? No. Because you have something wrong in the function, or don’t even have it.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
AS3 or AS2
Originally posted by GameBuilder15:
Originally posted by Draco18s:
Originally posted by GameBuilder15:
AS2 is good if you want to make games fast though. AS3 takes a lot longer to write.
But it (AS3) runs faster, does more stuff, does stuff better, and you won’t be sneered at when you f*ck up and ask for help.
Yes. :P
Don’t even try to defend AS2 anymore, it is a poorly implemented language and there is no reason you should be using it unless you are lazy. That’s the harsh truth, I’m kind of sick of sweetening it up.
And plus, AS3 does not take longer to write. In fact, it can take a lot shorter to write once you have your classes down. ALSO it has way more features that AS2 will not ever have.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
Where do I go to learn more?
I’ve got some tutorials on my website, If you’d like to check em out: aftershockstudioshq.com/
|
|
|
RTL_Shadow
363 posts
|
Topic: Kongregate /
Why doesn't Kongregate support games made with Game Maker?
1 and only reason.
EXE files cannot be run in-browser standalone, AFAIK.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
Flash just screwed up my work and I had to remake all the movieclips
Throwing it out there that you can also just animate it in Flash and then individually import the symbols from the SWF with FD.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
GiTD [#24] Entries and Discussion
Think I’m going to enter. Wish me luck.
EDIT: I might not if I can’t think of something soon, not too interested in this theme.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
Level Editor Using Tiles is Lagging [AS3]
Quick tip, don’t use 2D arrays if you are. Use a Vector and bitshift it, it should increase performance.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
Failing to Fail
cough FlashDevelop? cough
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
What is the main instance called?
Originally posted by Senekis93:
Originally posted by RTL_Shadow:
I make an instance of a MovieClip so you can access it…
You’re creating a new MovieClip and never using it. That has nothing to do with access or anything; it’s totally unnecessary.
Ah, you’re right, didn’t realize that, thanks for pointing it out.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
[AS3] Any way to copy a multidimensional array?[Solved]
Originally posted by truefire:
Oh, didn’t reallise NaN was an actual value.
obviously n!=n isn’t applicable here. but hrm. It looks like isNaN isn’t either. Fixing…
E: Fixed. Changed !isNaN(input) to
Number(input) != null. pretty sure that should work.
Likewise, null is a type, not a value :P AFAIK
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
What is the main instance called?
It’s public in case the child class is a reference class. You don’t need to exactly follow it, if you feel you don’t need it to be public go ahead and change it in your code.
I make an instance of a MovieClip so you can access it…
|
|
|
RTL_Shadow
363 posts
|
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
[AS3] Any way to copy a multidimensional array?[Solved]
Just throwing it out there that using multidimensional arrays are slower. Just do something like myArray[position] and make position = h + i*20 or something. It’s even better if you use vectors.
|
|
|
RTL_Shadow
363 posts
|
Topic: Kongregate /
Official Kong Plus Thread
Can we use kreds to buy K+?
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
[AS3] Collission detection
2 things.
1: Use a 1D vector, it works a ton faster.
2. Don’t HitTest, do math like,
if (worldReference[player.y+1/tileheight] == ground){
}else{
player.y += 1;
}
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
[AS3]Coding Problems
Also, I would suggest Vectors instead of arrays, they are faster.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
Optimization
Senekis, It’s better to do backwards sometimes because if you are splicing an array you will not get a null reference error.
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
[AS3] Tile Based Ramps
Originally posted by BraydenBlack:
Originally posted by qwerber:
seperating axis theorum
This is a good tutorial on SAT – http://www.sevenson.com.au/actionscript/sat/
and If your not understanding the math behind it I would suggest learning about vectors – http://active.tutsplus.com/tutorials/actionscript/euclidean-vectors-in-flash/
Thanks for posting those links, I didn’t understand the math. (I’m in Alg 1.)
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
AS3 - best/recommended books?
If you would like to, you can check out my website, which has quite alot of tutorials for AS3 on it. Here you go.
|
|
|
RTL_Shadow
363 posts
|
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
mofunzone.com STEALING your GAMES?!!!
Do you guys realize this post is 2 years old?
|
|
|
RTL_Shadow
363 posts
|
Topic: Game Programming /
Optimization
Originally posted by BigJM:
Better yet would be to handle all of the enemies behaviour in one enterFrame listener without continuing to delegate it out to each one. Wouldn’t quite know about that, it could get crowded.
|