First attempt at a car. I tried using some simple math to simulate the car, but it didn't turn out that well. You loose traction once you're going fast enough and will skid, but it's not very well done. I'm in the process of making one that's actually true car physics. And hope to turn it into a game afterwards.
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 )
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
I made this game since I worked for physic institute but it was the past.
This game is quite complicated and hard, so read instructions carefully.
You are the chef-worker to manage 3 lifters.
Your duty is setting speed controlers and hit the machine to lift cargoes.
It depends on weights.
For light cargo, you may lift it by fastest speed unless heavy cargo, you must lift it slower.
The cable will be ripped off if it pull the heavy cargo by over speed. (For physic students, you know that well)
To reach the next level, you have to empty all cargo in a warehouse.
But you have to be hurry, there are only 120 seconds to complete and the new cargo will always be transfered to your warehouse.
The game will be over if the time is over or your warehouse is over the limit (5000 kg.)
: Controllers :
The left machine
Z or 4 --- decrease speed
A or 7 --- increase speed
, or 1 --- lift the cargo
The center machine
X or 5 --- decrease speed
S or 8 --- increase speed
. or 2 --- lift the cargo
The right machine
C or 6 --- decrease speed
D or 9 --- increase speed
/ or 3 --- lift the cargo
You can use the max speed for a cargo under 40 kg.
While the machine is liftting, you can set a new speed for the next cargo.
This is non-stop game.
You cannot pause or break the game OO'''