Anyone fancy adding some bad guys to this?

Community Forums/Showcase/Anyone fancy adding some bad guys to this?

Rob Farley(Posted 2008) [#1]
I wrote this to help someone out on another thread... and thought someone might fancy adding things to shoot!




wmaass(Posted 2008) [#2]
Indeed! Could be a entertaining little game...


Big&(Posted 2008) [#3]
Reminds me of Beach Head but with cannons :)


z80jim(Posted 2008) [#4]
I don't have the 3D module... can't run it.


tonyg(Posted 2008) [#5]
I don't have the 3D module... can't run it.
Thanks for letting us know as I was beginning to worry why you hadn't responded.
Anyway, you know this is B3D and not a Bmax module... don't you?


z80jim(Posted 2008) [#6]
lol sorry about that I seem to have forgotten the last half of the post. I meant to ask if maybe he could compile it and put it up, and sorry I don't know what B3D is I just assumed it's blitz3D because it's pretty obvious it's 3D and he posted it in a blitzmax forum... sorry!


tonyg(Posted 2008) [#7]
and he posted it in a blitzmax forum
The Blitz Showcase is for all flavours of Blitz.


z80jim(Posted 2008) [#8]
so what exactly is B3D? I would have guessed it was just a blitzmax 3D module as I said but now you're kinda making it sound like it isn't.... :confused:


boomboom(Posted 2008) [#9]
its Blitz3D

http://www.blitzbasic.com/Products/blitz3d.php

He didn't post it in the BlitzMax Forum


z80jim(Posted 2008) [#10]
so I was right then. And I meant the company, though I have no clue what the actual company name is thought it was blitzmax or something though lol since that's their main product. Will everyone stop confusing me please? lol


Perturbatio(Posted 2008) [#11]
for the company name, look at the top right of this page.


Gabriel(Posted 2008) [#12]
so I was right then.

No, you weren't. It's a standalone product, unconnected to BlitzMax. It has 3D, but the language is much more limited.


Rob Farley(Posted 2008) [#13]
Don't you just love it when things stay on topic!


tonyg(Posted 2008) [#14]
Don't mention topics I'm starving.


z80jim(Posted 2008) [#15]
ok I think I understand now lol. I'm hungry too almost lunch time here.


Perturbatio(Posted 2008) [#16]
Don't mention topics I'm starving.

I take it I shouldn't mention Eric Van Lustbader either then? :)

Don't you just love it when things stay on topic!

Sorry :(

I might consider messing around with this, I liked the 'good ol days' of the community hack fest.


z80jim(Posted 2008) [#17]
"I liked the 'good ol days' of the community hack fest. "
lol I wish I had LIVED during the good ol days of the community hack fest :P


Ginger Tea(Posted 2008) [#18]
that all depends on what is being hacked by the community :p

edit:
just fired up blitz for the first time this year to compile this
found myself having the gun at a low level and just letting the balls roll to the end and exploding
that was fun

they explode before coming down on you when you face right up ... which is safe ... you dont want the bomb to land back on you now do you


John Blackledge(Posted 2008) [#19]
Really nice code. Thanks.


stayne(Posted 2008) [#20]
Had some fun with this. Messy code, simple AI. Use RMB to detonate the projectile. Waves come every 8 seconds.




Ginger Tea(Posted 2008) [#21]
even at point blank range im having trouble hitting anything with a constant barrage of rmb clicks


stayne(Posted 2008) [#22]
Try this instead. Now you have a reason to shoot :). Only 5 groups of baddies spawn, working on waves now.

The projectiles explode in the order they were launched (so if you launch three consecutively you need to click the RMB three times).




stayne(Posted 2008) [#23]
One more update. Kinda worn out, have fun! Lots of new additions.




Ross C(Posted 2008) [#24]
Find that kind of hard to hit anything. :o)

Change:

Repeat

	xspin = xspin - (MouseXSpeed()/15)
	yspin = yspin - (MouseYSpeed()/15)
	
	If xspin < -45 Then xspin = -45
	If xspin > 45 Then xspin = 45


to

Repeat

	xspin = xspin - (MouseXSpeed()/15.0) << make float
	yspin = yspin - (MouseYSpeed()/15.0) << make float
	
	If xspin < -45 Then xspin = -45
	If xspin > 45 Then xspin = 45


It makes the turrent easier to operate :o)

I'm going to have a go at this :D


Ross C(Posted 2008) [#25]
stayne , could you use a codebox, instead of the code tag. Makes it easier to scroll through this thread :o)


stayne(Posted 2008) [#26]
heheh sorry about that *hangs head in shame*.

Looking forward to seeing your efforts :).


stayne(Posted 2008) [#27]
Couldn't resist! Added audio, a few meshes, a particle sprite and a few other odds and ends.

http://www.headpile.com/stuff/shootermedia.zip




stayne(Posted 2008) [#28]
another update above, enjoy. Seems to be a small bug where sometimes the next level won't come. I'll track it down soon.


Xzider(Posted 2008) [#29]
hey, looks better, cool editing.


stayne(Posted 2008) [#30]
Ideas anyone? Is it mind-numbingly boring? Too easy?


JA2(Posted 2008) [#31]
To be honest, I liked the graphics on the first one. Maybe a cel shaded graphics style would look nice...

- How about some different enemy types?
- Different weapons? Rockets, bombs, grenades, lazers, etc
- Make the canon mobile? Mounted on a truck or something...
- Could then make it 2 player or keyboard+mouse control...


jfk EO-11110(Posted 2008) [#32]
I couldn't get higher than level 1 for some reason. Nice particles. The game seems to be some type of "ballerburg" thing. I think you need to add some kind of joke components.


stayne(Posted 2008) [#33]
Sorry jfk, not sure what you mean by joke components. Odd that you can't make it past level 1. Hmm...


Ginger Tea(Posted 2008) [#34]
no matter how much i shoot or where i still cant hit them with the side of a barn


stayne(Posted 2008) [#35]
Are you right clicking to set off the projectile when it's near them?


Ginger Tea(Posted 2008) [#36]
most times im not NOT clicking RMB
they just pass inbetween squares as if they were miles away

edit:
ive been getting my l and r mixed up re mouse buttons
aye when i do rmb and not lmb thinking im rmb as stated above i do get the odd boom here and there


jfk EO-11110(Posted 2008) [#37]
I mean some comedy factor, like attacking donuts, or raining politicans.


stayne(Posted 2008) [#38]
Good idea jfk :).

Ginger Tea... you're supposed to detonate them so the blast particles will destroy the baddies. There is no collision before you set it off... only the fragments (particles) after detonating.

At the moment I'm working on scoring according to how many are destroyed with one projectile.


Ginger Tea(Posted 2008) [#39]
oh i was treating it like space invaders
just shoot shoot shoot

will try again later

edit:
saw something posted about rmb when i first tried it and tbh forgot that we use the lmb all the time so i was firing unexploded balls at it ... no wonder nowt were happening


Ross C(Posted 2008) [#40]
Nice to see your keep adding to this :o)

Ok, i've been working away on a turret, because i thought i could stick alot of fancy graphics, since the gameworld would be verrrry small. Here's my turret so far. Just desiging a few enemies just now :o) The laser you see coming out the end is the laser the cannon shoots.

EDIT: Image updated




Loktar(Posted 2008) [#41]
Wow very nice


Blitz3dCoder(Posted 2008) [#42]
The turret looks very nice.

The code that stayne put up provided was cool too.
But the one thing i noticed is that the text that tells you your score was only on the screen for about 3/10 of a second at a time, then it was gone. Is this just me...?


Ginger Tea(Posted 2008) [#43]
the text does flicker
and one of the lines dissapeared i think it might have been click to start or something cos nothing happened till i got bored and started flying vollys all over the show


Xzider(Posted 2008) [#44]
Using Left Click to shoot and right click to explode works well, just time it. I beat first level, (killed all the yellow/red balls) but it never went to next level, weird.


big10p(Posted 2008) [#45]
I like the turret, Ross.


stayne(Posted 2008) [#46]
I've replaced the text with bitmap text since last update. I'll post some new code soon.