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
rofl! i went to click "download to desktop" and mindlessly clicked "add to favorites". and, for some odd reason, it will not let me download it to me desktop. i hate the internet and deviantART and firefox. i just favorited something that i can't even view!
--
but to tell her, would be to clip the wings of the dove,
that could so easily have carried that message by kiss.
----------------------------------------------------------î Am: KÏñG tØmÅtHØñ
ew! you said IE! i got it to work after like 60 tries, and opening and closing forefox a few times. haha.
--
but to tell her, would be to clip the wings of the dove,
that could so easily have carried that message by kiss.
----------------------------------------------------------î Am: KÏñG tØmÅtHØñ
Theres only one thing i can think of that would be simpler:
In the character, where you have the multiple animations on different frames, it is easier to have a single walking animation facing right (or left, whatever), and change the xscale to -100 when the left key is pressed. same could be said for all animations. Instead of the character doing a different animation, the sprite will just be facing the opposite direction.
Of course, that wouldn't work when you are using two different animations for left walk and right walk. But, in most cases, that doesn't happen.
Anyway, very nice engine. The collision detection is how i thought it would be, i just always assumed that was a very slow method. Guess not. Maybe i shall finally get off my ass and make a neat platform game
--
0pie is deviant #1808902
AVATARS BY ME: ~AVATAR-MASTER
Su mamá lame los lugares marrones en mi bajo prendas de vestir
--------------------------------------------
Tis Comant iz, ummmm, yah, an ofigument os yo inaginaination. HO HO HO!
-----------
New deals posted everyday, starting Black Friday and running through the holiday season! No hassles, no lines - just awesome savings on art, deviantWEAR, Premium Memberships and more!
^Ikue has been a devious member of our community for almost 7 years and in this time he has proven to be nothing short of dedicated and devoted. Whilst volunteering his time over the last 22 months as a Gallery Moderator within the Community Relations Team, Chris has brought the Vector gallery and many vector artists directly into the spotlight. ^Ikue's commitment to the community is evident in everything he touches and you can always find him reaching out to others with an encouraging word. Chris is a natural leader with a vibrant and empathic personality, and is a role model for deviants everywhere. It's ev... Read More
Comments
--
Time sure does fly when your adjusting the clock!
-KronicKatt
--
...FACT!
[Dont like censorship? join the anti-censorship club]
[Find me in #Flashers baybee!]
yay!
--
. BubbleGum ~ Gallery ~ WebSite .
--
but to tell her, would be to clip the wings of the dove,
that could so easily have carried that message by kiss.
----------------------------------------------------------î Am: KÏñG tØmÅtHØñ
...
I regret saying it allready
--
...FACT!
[Dont like censorship? join the anti-censorship club]
[Find me in #Flashers baybee!]
--
but to tell her, would be to clip the wings of the dove,
that could so easily have carried that message by kiss.
----------------------------------------------------------î Am: KÏñG tØmÅtHØñ
Also, i think GPL would fit nicely for licensing.
--
LOBSTER is not a crime.
but i dont think ill be using your code.. ill be all about my own
i find it easier to write my own than to edit somebody elses
--
There's no emoticon for what i'm feeling!!!
In the character, where you have the multiple animations on different frames, it is easier to have a single walking animation facing right (or left, whatever), and change the xscale to -100 when the left key is pressed. same could be said for all animations. Instead of the character doing a different animation, the sprite will just be facing the opposite direction.
Of course, that wouldn't work when you are using two different animations for left walk and right walk. But, in most cases, that doesn't happen.
Anyway, very nice engine. The collision detection is how i thought it would be, i just always assumed that was a very slow method. Guess not. Maybe i shall finally get off my ass and make a neat platform game
--
LOBSTER is not a crime.
--
0pie is deviant #1808902
AVATARS BY ME: ~AVATAR-MASTER
Su mamá lame los lugares marrones en mi bajo prendas de vestir
--------------------------------------------
Tis Comant iz, ummmm, yah, an ofigument os yo inaginaination. HO HO HO!
-----------
Previous Page12345...Next Page