Adobe flash cs4 Game tutorial Enemy Creation

Adobe flash cs4 Game tutorial Enemy Creation


Get Fla
main time linecode
Bullet Class
Enemy Class

12 comments:

Kade said...

I really like this tutorial, but is there any chance that you could make an enemy tutorial for platform games? Ive been trying to created enemies for a platform games but I haven't had much luck :(

metalgod5651 said...

I love the tutorial bro, but is there any chance you can make a start screen for the game?

JordanDixon said...

Hey, i was wondering why you used core=MovieClip(root);? couldn't you just use root.? i would appreciate you elaborating more on this, its kinda confusing.

Waarith Abdul-Majeed said...

root is only a reference to the movie clip. Its like when the operator tells you the phone number, afterward you have to dial it to make use of it.

Anonymous said...

yo that enemy creation clip is confusing me. im new to flash and dont know how and where to enter the classes, if you could somehow make that clearer it would really help

Bryce said...

your awesome for doin this man..thank you.

Anonymous said...

Could you make a tutorial on how to make the enemies shoot and kill you when they hit you, and one on how to keep a score.
great tutorial btw

Anonymous said...

awesome tutorial, but I got an error like "TypeError: Error #1010: A term is undefined and has no properties at enemy/loop()". help anyone?

jay said...

great stuff i have made a game with the use of your code but i still can not get a score to work with a as3.0 and class scripts any help would be great

Anonymous said...

A problem with the enemy action script : (5007: An ActionScript file must have at least one externally visible definition.)

when im trying it

Anonymous said...

this tutorial was pretty awesome, but i was wondering how you make a score that goes up automatically like a timer. so a game like cubefield where the score goes up as long as you survive, but at the same time i need the score to be able to go up as you perform actions.

thankss

mimi said...

you could place this code inside the [loop function] in the enemy.as to check if the hero has been hit :)

if (hitTestObject(core.sp)){
trace('ship has been hit');
}

you could then add stuffs like if the ship hit the enemy ----game over or something

btw thank you so much Waarith for these awesome tutorials ;)