VB 3D Game - Display A 3D Model On The Screen, Like A .x File Extension, Or .fbx, Or .obj

Aug 1, 2010

I've ran out of options, and there simple was no other place to come. I have wanted to make a 3D game for so long, so bad, I can't even describe it. Now I started in C# making 3D games in the XNA Game Studios 3.1 Engine, but I eventually fell through the cracks. Let's cut to the point, shall we? I was wondering if there was a simple way in Visual Basic 2008, that I could maybe display a 3D model on the screen, like a .x file extension, or .fbx, or .obj or anything...? I can easily create 3D models, and I'm good at it, but is there a simple way, or a component/refrence/game engine that you could use with Visual Basic 2008. I know there's alot more to making games then just display models, Why I choose Visual Basic 2008, you ask? Well, it's my best language and I can easily write small games with x, y, z and float positions.

View 4 Replies


ADVERTISEMENT

Creating File To Record And Display Best Score From Each Game?

Nov 2, 2010

To clarify - I'm building a simple game in visual basic and I'm trying to create a simple file to record and display the "Best Score" from each game. Actually there are four levels in this game (each one is on a different form) - I'm trying to save the best score from each level to display in a separate Game Stats form. Therefore I creating a datatable on one form, but then trying to get all my other forms to access it.

But now I get a new DBNull error message in part of code not of my making - NewGameDataSet.Designer.vb
Error Message = "The value for column 'BestScoreEasy' in table 'GameTable' is DBNull."
Does this mean I need another New Statement somewhere?

View 3 Replies

3D - Display The Model, Rotate It And Change The Color Of Each Element?

Nov 5, 2010

I am new to 3D modelling. I want to create a simple model from a set of know quad elements (4 sided shape discriped by 4 x,y,z, coordinates). All I need to do is to display the model, rotate it and change the color of each element.

View 1 Replies

ComboBox Display On Screen And Saving Content To File

Apr 26, 2010

What I am attempting to do is make a form for a tire shop. I want to put comboboxes on the left side of the form that the employees make choices from. I then want to put some kind of a table or grid looking thing on the right side of the form that will display their choices so that everyone in the shop can look at it see that "John is on bay 5 until 3:00pm". At the end of the day I want all of the combobox choices to save to a file..I dont really need the table or the grid thing to save..just the choices. If I want to do this, do I need to use that gridview tool? or can I make my own table thing to display the choices in.

View 9 Replies

Add A Filter (or Automatic Extension Recognizer) In The Screen ?

Jun 15, 2012

I have some questions with the code uploaded above. As you see, it is an advanced file downloader. Now, my first question is:

1. How to add a filter (or automatic extension recognizer) in the screen of ... button? And, how to code the program to automatically add the extension of the given URL?

2. I want to code the Open File button in Form2 to open the downloaded file. I tried to use the downloading : label, but it just gave me some errors. What shall I do?

View 5 Replies

Screen Blanks After 1 Min Of Processing (of Excel File) / Refresh Or Freeze Screen To Avoid Blank Screen?

Jun 29, 2011

BTW this issue occurs in any MS office program when the VB.Net (or even VBA) is processing information.Example: In Excel, a worksheet is displayed on the screen. I start either, a VB.Net or VBA procedure and within 30 seconds the Excel worksheet (previously displayed) blanks out. In both VB.Net and VBA,ScreenUpdating = False. My expectation is that the previously displayed screen would stay static as if I left my desk to get a cup of coffee; came back and the same ole Excel worksheet was still there?Of course, setting VBA Screen Updating = False accomplishes two goals: 1) speeds up processing and 2) saves the user from seeing unnecessary "garbage-processing" steps.Why does VBA or VB.Net ScreenUpdating = False not freeze the screen at the time of its invoking?

View 11 Replies

Using Office 2007 Extension (i.e. Docx) For Skin Based On-Screen Keyboard?

Apr 16, 2010

I'm creating a On-Screen keyboard for my application, and it supports skins as well.
Here's what I'm doing with the skins, I have a folder which contains some images and a xml file which maps the images to the keyboard, I want to be able to have the folder as a zip file like in Office 2007 (.docx) and iPhone firmwares (.ipsw), I know I can simply zip the folder and change the extension, what I need to know is how to read the files in the code.

View 1 Replies

How To Screen Capturing In-game

Nov 18, 2011

i use with this code: Dim bounds As Rectangle

Dim screenshot As System.Drawing.Bitmap Dim graph As Graphics bounds = Screen.PrimaryScreen.Bounds

screenshot = New System.Drawing.Bitmap(bounds.Width, bounds.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb)

graph = Graphics.FromImage(screenshot)
graph.CopyFromScreen(bounds.X, bounds.Y, 0, 0, bounds.Size, CopyPixelOperation.SourceCopy)
PictureBox1.Image = screenshot

But when I try it in games,it shows only a black picture.

View 4 Replies

Interface And Graphics :: Screen Capture From In Game

Aug 7, 2008

i am wanting to write a program to capture video from in game, the thing is that the video has to be small enough to then broadcast online simultaneously with a three minute delay, i have no idea where to start but am hoping to use VB,

View 6 Replies

Display A Welcome Screen For 3 Seconds Then Close And Display Form1?

Dec 19, 2009

Im trying to make a custom splash screen , but i cant seem to get it to work. Im trying to display a welcome screen for 3 seconds then close and display form1 (main form).Heres my current code.

[Code]...

View 2 Replies

Game Programming :: Way To Make Screen Follow Sprite?

Nov 18, 2008

is ther any way to make my screen follow my sprite? I want the visable area of my game to change when my sprite moves past this X value 284 but i can not figure it out ill post my VB Express code below

Code:
Public Class Form1
Dim Y As Integer

[code].....

View 2 Replies

Show Form Over Full Screen Game Window?

Nov 22, 2010

I want to show my app form over the full screen game windows without minimizing the game window (Like a pop-up window). I have tried a few APIs (BringWindowToTop, SetWindowPosition and SetForegroundWindow). But they didn't work for me.

View 3 Replies

VS 2008 In Directx Full Screen Game GetPixel

Aug 20, 2010

in Directx Full Screen Game GetPixel Function Not Working (#000000)

View 2 Replies

Game Programming :: Screen Rotation Handling With Compact Framework

Oct 4, 2008

I am developing a game in compact framework. In Mobile Devices there is a button that Rotates the screen by 90 degrees so you can hold the mobile device the way that suits you. The problem is that i want to handle that in my game, so if i see that the screen has rotated the game will pause.

[Code]...

View 2 Replies

Write A Simple Game On Which The Player Has To Pursuit Some Figures On The Screen?

Oct 16, 2009

I'm currently trying to write a really simple game on which the player has to pursuit some figures on the screen. Since i'm just writing the prototype version i'm using a Panel wich i redraw 1000 times per second. Now, i want that every level is similar but not the same as past level, so i created a Level Class that contains the game objetcs of Player Class and the Figure Class, wich are the ones that have all the movement subrutines. So, with a Timer, 1000 times per second, i get the input from a joystick, pass it to the player objetc and update the position of the figure object. All this stuff is reported to an internal Panel that every level object has, wich i refresh and then pass it ByVal to the panel that the player actually sees. The problem i have is that after the first level ends, when the second level starts running, i can see the last frame of the fisrt level flashing behind the figures and it makes the game run a bit slower after every level. I tried keeping a copy of the inicial state of exterior panel and use it to clean the one i'm using on the levels but it didn't work...

View 11 Replies

PowerPacks - GUI For A Game - When Start Program It Renders The Board From Right To Left On The Screen

Mar 14, 2012

So i am working on a GUI for a game (just some messing around in VB.net tho) and i came across the following problem. The board of my game consists of a 70*35 grid of RectangleShapes on which i can move around. When i start my program it renders the board from right to left on the screen and i have serious lag when i try to move around on it. I know you'd normally use double buffering to reduce flickering, but that didn't do anything (unless i'm doing it wrong).

This is my code:

Code:
Dim player As Player = New Player
Dim board(70, 35) As RectangleShape

#Region "Initialisation"

[CODE]...

View 6 Replies

Getting An Other File Extension As Default Instead Of All Files As Default Extension?

Jun 25, 2009

I am using VB 08 running an openfiledialogue wanting to get the result of the GDS file (*.gds) to be the default extension at the drop down menu instead of All file when the openfiledialogue box opens.

I coded it with:

OpenFileDialogue.Filter = "GDS File(*.gds)|*.gds|All files|*.*"

but the results i get in the open file dialogue box remains as all files being in the drop down menu as the default file extension. How to i set it to ".gds" format?

View 1 Replies

Compress The File Without Loosing File Extension Inside Compressed File

Jan 4, 2011

I have File Like "Sample.bak" and when I compress it to be "Sample.zip" I lose the file extension inside the zip file I meann when I open the compressed file I find "Sample" without any extension.

I use this code :

Dim name As String = Path.GetFileName(filePath).Replace(".Bak", "")
Dim source() As Byte = System.IO.File.ReadAllBytes(filePath)
Dim compressed() As Byte = ConvertToByteArray(source)
System.IO.File.WriteAllBytes(destination & name & ".Bak" & ".zip", compressed)

Or using this code :

Public Sub cmdCompressFile(ByVal FileName As String)

'Stream object that reads file contents
Dim streamObj As Stream = New StreamReader(FileName).BaseStream

[CODE]...

I need to compress the file without loosing file extension inside compressed file.

View 1 Replies

Display Random Number - Game

Nov 24, 2010

I've been asked to write an age guessing game using vb. We have to have 4 buttons and a text box where the random number is displayed. The range is between 5 and 110. we have a 'too high' 'too low' , 'start' and 'correct' button

[Code]...

View 7 Replies

Display The Game Scores On And Another Form?

Mar 14, 2010

I'm doing a game. I have a form I want to display the game scores on and another form I have that calculates the scores. How do I make variables work from the first form on the second?

Lets just call one form frmStats and the other frmMain, do you get what I mean?

View 2 Replies

Game Programming :: Display Modes In .Net?

May 1, 2008

Is there any way to set coop levels in the .Drawing namespace (or any other namespace, for that matter)?I have made some games in Direct X that were easily shown as full screen apps, but I have returned to the basics of the Graphics class and can find no way to do this. I want to make a full-screen game only using GDI+.Resizing the form and taking away the taskbar is not really what I'm looking for. I just need to know if I can change the moniter resolution as easily as any of the Direct X reference libraries. And a push in the right direction.

View 5 Replies

Display/Focus/Show Form On Top Of PC Game?

May 4, 2011

What I am trying to accomplish is this: I want to be able to press the F5 key on my keyboard, while playing a PC game, to show (bring forward, focus, etc.) my program. My 3 attempts so far have failed. Any idea on how I could accomplish my goal? Similar posts on other forums say to set the form's key preview to true and use on keyPress... which failed.

View 1 Replies

Client Object Model: Uploading File To Drop Off Library Doesn't Apply Content Organizer Rules

Jun 29, 2011

I am currently developing a service using the SharePoint 2010 Client Object Model to programmatically upload Excel worksheets to a Drop Off Library and then set the properties on the file. This process is working well. However, the Drop Off Library is governed by Content Organizer Rules that aren't being applied to the uploaded file. I have examined every property I thought I could have missed: [code] What's most frustrating is that if I edit the document properties using the Web UI and check it back in without making any changes, the file is moved to its final location. What might I have overlooked that is preventing Content Organizer Rules from being applied to newly uploaded files when using SP2010 COM?

View 2 Replies

Asp.net - Validate File Extension For Uploading File In Firefox?

Nov 21, 2011

I created the upload page using with FileUpload server control. And I used regular expression validator to validate file extension.

<asp:FileUpload ID="AttachmentUpload" CssClass="text" size="58" Width="376px" IE:Width="385px" runat="server"/>
<asp:RequiredFieldValidator SetFocusOnError="true"
ID="AttachmentUploadRequire"
runat="server"

[code]....

It is Ok for chrome and IE but not Ok for firefox.

View 2 Replies

File I/O And Registry :: Find File Name Regardless Of Extension's Case?

Sep 15, 2009

I need to be able to find files in a folder where the extension can be either caps or small letters. Here's my code:

Code:
Public Function GetIcon(ByVal name As String) As Icon
Dim execAssembly As Reflection.Assembly = Reflection.Assembly.GetExecutingAssembly
Dim stream As System.IO.Stream =

[Code]....

How can I modify that function to return the file regardless of whether the extension is in caps or small letters?

This is in VS2005 for a .NET 2.0 Compact Framework project

View 2 Replies

Recursive File Copy Based On File Extension?

Oct 20, 2010

Recursive File Copy based on file extension. I have a single root folder that contains numerous folders that contain a few files that I want to extract. For this example, lets state that I want to copy all �txt� extensions and put them into a repository folder.

Example:
\root
\root\Folder1\
\root\Folder1\abc.txt

[code]....

View 6 Replies

VS 2008 : Get The File Extension From File Location String?

Dec 16, 2009

I need to get the extension part of a file path for example,

c:me.jpg

i need to return the ".jpg" to a string. Im sure this is easy enough, im guessing i need to get all the text after the last .

View 2 Replies

Game Programming :: Display In A Label The Appropriate Number Of Dashes?

Oct 12, 2004

I trying to display in a label the appropriate number of dashes based on the number of letters in a word that the first player entered.

Basically, when you click play, the first person enters a word, then the second player guesses what it is. That person has 2x #ofletters of incorrect tries. I just need to figure out how to get the dashes to display based on # of letters and not a preset one of 5 dashes. The original program accepts only 5-letter word so that line of code is Me.lblWord.Text = "-----". I have modified it so the user can enter any # of chars. I tried making the above line with a lot of dashes so it but the leftover dashes will stay there and the game won't end. Here is what i have right now for my play button:

Private Sub btnPlay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPlay.Click
'simulates the Hangman game

[Code]....

View 5 Replies

Display Welcome Screen Using .net?

Jan 7, 2011

Is there any way we can display welcome screen with vb.net?

View 7 Replies

Use An Extension Method Instead Of Just Creating Non-extension Sub Or Function?

Dec 3, 2009

Why would I use an extension method instead of just creating non-extension sub or function?

For ex, I could have an extension function called IsNullOrEmptyOrAllSpaces on String, which does a check as its name implies. Or I can write a stand alone function that does the same thing. Other than having the extension show up in Intellisense, is there any advantage? Is a call to the extension quicker/more efficient than a call to a regular function?

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved