The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 Views
Click to view.
I have a short I am starting, cannot wait for Robot Day!
Hi, I have put together a small game, it's nothing groundbreaking I just wanted to try it! I learned a lot of code by doing this but not all of my code works...so if their is anyone out there who can answer some questions for me here by responding thanks! If you want to really help with the game ( which would be awesome ) please PM me.
Okay, my game is kind of a "defend your castle" type game. The enemy comes from the right side and attacks the fort on the right. My code has the enemies speed zip by at random speeds and when he passes my fort health drops... His death animation is on frame 2 and here is his code.
onClipEvent (load) {
function reset() {
this._x = 800;
this._y = ground
this.gotoAndStop(1);
}
reset();
}
onClipEvent (enterFrame) {
if (_root.spaceship.scrollStart) {
this._x -= enemySpeed+_root.Ground.groundSpeed;
} else {
this._x -= _root.enemySpeed;
}
if (this._x<-10) {
reset();
_root.enemySpeed=random(25)+5
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.igloo)) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.igloo.hitTest (this)) {
_root.blanta.stop(2)
}
}
What I would like to happen is, when he hits the igloo he stops and starts his attack animation. While he is running across the screen however he still needs to be able to die.
The other question I have is I have a spell system set up, I have a movieclip that if you click it I want it to play the spell.... Any Ideas?
Thanks!
this week sucks, first I find out Tim Jewell died and now this...
Why?!
Sorry forgot this one.
Click to view.
Here's a movie:
Click to view.
And a game :
Click to view.
:D