Zacker Posted April 20, 2006 Report Posted April 20, 2006 For the first time ever I have had programming as a subject in school this year. As a final project for this year I have naturally chosen to develop a game. It's a mostly textbased simple hack&slash game. The interface language is danish, but it's rather simple so you should have a chance even with no knowledge of danish. Programmed in Visual Basic.NET and therefore requires the .NET framework 1.1. It needs to be done at May the 5th, so the game is for a large part done by now. There are however still a few features to implent and also lots of QA and gameplay tweaking left. Download: http://www.thefuture.dk/skole/Programme ... rojekt.exe Quote
Zacker Posted April 20, 2006 Author Report Posted April 20, 2006 It's a VB.NET program, so it's text and buttons in a window which is not really worth showing pictures of. Besides it's jsut a 300kb download, so should not take long to check out:) Quote
RD Posted April 20, 2006 Report Posted April 20, 2006 i ran the .exe and windows complains about security and disables half of the functionality, eventually shutting it down. Besides that its in danish and i only understood the word "angrib". Attack right? Quote
Zacker Posted April 21, 2006 Author Report Posted April 21, 2006 Sounds like an issue with missing framework or so. And yep, "Angrib" means "Attack":) Quote
Thrik Posted April 21, 2006 Report Posted April 21, 2006 Can't really comment since I don't understand a word. Quote
Zacker Posted April 21, 2006 Author Report Posted April 21, 2006 We have never been offered programming as a subject before in this last year of high scool. Naturally I took it regardless of what language we would be programming in. Here is what I had to say about "The life of a Visual Basic coder" after half a year: http://chelsea.wesowe-is.nl/~sandsofw/f ... php?t=1675 Screenshot of version 3 which looks rather similar to the current version: Quote
Section_Ei8ht Posted April 22, 2006 Report Posted April 22, 2006 great... now try writing in a real programming language. Quote
ReNo Posted April 22, 2006 Report Posted April 22, 2006 What other languages have you tried Zacker? I noticed you seemed to mention c++/java in your post on the SoW forums, how long you been using them? I've never used VB myself, but in my school all we got to do was a little bit of pascal, so count yourself lucky Quote
wacko Posted April 22, 2006 Report Posted April 22, 2006 great... now try writing in a real programming language. Even though I hate vb.net I will have to defend zacker here in that vb.net is a powerful language when it comes to .net programming and in many cases can be just if not more efficient that something like c++ on the windows platform. We see many good things come out of vb.net for example a good chunk of xbox live for the xbox 360 was written in vb.net/c# and we are seeing more and more on the graphics front with managed DX and looking forward to that we are seeing that these languages such as vb.net are starting to meet the needs of even the more seasoned programmer. I would like to give you an example lets take a simple windows application written in vb.net: public Class Form1 inherits System.Windows.Forms.Form Private Sub InitializeComponent() End sub End Class For the most part this is all that’s needed for a windows application in vb.net now lets goto a c++ application and all we want to do is create a window with our application and this is a full on c++ app none of that CLR Visual c++ stuff. C++: #include “windows.h” LRESULT APIENTRY WndProc(HWD hwnd,UNIT msg,WPARAM wParam,LPARAM lparam); Int APIENTRY WinMain(HINSTANCE hInst,HINSTANCE hPrev,LPSTR cmdline,int cmdshow) { HWND hwnd; WNDCLASS wc; Wc.lpfnWndProc = (WNDPROC)WndProc; wc.lpszClassName = "TheWindowClass"; RegisterClass(&wc); hwnd = CreateWindow("TheWindowClass","Title",WS_OVERLAPPEDWINDOW,0,0,640,480,0,0,hInst,0); ShowWindow(hwnd,SW_SHOW); UpdateWindow(hwnd); Return 0; } Now I am sure you can see here the code involved is quite larger for doing something so very straight forward as creating a window. So to say that vb.net is not a real programming language just shows how ignorant you are in your programming. I do not know of many programmers today that would say well I am going to write this code in c++ over vb.net/c# on the windows platform. Quote
wacko Posted April 22, 2006 Report Posted April 22, 2006 is this a .net 2.0 application ? you can get ride of that security stuff in the properties of the project. edit: I see this is a 1.1 application I would recommend upgrading it to a 2.0 application. try out VB.net Express which is free and I recommend that all of you who have never tried programming in VB.net or c# to grab it and try it out. http://msdn.microsoft.com/vstudio/express/vb/ http://msdn.microsoft.com/vstudio/expre ... fault.aspx Quote
wacko Posted April 22, 2006 Report Posted April 22, 2006 just a comment not being able to read it you shoudl create locale files in XML that way those of us who live in the english speaking world can read it Quote
Zacker Posted April 22, 2006 Author Report Posted April 22, 2006 We unfortunately haven't had any choice regarding what language we want write in. VB.NET 2003 is what they got at our school at what our teacher knows, so we are limited to that. I have tried a bit of everything including c++, java, php, asp, ti-basic, actionscript and dos/bat. In Java I have made some small programs and games, but I haven't used that language for some years now. The only c++ I have done is small parts of the SoW1 and SoW2 code. I considered having xml localization files but that would probably be out of the project scope. Quote
Skjalg Posted April 22, 2006 Report Posted April 22, 2006 you should display how much health one has (in numbers) and how much it costs to purchase food and weapons... (also in numbers) Aside from that, its super :] edit. got an errror: (unhandled exception) See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.EndOfStreamException: Unable to read beyond the end of the stream. at Microsoft.VisualBasic.FileSystem.FileGet(Int32 FileNumber, ValueType& Value, Int64 RecordNumber) at Eksamensprojekt.Form1.Gem_Highscore() at Eksamensprojekt.Form1.Angrib_f() at Eksamensprojekt.Form1.Flygt() at Eksamensprojekt.Form1.Flygt(Object sender, EventArgs e) at System.Windows.Forms.Control.onclick(EventArgs e) at System.Windows.Forms.Button.onclick(EventArgs e) at System.Windows.Forms.Button.onmouseup(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativewindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativewindow.WndProc(Message& m) at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- Eksamensprojekt Assembly Version: 1.0.2301.23183 Win32 Version: 1.0.2301.23183 CodeBase: file:///C:/Documents%20and%20Settings/Skjalg%20M%E6hre/Desktop/Eksamensprojekt.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- Microsoft.VisualBasic Assembly Version: 7.0.5000.0 Win32 Version: 7.10.3052.4 CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog. No idea if that helps or if its just some crap:P Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.