Be a Supporter!
Response to: Critque my engine so far Posted February 26th, 2009 in Game Development

looks cool the only problem I had was with jumping, possibly a problem with right or left plus the jump, i dont know, its like he wouldnt do both at the same time.

Response to: break this game Posted February 26th, 2009 in Game Development

niceee...

break this game Posted February 26th, 2009 in Game Development

Im working on this and I was wondering if anyone would like to test it out and try to break it.

controls ->

on foot
arrow keys to move, a to enter vehicle, z to exit vehicle

red helicopter
basic

blue helicopter
(in air) z lowers winch, a raises winch
space to drop box

yellow truck
space bar to dump boxes

um yeah i guess thats it, other then flying forever upwards any bugs you find would help out lots.

Response to: drawing lines Posted February 24th, 2009 in Game Development

thanks! ill try it

drawing lines Posted February 24th, 2009 in Game Development

say I have two points(which both can move), and I want to have a line joining them constantly, is there an easy way to do this in AS2?

Response to: enemy AI (simple spawn and attack) Posted February 23rd, 2009 in Game Development

well in your diagram it looks like theres only two directions you can be attacked from, left and right, if you want to spawn from above then just use the same idea with the y axis.

but if you wanted to say rotate your mc to always face the player then check out the tutorials in AS MAIN its full of this stuff

Xd =_root._xmouse-_x; //Get _x distance from gun to mouse
Yd =_root._ymouse-_y; //Get _y distance from gun to mouse
radAngle = Math.atan2(Yd, Xd); //Use atan2 to calculate the angle from gun to mouse
_rotation = int((radAngle*360 / (2*Math.PI))+90); //Use PI to calculate and set gun rotation

taken from a Denvish tutorial, just throw it in your enemy mc and change the mouse values to your player values.

Response to: enemy AI (simple spawn and attack) Posted February 23rd, 2009 in Game Development

well look at your diagram, it looks like you have it well planned out already, all you need to do is duplicate your enemy beyond the vcam,

enemymc._x = vcamx + Stage.width + 100;

if you dont know how to duplicate an mc then do a seach for AS MAIN in these forums theres a good beginner tutorial.

Response to: enemy AI (simple spawn and attack) Posted February 23rd, 2009 in Game Development

AS2 or 3?

Response to: game shadeing technique Posted February 23rd, 2009 in Game Development

i have it set at 32.

Response to: Need some flash game developers Posted February 23rd, 2009 in Game Development

what are the custom games?

Response to: game shadeing technique Posted February 23rd, 2009 in Game Development

thanks alot Johnny, that worked great, thought it wasnt working untill i cranked the background stars up to about 1000, anyway, once again here it is this time with the FPS. I get about 30-31 in flash 8 and about 32-33 in the browser, thats with the 72 pngs.

tester 3

Response to: game shadeing technique Posted February 23rd, 2009 in Game Development

oops...

test 2

Response to: game shadeing technique Posted February 23rd, 2009 in Game Development

sorry i dont know how to add an FPS display, I looked around but I really couldnt find anything good for AS 2, anyway I doubled the renders for this one, as you can see its twice as smooth since it has twice the images, first version had 36, this one has 72.

if I doubled the images again i could add photorealistic motion blur but that seems kinda excessive for just the rotation.

test 2

Response to: game shadeing technique Posted February 23rd, 2009 in Game Development

thats what i did, and theres only 36 images so it just looks choppy, i could just double it and it would probably be alot smoother.

game shadeing technique Posted February 23rd, 2009 in Game Development

does anyone think this kinda dynamic shadeing is worth useing? threw this together this morning.shade tester

arrow keys to move.

Response to: If statement help Posted February 13th, 2009 in Game Development

but he didnt tell you about xor, the exclusive or.

Response to: remove movie clip help Posted February 11th, 2009 in Game Development

thanks that did work heh stupid mistake

remove movie clip help Posted February 11th, 2009 in Game Development

for(a=1;a<10;a++) {
_root["enemy-2-"+a].removeMovieClip();
removeMovieClip(_root["enemy-2-"+a]);
}

these are supposed to remove the clips, but its not working for some reason and comeing up with 0 errors, what am I doing wrong, Ive seen other post both those methods in example, but neither works for me, Im useing AS2. could anyone help me out?

the instance name is correct and the MCs are duplicated at runtime.

Response to: The adrenaline of game making. Posted February 11th, 2009 in Game Development

well dont feel down man, once you learn one so many skills are transferable to another, its wayyy easier to learn c++ after learning all the basics. when i was in college first semester I was accually bored 90 percent of the time, it was just all learning syntax and a couple of new concepts.

I think my favorite programming achievement was understanding binary, lol it always seemed insanely difficult to understand, but turns out it was the easiest thing ever when explained the right way. Ill always remember that moment.

Response to: Beta Testers Wanted! Posted February 11th, 2009 in Game Development

nice work, i like it. cant really say anything bad about it.

Response to: AI Brain Storm Posted February 10th, 2009 in Game Development

for(x=0;x<5;x++) {
// code
}

x starts at 0, as long as x is less then 5 the code will execute, x will increase by one each loop (also known as iteration), i know you didnt ask for it but heh its so damn useful. say for example hittesting a bunch of points in front of your car at difference distances.

Response to: What do you use? Posted February 8th, 2009 in Game Development

qbasic is hardcore man, nibbles rocks, and who wouldnt be interested in going through 1000 lines of money management program

Response to: Quiz ranking? Posted February 8th, 2009 in Game Development

you need to learn the very basics of programming, there are many tutorials... for every open brace there has to be a closeing brace. this is why codeing is indented, you can look straight down from the open brace until you find the closeing one... if theres none it wont run.

Response to: platformer reset Posted February 8th, 2009 in Game Development

is character the accual name of your movie clip? is your mc inside another mc? the names are case sensitive, so check that, is the instance name correct, also case sensitive,

Response to: Programmer(s) needed Posted February 8th, 2009 in Game Development

that picture rools, open your own thread in the art forum man

Response to: Facial Expressions Code Posted February 7th, 2009 in Game Development

wow random, but i have to ask, how can you unlock her car if she has the keys?

Response to: Facial Expressions Code Posted February 7th, 2009 in Game Development

can i see it?

Response to: Enemy AI help Posted February 7th, 2009 in Game Development

well since your variable names are like one letter i just briefly looked over your code, its really bad practice to do that btw, but your missing some ;;;;;;; hope that helps

Response to: Facial Expressions Code Posted February 7th, 2009 in Game Development

ohhh wait i got it, its _root.player.mouth.gotoandstop(); etc,
you have just _root.mouth
since you made your mouth on your player MC
know what i mean?

Response to: Rotate an MC :F Posted February 7th, 2009 in Game Development

this._rotation += 1;

rotates a MC by 1 degree