• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Hey, little something

Status
Not open for further replies.
Level 3
Joined
Aug 22, 2009
Messages
51
Yo, i'll make it quick

this just little something i wish to finish
it's a shoting\arcade type game.. dunno what exactly XD
emm so u got this ship, u control it with the arrow keys and u shot others.
hard to explain, so just download the test maps
emm it got a realy nice movment system, my original.

i'll explain: each flying unit of a player got 2 varbiales X and Y,
wich are like the forces wich applay on the ship at the moment,
so like when the player hits up arrow. the X and Y increases depending on the ship's facing (using cos and sin).
this system, allows to have a variety of movment types, from the no gravity effect, to the sliding on ice effect, up to the normal car on ground effect. all adjustable in game and out very easlly.
other than that, this ability of having X and Y for each unit. allows us to be able to change easly. let's say a missle hits the unit. and we want a knock back effect.. we easly using the tirgers command to add +'a' force to X and Y , again using cos and sin, to get the kncok back angle easlyy, no bugs.
this will allow also to have a clean knockback, even when 124124 missles hits the unit the same time. the math will do the work for the final knock back force and angel.
still confusing?
here are the 2 test maps, try by yourself.

look: the space map is older, and is free for all the map.
the racer is on ground bases, + use the commands move1 and move2 to adjust the movment effect.
example: "move1 0.05" (this changes the stoping power, goes betwen 0~1: 0 for zero gravity, 1 for not able to move at all. NOT GREATER OR LOWER THAN THESE NUMBERS)
example2 : "move2 2" (this effects the move speed, try not to put 0 or lower, and not too high number, 8 max).

o
 

Attachments

  • racer.w3x
    43 KB · Views: 38
  • Space.w3x
    34.6 KB · Views: 41
Status
Not open for further replies.
Top