
Co2
Avatar/Signature-
Posts
34 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by Co2
-
You might want to check my tetris. It uses directdraw with vb.net but not in full screen. Cya
-
Use the language that you are confortable with. That's the beauty of .NET. I'm confortable with VB/VB.NET and that's what I use to create DirectX project. You're used to python, perl or any exotic languages? Don't waste time learning C# (actually, you may want to learn it too :) ), use them to create marvellous 3D worlds. If you really want speed, program everything in assembly. It may takes a century, but it will be the fastest game :p .
-
Updates Here a try to upload the project on the forums. It also contains some bug corrections and some translation that were missing in the previous version. tetris.zip
-
It reminds me of Final Fantasy 7 on the pc. There was some scene like the Goldsaucer flyer and others where you could see that the picture was getting blurry because of the poor quality of the video in the background. You could still see the main character in good 3D. As for help, I cannot do more for you. Sorry.
-
hog: I rarely get angry and I wasn't when I wrote this post. I just like to see how people react to it and push things a bit. uidgreg: Thanks for the post but I wasn't looking at changing the color of a row. As for the grid, I went back to an old good activex control that doesn't support ADO.NET.
-
What I've done some far is tell people (or do it myself) to run mdxredist.msi (~ 1100 Kb) after they installed the .net framework. This file is avaible with the DirectX 9 SDK in the folder %DXSDK%\Redist\DirectX9 where %DXSDK% is where you installed the SDK. It shows a commun windows install dialog without any message box telling you it installed something but it seems to work. I think it installs the DirectX 9 Managed libraries in the GAC. I hope it helps. Bye
-
I like what you've done so far. May I ask why you're using the DxVBLib interop ? I tought that everything you need would be in the managed directx librairies.
-
You can clip with drawfast.
-
I like those graphics but I think you should spend more time with the game logic. I'm waiting to see your game wyrd.
-
I'll speak for myself. It depends. I tend to create small form when I can so they can be seen on monitor with small resolutions like 640x480 or 800x600. It should not be extremely small just to fit with the text in your buttons or your labels. As for full screen or maximized main form, it depends on the type of program you are making. If it's a big program where the user might stay for long or a mdi form like Photoshop or Visual Studio, I would use a maximized form as the main form. If you are creating a winmine game, you should stick with a normal form. You may also add some sizing options to your program. That's what I've done in my tetris game. Users have 4 size options: 50%, 100%, 150% and 200%. You might try using the Anchor property so that control auto-resize when the user resize the form. Use your instinct. If it looks good for you, it will probably be the same for the user.
-
You might want to try PrintForm.Net.
-
DirectDraw tutorials or samples are located in %DXSDK%\Samples\VB.Net\DirectDraw\ where %DXSDK% is the directory in which you installed DirectX 9 SDK (In my case, C:\DXSKD). As for documentation, you can read on msdn that it is still a preliminary documentation. I'm not sure but you might not have downloaded the complete sdk if you lack some samples.
-
When I ran mdxredist.msi, it didn't display any messages. It was just a commun windows installer dialog with a progress bar. It was like a silent installation. I think it still installs the required librairies.
-
You need Microsoft DirectX Libraries for .NET (Managed Librairies). Those librairies are available as part of DirectX 9 SDK in a file named mdxredist.msi. Run this or install DirectX 9 SDK and you should be able to open Visual Studio projects that use managed DirectX.
-
To wait or not to wait; that's a good question. :confused: While making my tetris, I asked myself the same question. I didn't see any difference between the two. I used both. My code was greatly based on tutorials from DirectX9 SDK. From what I've seen in those tutorials, they often use the DoNotWait flag. I had no crash, no tearing or any other problems using DoNotWait. I'll be looking into it.
-
Others things Here is what I might do if I have some spare time (which I don't) to enhance this game. * Inputs: Using DirectInput instead of the keydown event of the form. One of my testers (actually they were 2) told me that he was often playing tetrinet and that keys were responding faster in that game. Using DirectInput might help. * Rotation: Doing real rotation instead of squares translation. I tought I could use Direct3D for this but I wasn't in the mood to learn it right after DirectDraw. * OO: Using multiple class like Block, Board, Game. * Crypting scores: Preventing too smart kids from messing with me :) * Themes: Adding the ability to theme the game (blocks and board) with a file structure using xml. * Multiplayer: Using DirectPlay or a simple TCP protocol to allow multiplayer gaming.
-
This will make you loop trough every eventlog entries. Dim A, B As Integer Dim Events() As EventLog Events = EventLog.GetEventLogs() For A = 0 To Events.Length - 1 For B = 0 To Events(A).Entries.Count - 1 Debug.WriteLine(Events(A).LogDisplayName & ": " & Events(A).Entries(B).Message) Next Next You might want to change the debug.writeline with something else like writing them to a file.
-
Could you post the code please ?
-
Does anyone know why I cannot get this code to work on VB.NET?
Co2 replied to piscis's topic in Windows Forms
Ok first the Format element of DataGridTextBoxColumn is a property so you need something like: .format = "c" From there it should work. -
You might want to try out crystal reports for all your printing needs. I comes with visual studio.net. Bye