Classic Space Shooter - (Vortexnova [1.0])
- magusofmirrors
- Posts: 56
- Joined: May 12th, 2012, 10:03 pm
Re: Classic Space Shooter
You should work on the hiscores and fix the interface a bit. I think that needs work before you add lots of sparkle to your game. Anyways, nice job implementing the particles, but you could have made it an array of structures rather than that of two integers (adds flexibility ).
The admins are coming!!!
Re: Classic Space Shooter
Yeah LuX! You should use the safe library functions and always make your conversions explicit. I always do that. Always. Just watch my videos. I am mister safety.magusofmirrors wrote:You may not care about the type conversion and probably not about the safe functions either, but I am pretty sure cleaning that up scares less people and makes your project easier to modify.
Seriously though LuX, this looks like fun and I'm going to have a crack at it when I get home.
Chili
Re: Classic Space Shooter
Hmm... I guess I never cared about warnings in c++. In VB a warning used to mean error since there things get really mixed up. I'll have to look into that.
ʕ •ᴥ•ʔ
Re: Classic Space Shooter
Hehe, I'm usually too lazy to use the non-deprecated functions (or too stubborn). Notices about implicit conversion do bother me a little, but generally I'll live.
Chili
Re: Classic Space Shooter
Game is fun!
The particle sucking feature was a sweet idea too.
The only thing this game needs now... is a background!
No seriously though, you did a lot of work on processing the keyboard text input. There's actually a better (i.e. way easier) way to do this. It works by storing the value of the keys pressed in a buffer instead of having a separate bool for each key's state. We will also replace the keystate bool variables with an array of bools indexed to the key values. Buffer for text input, keystate array for game control.
The particle sucking feature was a sweet idea too.
The only thing this game needs now... is a background!
No seriously though, you did a lot of work on processing the keyboard text input. There's actually a better (i.e. way easier) way to do this. It works by storing the value of the keys pressed in a buffer instead of having a separate bool for each key's state. We will also replace the keystate bool variables with an array of bools indexed to the key values. Buffer for text input, keystate array for game control.
Chili
Re: Classic Space Shooter
Yeah I though there might be a better way to do the keys. I kinda took some of the ideas from another game I saw on youtube... But glad you like it.
Also, I couldn't get the score file to load up properly. I tried first to load the name into a name 2d array but that didn't work at all so I tried separate arrays, still doesn't work.
And I actually found a background already, but when I try to load it I get the stack error. So then I rised the stack higher. Didn't work. Rise some more, still doesn't. Then I tried insane stack amounts and still doesn't work. I guess I'll have to wait for the next tutorial then.
Also, I couldn't get the score file to load up properly. I tried first to load the name into a name 2d array but that didn't work at all so I tried separate arrays, still doesn't work.
And I actually found a background already, but when I try to load it I get the stack error. So then I rised the stack higher. Didn't work. Rise some more, still doesn't. Then I tried insane stack amounts and still doesn't work. I guess I'll have to wait for the next tutorial then.
ʕ •ᴥ•ʔ
- npissoawsome
- Posts: 114
- Joined: June 8th, 2012, 3:01 pm
Re: Classic Space Shooter
Stack as in your stack ram? Why not just declare it in your heap?LuX wrote:Yeah I though there might be a better way to do the keys. I kinda took some of the ideas from another game I saw on youtube... But glad you like it.
Also, I couldn't get the score file to load up properly. I tried first to load the name into a name 2d array but that didn't work at all so I tried separate arrays, still doesn't work.
And I actually found a background already, but when I try to load it I get the stack error. So then I rised the stack higher. Didn't work. Rise some more, still doesn't. Then I tried insane stack amounts and still doesn't work. I guess I'll have to wait for the next tutorial then.
Re: Classic Space Shooter - (Vortexnova [1.0])
So here's the latest version of the game. I named it Vortexnova, for no apparent reason.
The game has a lot of fixes and improvements in accuracy of movement and I remade the enemies to be a lot more fun to fight against. They will spawn faster and move faster over time, in a smooth way, rather than suddenly boosting their speed.
From the visual part its a complete makeover with glittering sparkles and I didn't spare transparent pixels anywhere. I also made the menus to look a bit cooler.
As always; controls:
WASD - move
Mouse - aim
Left Mouse - shoot
Right Mouse - suck stardust (formerly particles)
Right Mouse Release - launch stardust
Tab - pause menu (new)
The game has now a pause menu, and you need it to access the shop, where you can buy cool new weapons, bullets, most importantly, powerguns, repairs...
The score save system works somewhat, but it's extremely buggy. Sometimes the score wont save properly, sometimes it wont load properly, sometimes it randomy erases saves etc. But sometimes it works
Feel free to try and make the score system work. I tried multiple ways, the best so far is the current one where I basically coded it the hard way, one by one.
The game has a lot of fixes and improvements in accuracy of movement and I remade the enemies to be a lot more fun to fight against. They will spawn faster and move faster over time, in a smooth way, rather than suddenly boosting their speed.
From the visual part its a complete makeover with glittering sparkles and I didn't spare transparent pixels anywhere. I also made the menus to look a bit cooler.
As always; controls:
WASD - move
Mouse - aim
Left Mouse - shoot
Right Mouse - suck stardust (formerly particles)
Right Mouse Release - launch stardust
Tab - pause menu (new)
The game has now a pause menu, and you need it to access the shop, where you can buy cool new weapons, bullets, most importantly, powerguns, repairs...
The score save system works somewhat, but it's extremely buggy. Sometimes the score wont save properly, sometimes it wont load properly, sometimes it randomy erases saves etc. But sometimes it works
Feel free to try and make the score system work. I tried multiple ways, the best so far is the current one where I basically coded it the hard way, one by one.
- Attachments
-
- Vortexnova [1.0].rar
- (717.16 KiB) Downloaded 303 times
-
- Vortexnova.png
- (791.3 KiB) Downloaded 187 times
ʕ •ᴥ•ʔ
Re: Classic Space Shooter - (Vortexnova [1.0])
Hi Lux,
Very impressive. Think you could do with a scrolling score board, but the game is fantastic.
I love the transparent balls as well.
I think this would be good as a two player game as well, just need some winsock code to make it work.
Asimov
Very impressive. Think you could do with a scrolling score board, but the game is fantastic.
I love the transparent balls as well.
I think this would be good as a two player game as well, just need some winsock code to make it work.
Asimov
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk
Re: Classic Space Shooter - (Vortexnova [1.0])
Looking very polished LuX, very nice! The menu system great. At first I thought you were using sprites for it, but now I see you coded your own controls using line drawing etc. Hardcore.
P.S. The scoreboard works fine on my computer.
P.S. The scoreboard works fine on my computer.
Chili