HOME | DD

Published: 2006-07-10 19:38:50 +0000 UTC; Views: 71841; Favourites: 206; Downloads: 14179
Redirect to original
Description
A newer replacement engine for this is on the way, if you have cs3/cs4 make sure to check out EdwardThe current alpha release of already Edward has all the features this engine does + more, so check it out!
- - - - - - - - - - - -
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
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
edit: oh yeah, its mx2004 file format
Related content
Comments: 121
Daxspace [2009-04-14 16:39:42 +0000 UTC]
i just got to say thanks sooo much for this, iv studied and learnt from this so much and is the foundation of how i build my portfolio. im giving u credit for the help and willing to show u my creations from it if u wish
THANK YOU
x
👍: 0 ⏩: 0
Milk-ManOfPlyiersInc [2009-04-11 07:06:17 +0000 UTC]
How do you change the slipperyness of the ground/how far he slides?
👍: 0 ⏩: 1
SophieHoulden In reply to Milk-ManOfPlyiersInc [2009-04-11 09:38:25 +0000 UTC]
I dont think you can specifically change the ground friction, but you can change his horizontal slowdown, I cant remember what the code is right now (not got flash on this pc) but somewhere there will be something that looks like:
variableForXmovement *= 0.9
bring 0.9 closer to zero to slow him down faster
👍: 0 ⏩: 0
CaptainUnobservant [2009-03-30 11:21:54 +0000 UTC]
I just played Nevermore 3, your engine is exceptional! Keep up the amazing work!
👍: 0 ⏩: 0
wackweeper [2009-03-28 12:13:49 +0000 UTC]
hey, thanks for the platform game engine, this is EXACTLY what i need for my game. Thanks a lot.
👍: 0 ⏩: 0
jwrage [2009-03-07 18:19:51 +0000 UTC]
I love this engine and am hoping to use it soon. Any idea when the next version will be released?
👍: 0 ⏩: 1
SophieHoulden In reply to jwrage [2009-03-07 20:34:05 +0000 UTC]
well edwards official first realease might be a bit away but the alpha release is out now at [link] and the beta isnt too far off. it already has more functionality than the old one of course, and has prolly had more testing too lol
👍: 0 ⏩: 0
JAXMP [2009-01-12 21:33:36 +0000 UTC]
so... what happens if i use Flash CS3? :/
i think it uses a different version of actionscript? would it still work? :C
👍: 0 ⏩: 1
SophieHoulden In reply to JAXMP [2009-01-12 22:08:25 +0000 UTC]
cs3 has the same scripting, I should be able to save a cs3 .fla and it will work fine
👍: 0 ⏩: 1
Scorpianato [2008-12-05 08:51:45 +0000 UTC]
Thank you for making this , I won't be using it now(Reading Adobe's Official CS3 newbie book...) but I know that it Would help alot when I do use it
I hope it isn't too much to ask but..
Can you make a game engine for a fighter game?
👍: 0 ⏩: 0
senshuu [2008-11-17 12:36:16 +0000 UTC]
Woo! I've wanted to play around with something simple like this.
👍: 0 ⏩: 1
senshuu In reply to senshuu [2008-11-17 14:41:42 +0000 UTC]
Upon closer inspection! I only wish there were a distinction between jumping left and jumping right. And I'm way too lazy to figure that out myself %D
Still, thank you
👍: 0 ⏩: 0
Zodiac-23 [2008-10-14 20:43:57 +0000 UTC]
This is a good start for a game engine and mostly just covers the movement physics of the player and collision detection between walls. Although it will take much more to make a playable game:
- need a scoring mechanism
- enemy and power-up collision logic
- player lives and death logic
- end game logic
Also, it would be much more customizable if you were to convert it to ActionScript 3 and make it an object-based engine.
Good start though...keep up the good work.
👍: 0 ⏩: 0
Vango003 [2008-09-21 17:26:43 +0000 UTC]
This is awesome! i've been looking all over the place for something like this, and it ends up being even more than i expected!
👍: 0 ⏩: 0
carmiecarmela [2008-08-23 14:48:39 +0000 UTC]
Ok umm, if ever i come back from the other frame from the "door" i cant see myself
👍: 0 ⏩: 0
carmiecarmela [2008-08-23 14:44:56 +0000 UTC]
Ok sorry for me being annoying, if ever i have a comment next after this sorry but then i found out all my questions. Sorry!
👍: 0 ⏩: 0
carmiecarmela [2008-08-23 14:22:57 +0000 UTC]
Okay i found a bug, my character if falling through the ground, how do i not?
👍: 0 ⏩: 0
carmiecarmela [2008-08-23 13:42:14 +0000 UTC]
Hey Sorry if im annoying anyway
Inside the movieclip of the player, i dont get the last part where there is this person that is like squatting, kicking.. i dont quite get that...
👍: 0 ⏩: 0
carmiecarmela [2008-08-23 10:58:52 +0000 UTC]
ehh can i borrow your mounain background for a game im doing using your.. that one? Ill give you credit. nice one btw
👍: 0 ⏩: 0
DalmatianK [2008-07-25 15:02:12 +0000 UTC]
Hi!
I love it like evry one else so, no need saying
I just read you "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
Will you take your spare time and try and do some?? I bet tons of ppl will be happy!
I'm taking it to my : A.S. Solving ok?? I need to learn alittle now...
👍: 0 ⏩: 1
SophieHoulden In reply to DalmatianK [2008-07-25 15:07:54 +0000 UTC]
actually I plan to make a brand new engine using as3, but I'm pushed for time and money so it might be a while
👍: 0 ⏩: 1
DalmatianK In reply to SophieHoulden [2008-07-25 15:10:08 +0000 UTC]
oooooooo.... You are soo kind!
👍: 0 ⏩: 0
rocketship123 [2008-06-24 19:29:29 +0000 UTC]
Do you mind if I change this to AS3 format and re-release it(or give it to you to re-release)?
👍: 0 ⏩: 1
SophieHoulden In reply to rocketship123 [2008-06-24 20:36:33 +0000 UTC]
I'm cool whichever way, feel free to add features and stuff if you want
let me know when you have it up and I'll let my watchers know
👍: 0 ⏩: 1
lisa-rose [2008-06-16 11:28:33 +0000 UTC]
wee ^__^ that's fun! this is great - to see how it all works n stuff!
ausum for learners like me
👍: 0 ⏩: 0
HollowWhisper12 [2008-05-06 21:57:04 +0000 UTC]
Errrrmmm Well I just took your player and drew over it but then he won't realy move he just falls down when I click test. why does it do that?
well I drew over everything except the last farm on the player timeline.
👍: 0 ⏩: 0
SiloZen [2008-04-27 11:00:28 +0000 UTC]
Wow this is cool
Any chance of there being a v0.2?
Also thanks for putting this on
👍: 0 ⏩: 1
SophieHoulden In reply to SiloZen [2008-04-28 09:37:58 +0000 UTC]
actually its more likely I'll make a completely fresh engine, theres alot in this I dont like, and keep getting the same questions about it in my inbox, so ya, a new engine is more likely
👍: 0 ⏩: 0
edster9 In reply to ??? [2008-04-10 20:26:36 +0000 UTC]
Can you tell me the code to put on the door when the character touches it and it goes to the next level?
👍: 0 ⏩: 1
SophieHoulden In reply to edster9 [2008-04-13 10:57:08 +0000 UTC]
sorry for the late reply, but the code should be pretty similar to what is on the 'teleport' pieces for when you walk off the edge of the screen
👍: 0 ⏩: 1
edster9 In reply to SophieHoulden [2008-04-13 13:18:41 +0000 UTC]
Well I played around with it knowing the movie clip had to touch the object and tried a if.hit ationscript and I guess it worked cuz it took me to whatever frame I labeled it to take me Thanks, anyway ^_^ but I can't download the .fla for some reason...I have macromedia flash mx 2004...
👍: 0 ⏩: 0
turrturr In reply to ??? [2008-03-27 15:42:23 +0000 UTC]
How can I make game like Super Mario Bros?
👍: 0 ⏩: 1
SophieHoulden In reply to turrturr [2008-03-27 23:25:28 +0000 UTC]
If you want a scrolling platformer I wouldnt reccomend using this engine, the tutorial at [link] however will be much more handy
👍: 0 ⏩: 1
turrturr In reply to SophieHoulden [2008-03-28 10:27:43 +0000 UTC]
But I love your script! Must ask, how I can make that player move (walk) slower? I don't mean animation, I mean the player. I get scrolling works, but player move so fast, that it go away from screen. Please help! +fav:
👍: 0 ⏩: 1
turrturr In reply to turrturr [2008-03-28 10:31:42 +0000 UTC]
THIS IS BEST FLASH RESOURCE IN DEVIANTART!
👍: 0 ⏩: 0
turrturr [2008-03-27 10:14:13 +0000 UTC]
Hi! This is amazing flash file! Thank you very much! Why I can just have 10 platforms, I need more, because I'm gonna use this with scrolling bg. I hope you make updates someday!
👍: 0 ⏩: 0
jonathanshariat [2008-03-17 21:30:34 +0000 UTC]
awesome thanks, I cant wait to start on this game, the kids are going to love it!.
Now I just have to figure out how to make the lvl's more interesting (I have the layouts pretty much figured out and a small story too)
I was thinking like a key to unlock the door, or even better moving platforms. If you know where I could find those kinds of thing and what not I would love you for ever!
👍: 0 ⏩: 0
jonathanshariat In reply to ??? [2008-03-17 16:55:38 +0000 UTC]
is there a way to have more than 9 walls and what not?
👍: 0 ⏩: 1
SophieHoulden In reply to jonathanshariat [2008-03-17 18:30:42 +0000 UTC]
sure there is, find each:
for (a=1;a<=10;a++){
and change the 10 number to however many platforms/walls/ceilings you have.
or better yet, you can create a variable like 'TotalPlatforms', set it to be the number you want, and change each of the for loops to:
for (a=1;a<=TotalPlatforms;a++){
that way once you are done you only ever have to change the variable if you add more things to collide with
👍: 0 ⏩: 0
jonathanshariat [2008-03-13 19:10:41 +0000 UTC]
Thank you very much for this! I am making a game for our kids show and I have no flash gaming experience what so ever. So thousands of Persian kids thank you! haha
[link] or [link]
I will post again with a link when I have it up. Here is a link to the site so you can check it out. (not finished at all) also feel free to let me know what you think. I am pretty much jumping into the deep end of flash with this project but its for a good cause so I can learn.
Thanks again so much, and the commentary too. I have already learned so much.
👍: 0 ⏩: 1
SophieHoulden In reply to jonathanshariat [2008-03-15 18:31:44 +0000 UTC]
thats a great thing to hear I cant wait to see the finished thing
👍: 0 ⏩: 0
Ace0fredspades In reply to ??? [2008-02-11 01:51:22 +0000 UTC]
wow! really nice! (maybe I'll use it...)
👍: 0 ⏩: 0
Slodd [2008-02-06 19:54:00 +0000 UTC]
ah, cool, I've wanted to make a game forever, but I'm shitty at AS.
👍: 0 ⏩: 0
| Next =>