Posted: Fri Jun 01, 2007 10:00 pm Post subject: Re: Top-Down shooter demo
Save this code into the file classes. I'm thinking about adding this as a flame thrower; this is a test, and I need feed back on weather or not I should include it or not. (As some of you can see, it bares resemblance to shoobyman's and windsurfer's particle systems.)
Turing:
import"particleClass.tu" View.Set("offscreenonly") var myParticle : ^particleSystem
var x, y, b :int new particleSystem, myParticle
colourback(black)
loop Mouse.Where(x, y, b) if b > 0then
particleSystem (myParticle).atributes ((maxxdiv2 - x) / 10, (maxydiv2 - y) / 10, yellow, 250, 5, 1000)
particleSystem (myParticle).execute (8, x, y) endif
particleSystem (myParticle).RunParticle
View.Update Time.DelaySinceLast(round(1000 / 30)) cls endloop
Sponsor Sponsor
DifinityRJ
Posted: Fri Jun 01, 2007 10:25 pm Post subject: Re: Top-Down shooter demo
Yes, you should include this in your game, the particles make your game more enjoyable (in my opinion). Good job
CodeMonkey2000
Posted: Fri Jun 01, 2007 10:48 pm Post subject: RE:Top-Down shooter demo
The particles are in the game. Everytime you shoot a wall or someone gets shot, those effects are called by the bullet class. But the problem is that the collision will be tough. And it is too much work for just one weapon. The particles also slow down my game (on my crappy comp anyway). And there is nothing I can do to reduce it. I'm not sure if I it's worth the extra effort, since it won't work well on my comp (or the school's comp)
EDIT: Minor update. I added a bunch of new tiles. And the mapEditor has also been updated. Next I need to add triggers (pick up red key, red doors open, step on certain tiles, and the mission is over), and a way to change maps (ie. enter buildings, exit buildings etc...)
DifinityRJ
Posted: Sat Jun 02, 2007 10:35 pm Post subject: Re: Top-Down shooter demo
Ooh, these new tiles spice up your game a lot more. Hope to see more.
DIIST
Posted: Sun Jun 03, 2007 6:53 am Post subject: Re: Top-Down shooter demo
Their all over the place. I cant hide anywhere. How do you kill these guys.
Good Job, i see a lot of improvement from the previous game. You need to fix the player collision. For some odd reason i can pass through the enemy. Other than that, the tiles look great. An the graphics , a definite boost. Still would be nice to move in the direction you are pointing though. Another think to think about is reading the map as a square (like a matrix). I swear, it will be easier to edit that compared to you current map file which is a number per line.
What i mean is write you map like this:
1 1 0 0 0 1 1
0 0 0 0 0 1 1
1 1 1 0 0 1 1
0 0 0 0 0 1 1
Its just easier to look at that. Than a number per line. Your map editor is quite dandy though. Should set limits or cost so the user doesn't go bezerk and put brick wall all over the place.
CodeMonkey2000
Posted: Fri Jun 29, 2007 1:58 pm Post subject: Re: Top-Down shooter demo
Update: I added a few new tiles, triggers (pick up red keys, open up red doors, pick up green keys, open green doors etc.), and to win a level you must step on the green tile with a black arrow pointing down. You can go in and out of maps (there is only 1 level, and it includes 5 different maps). Enemies die, you can die. I need to add health/ammo pickups. Till then you get infinite ammo and 6 time the health so it shouldn't be that hard to beat the level.
Controls:
w-a-s-d to move
mouse to aim and shoot
1 for shot-gun (everyone dies in 1 shot )
2 for pistol (everyone dies in 4 shots)
3 for machine gun (everyone dies in 5 shots, but fires quickly)
CodeMonkey2000
Posted: Fri Jun 29, 2007 2:02 pm Post subject: Re: Top-Down shooter demo
Update: I added a few new tiles, triggers (pick up red keys, open up red doors, pick up green keys, open green doors etc.), and to win a level you must step on the green tile with a black arrow pointing down. You can go in and out of maps (there is only 1 level, and it includes 5 different maps). Enemies die, you can die. I need to add health/ammo pickups. Till then you get infinite ammo and 6 time the health so it shouldn't be that hard to beat the level. Oh an I turned up the blood a bit, and slow the game down to 15 frames a second.
Controls:
w-a-s-d to move
mouse to aim and shoot
1 for shot-gun (everyone dies in 1 shot )
2 for pistol (everyone dies in 4 shots)
3 for machine gun (everyone dies in 5 shots, but fires quickly)
DifinityRJ
Posted: Sun Jul 01, 2007 3:29 pm Post subject: Re: Top-Down shooter demo
That is awesome, good job. You should add in different types of enemy that do melee damage instead of shooting a gun. Also waiting on your new Tutorial for 2d mapping. If you get some time for it.
That sounds pretty exciting, but one question, is it through the Net or LAN or neither?
CodeMonkey2000
Posted: Tue Oct 02, 2007 9:12 pm Post subject: Re: Top-Down shooter demo
Here is the final version of the game (I finished this a long time ago, but meh), it's officially called wolfenstein 2D now. There are only two levels in it, I really don't feel like adding more. I added a map editor, so if you want to make more levels feel free to do so (I might even give bits for really good maps ).