HOME | DD

Published: 2006-07-10 19:38:50 +0000 UTC; Views: 71838; 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
Zeraga [2008-01-02 06:04:53 +0000 UTC]
Say, would you happen to know how to end the jump when you release the jump button?
So the longer you hold down the button, the higher you jump.
Like in pretty much every platform game ever. :B
👍: 0 ⏩: 1
SophieHoulden In reply to Zeraga [2008-01-02 11:59:33 +0000 UTC]
actually I fixed it so that happened in the new nevermore engine for westykid... umm, let me see...
hmm, files not on my laptop, want me to throw a fresh version together?
👍: 0 ⏩: 1
Zeraga In reply to SophieHoulden [2008-01-02 18:37:04 +0000 UTC]
I'd very much appreciate it.
👍: 0 ⏩: 0
Myth-666 In reply to ??? [2007-11-02 18:00:29 +0000 UTC]
This engine is incredibly helpful!! Any chance of those updates you mentioned? =]
👍: 0 ⏩: 0
swerno092 [2007-04-16 11:29:50 +0000 UTC]
Yes! Thank you! Thank you! Thank you so freakign much XD ive been looking for a terrain definer XD!!!!!!!!!!
👍: 0 ⏩: 0
Chesso [2007-04-14 03:33:11 +0000 UTC]
Hi just a comment girlflash.
Remember that you can put many of those collision checks in the same for loop for speed and efficiency, of course depending on how you use your collisionable objects.
For example:
for loop 3 for platform
for loop 3 for side wall.
Even if you have 5 walls and 3 platforms simply doing a single 5 rolled for loop will reduce by 1 check.
This is much better when you have similar/same amount of each though. .
👍: 0 ⏩: 0
Dreammachine [2007-03-19 12:12:56 +0000 UTC]
First off, I must say that this is one of the best platform Engines I've seen so far. ^_^
The "gravity" in the engine is perfect! <3
Most tutorials I've used gave me the feeling I was on the moon.. x_x;
And I'm very thankfull you are willing to share it with the comunity! ^^
So, kudo's!
I've been diffeling with it myself, kinda fixed the limit to the walls you had..(I think)
But I'm stuck with something else, being the script n00b that I am.. >.>;
You see, when my character jumps, he jusps coolish forward!
..But when I jump the other way, he keeps facing the right (-> direction.. ._.;
My question is.. where can I find/make/fiddle it to make a new jump animation, the facing other way ..and make it work at the same time? o.o
So that I also could make an animation for a battle-animation for instance. ^_^
(if i ever figure out how to make enemies that do more then bump into you.. )
..I'm not too sure how hard it is to explane, ..but any help would be greatly appreciated. :3
And I agree with kelseysharpe383 ..this should get more respect. >.>
👍: 0 ⏩: 1
SophieHoulden In reply to Dreammachine [2007-03-19 16:45:40 +0000 UTC]
yup, thanks for pointing this out to me, here is my quickest fixing pointers:
1. find in the code on the main timeline where it says:
///// start code for showing the right player frame /////
2. at dome point after that, you will see:
//if the player is on the way up
_root.mcPLAYER.gotoAndStop(5);
//tell the player to show the jumping up anim
3. instead of that, you want something like:
//if the player is on the way up
if (_root.mcPLAYER.DIRECTION == "R") {
//if the player is facing right
_root.mcPLAYER.gotoAndStop(5);
//make the player show the jumping right frame
} else {
//if the player is facing left
_root.mcPLAYER.gotoAndStop(10);
//make the player show the jumping left frame
}
4. Then just put your jumping right character in frame 5 of the 'player' movie clip and the jumping left one in frame 10.
---------
that should be pretty much it and a similar thing if you want the falling character to have directional thingies.
I havent tried it out yet but thats basically how to go about fixing it up, if you have any more issues let me know and I'll see if I cant update the source file a little
👍: 0 ⏩: 2
senshuu In reply to SophieHoulden [2008-11-17 14:47:00 +0000 UTC]
Ohh, this answers the question I just asked. Very good.
👍: 0 ⏩: 0
Dreammachine In reply to SophieHoulden [2007-03-19 17:33:34 +0000 UTC]
Well, ther is one thing..
You see..
err..
We have a "Go down" animation aswell. ^_^;;
I think I should be able to figure this one out myself though. O.o;
..But it would be a nice note for in your updates.
The rest of my questions are more of a luxury..
And I shouldn't bother you with those since they have nothing to do with this Tutorial. ^^
(But if you're the helping kind of person I'd be happy to learn it from you ofcourse. O_o; )
Thanks for your help! ^^
👍: 0 ⏩: 2
SophieHoulden In reply to Dreammachine [2007-03-19 18:00:37 +0000 UTC]
well feel free to ask questions and I'll be happy to give answers or at least point to them
👍: 0 ⏩: 0
Dreammachine In reply to Dreammachine [2007-03-19 17:54:10 +0000 UTC]
EDIT: Myesh, i was able to fix the "Going down" thing, thanks to you! ^^
Oh, and just a minor question, for whatpurpose is frame 7 created for..? o.o
👍: 0 ⏩: 0
ccyto In reply to ??? [2007-01-30 09:58:04 +0000 UTC]
Maybe I should code an engine too, but for arial view games, like GTA/2. I really didn't try downloading this yet, but I'm sure it was great idea.
I miss you in #Flashers, btw.
👍: 0 ⏩: 0
Daniel-Hunt [2007-01-21 16:07:57 +0000 UTC]
This is really useful, thanks =D.
The one thing I haven't managed to work out though is how to make ceilings. I've tried making movieclips and calling them "mcCEILING1" and so on, but the character still jumps right through them. Is there any way to get this working, or is it just my PC acting up?
Other than that, it's great.
👍: 0 ⏩: 1
Daniel-Hunt In reply to Daniel-Hunt [2007-01-21 17:38:21 +0000 UTC]
Nevermind, I managed to get it working. I think I made a typo in the instance name.
👍: 0 ⏩: 0
kelseysharpe383 [2006-12-31 04:20:57 +0000 UTC]
I must thank you for posting this. You diserve way more comments, but unfortanatly, most people seem to not care for flash resources. No matter! Great work!
👍: 0 ⏩: 1
SophieHoulden In reply to kelseysharpe383 [2007-01-01 01:50:05 +0000 UTC]
thanks, but its ok about the comments and stuff, I got a few when I first put it up on my old account
👍: 0 ⏩: 0
<= Prev |