ID:177715
Aug 6 2002, 1:11 pm
|
|
How would I start out a shooter. Something simple like Bizlof War. You don't need to give me the coding you can just explain how I would do so. Also how would I make a mov system lie his. Where up makes you move forward left and right make you turn and so on and so on.
|
Codesterz wrote:
How would I start out a shooter. Something simple like Bizlof War. You don't need to give me the coding you can just explain how I would do so. Also how would I make a mov system lie his. Where up makes you move forward left and right make you turn and so on and so on. I know you didn't ask for coding, but I made an extremely simplified system for my movement code. Feel free to fiddle around with it as you please: client/North() Basically, the turn() proc plays a strong role in the turning stuff, while I just use a simple step() calling for the north/south movements. As for firing, all you have to do is get the direction that the character is facing, and assign it to the newly created projectile object (moved to the character's location). Then, I used a for() loop as a counter, so that it would break when the object's lifetime was over. Of course, in outside procs, instead of deleting the obj, change it's lifetime to 0. for(var/a = 1, a < O.lifetime, a++) I also made the projectiles non-dense, because I feel that I can control certain turfs that are dense to mobs, but non-dense to the projectiles. Hope that helps you out. |
In response to Kusanagi
|
|
By simple I mean basic or standard.
|
<<>>Kusanagi<<>>