Shop Mobile More Submit  Join Login


Submitted on
June 3, 2006
File Size
1.3 MB


24,421 (2 today)
123 (who?)
7,300 (1 today)
Platform Game Engine v0.1 by GuyFlash Platform Game Engine v0.1 by GuyFlash
its a .fla file so you will need to click 'download to desktop' to view :)

ok, first off this is horrendously raw and I still need to do a lot of work on it, however some of the code is commented and what isnt should be fairly self explanitory.
I am only releasing the 0.1 version because I want anybody to find any bugs that are in at this point, and some people may just want to see how I code my platform games :)

- running, jumping and crouching (also skidding ;))
- simple system of using floors, walls and ceiling movieclips which the playable character interacts with appropriately
- easily modified character for various animations
- level appearance and complexity is as good as your flash artwork can be
- teleporting between levels so there is screen-by-screen progression similar to early prince of persia
- game loop code all commented

Still to come:
- a help file
- support for more than 10 floors, 10 walls and 10 ceilings
- a moddable main menu featuring the ability to change the controls
- improved (and hopefully simpler) teleporting
- built in preloader
- example game and tutorial on making it

stuff to note about v0.1:
-walls ceilings and floors need to be named uniquely (mcWALL1,mcWALL2,mcWALL3... mcCEILING1,mcCEILING2... mcPLATFORM1,mcPLATFORM2 etc)
-you can have a maximum of 10 walls, 10 ceilings and 10 platforms
-walls ceilings and platforms must not have the same name and number or they wont work
-PLEASE let me know if you need help or find bugs, I want to make this easy to use.
-also tips on coding would be much appreciated ;)

I havent had time to decide which licence to put on this code but I'll say this:
you are free to read, use and modify this code for the purposes of learning or making a game (even for profit) however you must credit me and give a link back to my page (and please dont be shy about it or hide the link somewhere, you should have a credits page in your menu, you want traffic too right ;p)
by using this you also realise that it is incomplete and I may change the file or improve it without informing you (i.e theres better stuff on the way)

ok, I think thats all the nonsence I need to waffle about, check it out. make something cool people :D

edit: oh yeah, its mx2004 file format ;p
Add a Comment:
Bar-Kun Featured By Owner Jan 11, 2012  Hobbyist Digital Artist
what porgram?
maximathevaporeon Featured By Owner Jan 8, 2012  Student Traditional Artist
TheBrushRider Featured By Owner Aug 2, 2010
Man, I've been searching for something to teach me a little about flash game engines!

That's reeeally useful, especially the comments in the script! Thanks a lot!!
CoolPrinter Featured By Owner May 25, 2010   Filmographer
evolvd-studios Featured By Owner Mar 18, 2010  Hobbyist Traditional Artist
Wow, awesome job, no rlly. XD I never tought of most of what u said, downloaded, and really recomend this... Hey, were really short on members, and we would now like you to join our new group, evolvdstudios-online!


If ur not good at animating, bad at, or have no idea even the most basic actionscript flash game programing, well, this club is just for you. We got:
*Flash tutorials
*Learn game programing in 20 minutes! (Im an example, really, was a total noob)
*Not good at drawing? We got a sprite database with many ALREADY ANIMATED gifs and sprites from ur favourite characters like sonic and mario, from the next gen smash brawl and sonic advance consoles, ready to use in flash. Dont like spritesheets? We do the work for you!
*With our new sound effect archive, you can now even download our voice, scenery and sound effect packs such as water, ice cracking and stuff like that, soon to grow.
*Have good ideas but cant use them? Ask your questions here!

Wether ur a sprite animator, flash pencil stop motion artist, or a gameprogramer, we all love them, no matter what your level is, here u get better! So what u waiting for?! HAVE A LOOK AROUND AND JOIN!


note: We use personal invitations scince we feel its a bit more direct, and we run out of pending invites...XD So what do u think? IF u you want to join, reply coment, otherwise ignore.
maverick1130 Featured By Owner Apr 2, 2009
quick question about adding in more platforms and walls.

When you drag them from the library they are all the same movie clip. How do you assign each its own value so the script recognizes it as "mcPLATFORM#(1, 2, 15, moose)"?

Modifying the actual script to get it to recognize more than 10 of each isn't a problem though.

Using CS3 in case something has been moved.
SirFilth Featured By Owner Feb 2, 2009  Hobbyist Digital Artist
i haven't checked it out yet, but perhaps an update with AS 3.0 built in..much cleaner than the older _root mess.
nooaaa Featured By Owner Jan 9, 2009
how do i use this?
carmiecarmela Featured By Owner Aug 23, 2008
Awsome. Love it.
komozeck Featured By Owner Jun 30, 2008  Professional General Artist
this is great...i will try when i go to home :)
Add a Comment: