Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: ordelore on December 11, 2014, 06:29:17 pm

Title: [BETA] Paintball
Post by: ordelore on December 11, 2014, 06:29:17 pm
My VB.NET final project for my class at school is Paintball. Please download, run, and tell me about bugs in the program. Everything should be self-explanatory.
0.1> First release
0.2> Added reset button
Title: Re: [BETA] Paintball
Post by: Matrefeytontias on December 11, 2014, 06:37:34 pm
The help doesn't display right :/ also, disabling the delay before key repeat would be nice. Also, transparent background for sprites please :P apart from that, looks like a good start :)
Title: Re: [BETA] Paintball
Post by: ordelore on December 11, 2014, 06:41:33 pm
I know about the sprites, blame our school not having any available tools other than MS Paint :P. The delay is because of the fact that the sprites move 5 pixels in a timer tick and unoptimized code issues.
Title: Re: [BETA] Paintball
Post by: parserp on December 11, 2014, 07:03:07 pm
I like it. Very simple concept but a lot of fun. :D

3 things: I have to exit the whole game after losing in order to play again. Maybe be able to restart?  Also if the other players would shoot at directional angles (at the player and other players) that would be awesome. Is there a way to win? I keep losing, but it looks like the other people either aren't affected by paintballs or just respawn after a bit.

Keep up the good work!
Title: Re: [BETA] Paintball
Post by: ordelore on December 11, 2014, 07:33:57 pm
It's kinda you vs. everyone else who also have immunity to themselves.
A reset button is now in the works.
Title: Re: [BETA] Paintball
Post by: Scipi on December 11, 2014, 08:08:56 pm
A little trick to movement that could help, if you know enough about timers you can get the amount of time the last tick took in seconds and multiply that be a speed value to get x pixels per second. That's how I do animation in all my games, at least.

You can also make a color transparent in VB.Net using the Bitmap.MakeTransparent() method. It'll take a color as an argument, and in that bitmap it'll make any pixel with that color transparent. So in the case of your sprites, that would be white.

http://msdn.microsoft.com/en-us/library/8517ckds(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1

For AI firing, you might want to consider having the AI fire at the player, but generate a random offset for the angle of firing so that there's an unpredictable error to it. So far the game is too easy. ;)
Title: Re: [BETA] Paintball
Post by: benedikt.muessig on April 06, 2015, 11:42:04 am
Try using the SFML Framework (http://sfml-dev.org/). Its a great way to program games in C# and VB.NET and I use it in every of my C# games. It has so many features, OpenGL bindings and is completely written in C++ with a C# binding library what makes it incredibly fast.