gotoAndKill
115 posts
|
Topic: Game Programming /
Want to start making your own games?
Originally posted by nodnarbisc:
This is the best thing I did for my actionscript skills: I bought Essential ActionScript 3.0 by Colin Moock and read it cover to cover. I highly recomend it.
Wow, really? That would be a good way to learn all the concepts. I think that if you’re a complete beginner and you read that book from cover to cover it’ll only leave you confused. Too many things going on and once, and you’ll get frightened. Beginners should do it kind of as a learn as you go type of thing. Do something you want with the language and learn what you have to, to make it. I have no idea why, but I never learned anything from reading those books. I always knew what they were talking about already, and they explained it “too much” and it bored me. I always found reading posts on forums such as these, and reading people’s source code and trying to figure out how it works. That was how I learned the small bit I know now, and it’s very fun.
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Flixel Troubles
Originally posted by skyboy:
why are you declaring it and defining it on different lines? that’s actually slower than doing it on one line, i would think; and if not, this at least looks cleaner
var b:FlxBlock = new FlxBlock(parameters, go, here);
b.loadGraphic(TechTilesImage);
You’re right. I assumed he was going to use more than one block though. For example,
var b:FlxBlock;
levelBlocks = new Array();
b = new FlxBlock(parameters, go, here);
b.loadGraphic(TechTilesImage);
levelBlocks.push(this.add(b));
b = new FlxBlock(different, parameters, here);
b.loadGraphic(TechTilesImage);
levelBlocks.push(this.add(b));
But if he wanted to only use one, that would be fine.
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Flixel Troubles
Your code looks fine, it could work with a normal array. Change levelBlocks variable from FlxArray to a normal array. Also, change the code inside your constructor to this. Your player stuff is fine though.
var b:FlxBlock;
levelBlocks = new Array();
b = new FlxBlock(parameters, go, here);
b.loadGraphic(TechTilesImage);
levelBlocks.push(this.add(b));
Make sure to put in the proper parameters for your FlxBlock though.
The update function
super.update();
FlxG.collideArrayX(levelBlocks, player);
FlxG.collideArrayY(levelBlocks, player);
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
AS3.0
Excuse me?
I was judging his games as a player not a developer. None of his games have over a 3.0 score, and even then none of them have over 1500 plays. Proves that they all suck. Why does he insist on bagging AS3 if he doesn’t have anything to prove his AS2 skills?
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
[contest] GOTW #14
This is why no one joins these things. Your rules aren’t clear enough, learn how to format your posts please.
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
AS3.0
This post has been removed by an administrator or moderator
|
|
|
gotoAndKill
115 posts
|
Topic: Collaborations /
In look of mentor
Lack of Technology, age, and knowledge? What the hell?
Apparently you have a computer, so you have enough technology to begin making games. Lack of age, wtf? Lack of knowledge? Dude, google!
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Game maker
Learning how to program in actionscript 3 would probably be easier than learning how to use that generic game maker software. Imo, anyways.
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
How To Download game from website and edit it?
Done.
Yea, I’m pretty sure he doesn’t want to decompile any of your stuff either, lol.
|
|
|
gotoAndKill
115 posts
|
Topic: Collaborations /
the "fame" game that is going to be lame if you (yes, you) dont help!
Originally posted by Godskook:
So wait, you’re not even the idea guy? What is it you’re bringing to the table?
He’s bringing the snacks, no shit.
|
|
|
gotoAndKill
115 posts
|
Topic: Collaborations /
Need a programmer (pay)
This post has been removed by an administrator or moderator
|
|
|
gotoAndKill
115 posts
|
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
what game making soft were should i use plz tell
plz teech me aktionscirpt 3 point 0hh? pl0x, I w3nna maek mah MMORPG!
|
|
|
gotoAndKill
115 posts
|
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Arrow Key Movement [AS3]
The KeyObject class makes this so much easier.
var Key:KeyObject = new KeyObject(stage);
addEventListener(Event.ENTER_FRAME, keysDown);
function keysDown(e:Event):void{
if(Key.isDown(Key.RIGHT)){
trace("right pressed");
}
if(Key.isDown(Key.LEFT)){
trace("left pressed");
}
if(Key.isDown(Key.UP)){
trace("up pressed");
}
if(Key.isDown(Key.DOWN)){
trace("down pressed");
}
}
That worked perfectly fine for me. You can download the KeyObject class at senocular’s site.
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Shinking mp3 size, not quality!
If only we could use MIDI files for sound. Gah, fuck Adobe.
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
problem with code ???
Originally posted by saybox:
One enterframe event will hold all of those, instead of the way you’ve written it. but anyway, you need an else condition that resets to the basic standing stillpicture.
Basically, in terms you can understand. He’s saying, stop using fucking clipevents, use the main timeline, give an instance name, and refer to it using that. Would be much cleaner.
else {
gotoAndStop('insert_name_of_still_frame_here');
}
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Help with platforming game
Check your registration points, man …
|
|
|
gotoAndKill
115 posts
|
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
make a timer that counts up.
This post has been removed by an administrator or moderator
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Simply Html
This post has been removed by an administrator or moderator
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Move and shoot issues
Try using the KeyObject class found on senocular’s site instead of all those variables.
Also, check your code and make sure you have it the same way Mr. Sun does.
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
I need "KEY" help...
Here, try this adobe livedocs webpage which tells you the key codes to each of the keys on the keyboard which you can use for Actionscript. In your case, S would be.
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001136.html
stop();
onEnterFrame(){
if(Key.isDown(83)){
gotoAndPlay(2)
}
}
|
|
|
gotoAndKill
115 posts
|
Topic: Off-topic /
What FireFox AddOns do you have?
Probably the only ones I have installed are Adblock Plus and FoxyProxy.
|
|
|
gotoAndKill
115 posts
|
Topic: Game Programming /
Starting to learn ActionScript 3.0
Oreilly Learning Actionscript 3.0 A beginners guide. Look it up.
|