SophieHoulden on DeviantArthttps://www.deviantart.com/sophiehoulden/art/Platform-Game-Engine-v0-1-36096139SophieHoulden

Deviation Actions

SophieHoulden's avatar

Platform Game Engine v0.1

Published:
71.4K Views

Description

A newer replacement engine for this is on the way, if you have cs3/cs4 make sure to check out Edward :)

The current alpha release of already Edward has all the features this engine does + more, so check it out! :D

- - - - - - - - - - - -
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 :)

Features:
- 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 ;)

IMPORTANT!:
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
© 2006 - 2024 SophieHoulden
Comments121
Join the community to add your comment. Already a deviant? Log In
AaronG73's avatar
I'm sorry I see