Shop Mobile More Submit  Join Login
×

:iconferriswheel42: More from ferriswheel42





Details

Submitted on
January 11, 2009
Image Size
293 KB
Resolution
500×450
Link
Thumb
Embed

Stats

Views
6,813 (3 today)
Favourites
137 (who?)
Comments
36
Downloads
288
×
Here's a preview of a game that is currently in the works. It's in the disguise of a tutorial. A very useful tutorial that covers health bars, enemies and health packs. If you're new to Flash, I recommend that you learn the basics before trying out this tutorial. REPEAT: This is NOT for beginners.

Anywho, before starting, you should download :icongirlflash:'s Platform Game Engine available for free here: [link]

Again, special thanks to :icongirlflash:, Senocular.com and Kirupa.com. You guys all rock!

Edit:
Fixed some of the problems that caused syntax errors. If you have any further issues, lemme know!
Add a Comment:
 
:iconflashgamecode:
flashgamecode Featured By Owner Jun 28, 2012
Hello, I know our Flash Games Engine maybe can help you: [link]
can like our page on facebook: [link]
thank you
Reply
:iconhanaishi-chan:
hanaishi-chan Featured By Owner Aug 11, 2010  Student General Artist
I love the way you made this tutorial, it's awesome. Really cool :D
Reply
:iconferriswheel42:
ferriswheel42 Featured By Owner Aug 13, 2010
Thanks ^^
Reply
:iconhanaishi-chan:
hanaishi-chan Featured By Owner Aug 13, 2010  Student General Artist
you're welcome! ^^
Reply
:iconchocogingerfingers:
chocogingerfingers Featured By Owner Jun 15, 2010  Student Filmographer
I put in the actionscript for the enemy for tracker, but it comes up with all these compiler errors.
Reply
:iconferriswheel42:
ferriswheel42 Featured By Owner Jun 15, 2010
The scripts in this tutorial are written in Actionscript 2. If you're getting compiler errors, it means you're trying to use Actionscript 3, the default script for CS3 and up. The easy fix is to go File>Publish Settings, then navigate to the "Flash" tab and change "Actionscript 3.0" to "Actionscript 2.0". Keep in mind that this will affect any AS3 you are currently using in your project.
Reply
:iconwordweaver1001:
wordweaver1001 Featured By Owner Oct 22, 2012  Student General Artist
I'm having the same problem. I am also using ActionScript 2.0 still with difficulty. Help please?

Great tutorial by the way! :D
Reply
:iconchocogingerfingers:
chocogingerfingers Featured By Owner Jun 15, 2010  Student Filmographer
Yeah I know they're actionscript 2. I put in this script:

onClipEvent(load) {
var speed=1;
}
onClipEvent(enterFrame) {    
var distx = Math.round(_root.spyro._x - this._x);
var disty = Math.round(_root.spyro._y - this._y);
var theta = Math.atan2(disty, distx);

var deltax = ((Math.cos(theta) * speed));
var deltay = ((Math.sin(theta) * speed));
this._x += deltax;
this._y += deltay;
}

Then clicked that box that said check syntax and it said that.. D:
It said for most of them that they must appear within an onClipEvent handler, and an unexpected '}', and a syntax error with 'onClipEvent(enterFrame) { '

Thankyou so much for replying to my message though, I really appreciate it. I've been trying to contact other people that are good at flash, but they never reply.
I'm making my own platform game using tutorials, and I hope I can get it done. My flash game :)
I was looking at your tutorial because I've been having trouble finding the right actionscript to make enemies and health bars.
Reply
:iconbaelavay:
Baelavay Featured By Owner May 13, 2010  Professional General Artist
that link to girlflash's game engine doesn't work atm
Reply
:iconmojoismehkitty:
mojoismehkitty Featured By Owner May 10, 2010
this is awesome! btw if you press the spacebar to get to the MM and you press play again, your character falls through the floor :(
Reply
Add a Comment: