r/visualbasic • u/[deleted] • Jun 25 '18
What is the difficultly level in making a top down zombie survival game with XNA and vb.net?
I'm about to start my main computer science project for my A-levels, and I have chosen to do a top down zombie game (basically the game "Over 9000 zombies" and it was made with XNA) which is like Call of Duty zombies but in a top down format.
I'm an alright programmer (6/10) for my age, but I don't know if I am biting off more than I can chew. If anyone is familiar with XNA with VB could you tell me if it's too ambitious and give me some tips with using XNA.
Thanks.
4
u/darkspy13 Jun 26 '18
Most of the suggestions involve switching to C#.
Consider Unity + C#
I use VB.Net for work but my game dev projects are all using the Unity engine. That's my suggestion at least. (It supports both 3d & 2d game dev and it's *free.)
2
u/hdsrob Jun 25 '18
XNA is super dead, and never had really good support for VB.NET, but if you have the old toolsets and find some of the documentation for VB.NET, you might be able to get it all working.
MonoGame is the logical replacement if you want to use an XNA style game engine, but VB.NET support is probably pretty thin, so you'd have to do a lot of work without much help. If you can understand C# you might be able to get things up and running in a C# sample and then rewrite the code in VB.NET.
1
u/JakDrako Jun 25 '18
I'll second (or third) the suggestion for monogame+VB.Net. I wrote an "electronic billboard" for our company using that combination and it runs off an Intel NUC at 60fps at 4K resolution. It's usually just showing 6 to 8 documents, but we did make a "moving maggots background" (for fun, not released in production) where we had ~10,000 small maggots moving on screen at 60fps and something around 30,000 at 30fps. That was without any particular effort at optimizing for speed and using a so-so video card (the Intel NUC built in one) and using monogame in OpenGL mode (since we had issues with DirectX during testing)
The language doesn't really matter much, as the heavy lifting is done by monogame (which is mostly a thin layer over DirectX or OpenGL). The downside of using VB is that 99.9% of all examples for monogame and XNA are in C#, but they generally translate pretty easily.
As for the difficulty, it shouldn't be too bad; just know that your game is basically and endless loop that reads input, updates game state, draws everything and repeats every 16 or 33 milliseconds. There are tons of XNA tutorials still available on the .net and most of them run with little to no modifications in monogame.
1
Jul 07 '18
XNA is obsolete, Monogame is the newest XNA. If I were you I would just use Unity as everything is there for you and it’s tried and tested.
0
Jun 25 '18
[deleted]
1
Jun 25 '18
Hmm, We're only allowed to use VB.net. I've seen some good stuff with XNA.
0
Jun 25 '18
[deleted]
1
Jun 25 '18
Yeah I think you're right I have to run it on a school computer after all. Check out the game "Over 9000 Zombies". It was made with XNA and It has quite a few zombies and runs alright on my laptop. I will take that in consideration.
1
u/Bonejob VB Guru Jun 25 '18
This is just not correct. Using monogame it is easy to get over 100k objects. Java is a terrible language for writing direct graphics hardware games.
1
u/hdsrob Jun 25 '18
Sounds like you were using forms or something, and not an actual game engine.
0
Jun 25 '18
[deleted]
1
u/hdsrob Jun 25 '18
But he's specifically asking about using a fairly powerful gaming engine that's designed to use DirectX.
3
u/Bonejob VB Guru Jun 25 '18
I have used monogame which is the succesor to XNA in VB without issue. I have coded with over 100k 2d objects without issue.
http://www.monogame.net/
https://www.codeproject.com/Articles/1175671/Getting-Started-with-MonoGame-using-Visual-Studio