Making A Small Flood Runner Like Game - Sprite Goes Straight Up If I Only Press Space?

May 5, 2012

I am currently making a small flood runner like game, I completed most of it, but I can't seem to get the jump action right. I got it to jump straight up and back down again, but it doesn't work when I use a left/right arrow key with it to perform a left/right jump. The sprite goes straight up if I only press space.What I want- The sprites goes up and right or left when I press space while holding right or left.

View 2 Replies


ADVERTISEMENT

Game Bounces A Sprite Around A Panel And The User Clicks The Sprite To Catch The Sprite

May 7, 2010

I need some advice on a game I created. The game bounces a Sprite around a Panel and the user clicks the sprite to catch the sprite What I want to do is introduce a dificulty level easy medium and hard the level puts more sprites in the panel, the higher the dificulty level example

[Code]...

View 2 Replies

Game Programming :: VB Game Help Sprite Keeps Falling Through Objects?

Nov 16, 2008

I have been making a game similar to mario for learing perposes. I got the sprite to move left right up down but I still have no gravity nor can I jump. But i need to know how to make it so that my sprite dosent go through objects?

View 3 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

Making Sprite Class And Cycling Through Image Arrays

Feb 2, 2012

I am using vb.net by the way. From what I understand, Xna is not usable in visual Basic. Therefore, in order to create my characters, I defined a sprite class. Now my question is.... (I am drawing everything using a timer on the form btw by the process of invalidation.)... how do I use time to cycle through the images in an image array while the instance has no focus, and whilst the class inherits the "Control" class? Basically, how do i get these instances to act without user input? I want a character to eventually respond to user input, but I also need npcs that do not need any input in order to move themselves. Also, I need this in such a way that each instance's processes do NOT interfere with the processes of others. So that whatever timing I use does not also stall the whole window/form.

View 2 Replies

Removing Small Space On StatusStrip?

Mar 20, 2012

There is a gap on my statusStrip to the right of the last item. The last Item is pushed all the way to the right.

View 8 Replies

Game Programming :: Foray In Game Making?

Jun 3, 2011

Have attached the code so far and would like to be able to rotate my car sprite through 360 degrees and have it move in diagonal fashion.

View 19 Replies

Making A Program That Hits Space Every * Seconds

Apr 21, 2009

hit the space bar every * seconds. When you hold down a key it will spam 3 times every 2 seconds. Or whenever you press space (meaning the key). I need the exact codes. I've tried Sendkeys.send {"Space"} Etc.

I've been trying for a while. I cant seem to figure it out. Please simple codes if possible.

View 3 Replies

Prevent Enter Key Making Space In The Textbox?

May 27, 2011

I am making a chat program, that sends the message by pressing enter key. But when im pressing enter in the textbox im getting extra blank space. Is there any chances to remove this blank space from the textbox by using single code

View 12 Replies

Board Game - Pixel Movement At Certain Number Of Space

Jan 9, 2010

I'm in the process of making board game created into a pc game. It will be a 2-d basic board game. What I'm looking for, how to move pixels a certain space. I'm not all certain on how the game is played but right now I'm just wondering how to move a picture certain number of spaces. This will most likely be based on a dice roll I'll create later.

View 6 Replies

Game Programming :: Space Invaders .NET Compact Framework?

Oct 2, 2008

i'm not very familiar with GDI+, but i managed to create some basic functions of Space Invaders game i try to develop in Compact Framework. I have problems drawing the images (Spaceship, bullets, enemies). The screen is flashing a lot. I use a buffer bitmap in which i draw images to the new positions, and i have 1 line of code that just draws the buffer to screen

[Code]...

i use me.Invalidate inside a timer so every 50msec the game redraw the screen with new positions. Why the buffering does not work?? It can't be the emulator that i preview the program, it is flashing A LOT. Is there any similar code / project that could help me? i'm tring to find a similar project for COMPACT FRAMEWORK but i only find C++ .net examples. i need VB .NET COMPACT FRAMEWORK examples

View 2 Replies

Game Programming :: VB2008 - Space Invader Collision Detection?

Dec 28, 2010

i've looked up several tutorials on what i should do to create a collision detection, but im not too positive on how to function my ideas and convert them to code.Basically, i'm creating a space invaders like-game that is 2D Mario-themed (sprites used).I am using a panel for my enemies and Mario is being controlled by the movement of arrow keys and space button shoots.The problem is I can not make my bullets collide with the enemies to make them disappear. This piece of code is what i've got so far with the collision detection :

Code:
'*******************************************************************************************************************************************************
' Collision occurs whenever the pctShoot(podoboo) hits any of the enemy
' When blnTrue, both pctShoot and the enemy disappear

[code].....

While I'm at it, i have another question in concern; but this is not really related to collision but:How do you make an object move down automatically using a timer but make it appear randomly?Like any space invader game, the enemies are shooting back at the hero to make it appear more challenging right?(using Visual Basic 2008)

View 10 Replies

Making Small Application To Posting New Topics In PhpBB Forums ?

May 20, 2009

I'm making small application to posting new topics in phpBB forums... But I have a problem. When I click on send button in my application, forum shows me an error: No post mode specified phpBB posting:

HTML Code:
<tr>
<td class="catBottom" colspan="2" align="center" height="28">
<input type="hidden" name="mode" value="newtopic" />

[CODE]...

I think, I must add posting.php&sid=xyz, but I don't know, how to add sid...

View 2 Replies

URL Validation - Making A Small Webbrowser - User Inputs A Proper Url

Feb 28, 2010

I'm making a small webbrowser, and I need to make sure the user inputs a proper url!

The text box is called TextBoxAddress.

View 2 Replies

VS 2008 Press F11 To Minimize The Game And F12 To Restore

Jan 22, 2010

i'm making launchers for the game MuOnline with vb 08 and i want to ask how to make when players are playing and they press F11 to minimize the game and f12 to restore the game back to fullscreen or if its window mode to restore it to window mode

View 2 Replies

Making A Button Perform Multiple Tasks In Order With Space In Between?

Dec 27, 2009

Like, I want a button to start five different timers, but at 1.5 second intervals. How could I make this button start timer1, wait 1.5 seconds, start timer2, wait 1.5 seconds, start timer 3, etc, etc?

View 2 Replies

VS 2010 - Create A Small Game In VB2010 - Creating A GIF And Placing It In The Picturebox And Moving It

Aug 9, 2011

I'm trying to create a small game in VB2010. The gameplay is as follows:

civilians would walk/stand in a room/street and suddenly an evil character would pop from the ground/wall. This evil character would suddenly vanishes too. So, the player has to shoot it to kill the character. The evil character, civilians, etc. would be random. Also, there would be sound effects too. That is the popping up of the evil character, it's voice, the civilians voice, etc. I'm trying to make it as simple as possible but without degrading the quality of the game play. I think, I could somewhat create the graphics for the characters, scenes, etc. and can get the sound effects recorded.

So, the difficult part is,[ ] how could I make it a smoother for playing the game ?
[ ] what would be the best way to do animations ?
[ ] Creating a GIF and placing it in the picturebox and moving it ?
[x]how to play the music in background and at the same time play sound effects on certain instance ?

View 2 Replies

Making A Program That Shutsdown Pc If Press Ctrl+s

Mar 11, 2012

I am making a program that shutsdown your pc if you press ctrl+s. I have tried looking at some keylogger codes and changing them slightly but i can't find anything that works. I need it to be minimized but still checking for ctrl+s.

View 6 Replies

"Enhance" The Small Tool Tip - When You Press Ctrl Or Alt It Fades So The Screen Shot Only Showed It Lightly

Dec 21, 2009

I had to "Enhance" the small tool tip, as when you press ctrl or alt it fades, so the screen shot only showed it lightly.

I Should mention it works, some of the time. I am Passing strings in this format:

CODE:

View 7 Replies

Hangman Game - Generate Random Number When User Press Start Button

Jul 29, 2009

i've created a hangman game (Fully working) but since you can only "play" with one phrase (10 letters) it gets boring fast. Basic the current game works by on form load i define the slots (10 string which each hold a letter) and give them there letter. then the user type in a text box and if the textbox = any of the slots then the lbl repasenting that slots changes its text from "_" to the letter.

Anyway what I would like the button to do is when the user presses the start button a random number is generated. The program then looks into a textfile and based on which number is generated it takes a certain line (10 characters per line in a phrase) , moves them into the slots and the game starts. Is that possible to code or it too complicated. The textfile will be in the applications folder (words.txt).

View 6 Replies

Make An Option For Making A Playlist Instead Of Playing The Sounds Right Away When Press The Button

Nov 7, 2010

I have a Form that has several buttons on it, and each one plays a certain mp3 file. Thing is I want to make an option for making a playlist instead of playing the sounds right away when you press the button, adding them to a ListBox. So the code would look something like this on Button1_Click

[Code]....

View 18 Replies

Making A Game Editor?

Aug 30, 2010

Recently I had the urge to make my own 2d game editor and I don't know where to start and I have searched the web but my results were not

View 5 Replies

Making A Game Trainer In .net?

Dec 17, 2009

I am making a Game Trainer in vb.net, this is the current code I have.

Imports System.Runtime.InteropServices Public Class Form1

[Code]...

I can read from the memory address fine, but when I try to write to it nothing happens, no errors and the value does not get written. What am I doing wrong?

View 2 Replies

Making A Launcher For A Game?

Jan 8, 2012

Alright, well im making a launcher for a game i play. and i want to make it so it says how many users are online. and im not sure how to code that out??

View 25 Replies

Making Solitaire Game In VB

Jun 29, 2010

would like to make a solitaire game in visual basic however do not know where to start. Could someone please give me some direction and help as to how to build this?

View 5 Replies

Game - Making The Map Scroll With The Player

Mar 21, 2012

I am working on a game using Visual Basic.NET and XNA. I am having trouble making the map scroll with the player. I can move the map at a square at a time(32x32) but I don't like the way it looks. I want to move at a fluid rate if possible. I want the player to be able to walk half-way through a square then see a half-square to either direction your moving. IE: Walking left, walk half-way through a square then to the far left of the map see half of the next square going to be drawn. But I don't want just half-way, I want to be able to just have fluid movement where you can walk to an 1/8th of the square and see the next 1/8th on the other side of screen if possible... To open this project and view you must have Windows Phone SDK installed can get it from Microsofts website......Note:Only up and down movement have been added into the game.

View 2 Replies

Game Programming :: Making Two Dialogs Pop Up On After The Other?

Jun 18, 2011

I can currently make a dialog1 pop up, then the user clicks "Yes" for dialog1, then dialog2 pops up, and if the user clicks "no" instead of "yes", dialog2 reappears again. I've got a headache now, but I will re-look over my code to see if there are logic errors.

I originally had dialog2 and form1 (the form1 was acting as dialog1). But The thing was that I do not how to give properties of a dialog to a form (i.e. not make the user be able to click other windows while this form is open) IF I could have code that says Me.bringtofront (which I have tried) didn't work though. If I apply this command to a form I get an error:

code: Form1.showdialog()
error: Please make form1 not visible. something a long those lines. But what I don't understand is form1 was never open.

What do the standard lines of code do?:

Me.DialogResult = System.Windows.Forms.DialogResult.OK
Me.DialogResult = System.Windows.Forms.DialogResult.Cancel

View 2 Replies

Making A Blackjack Game For Class?

May 2, 2011

I'm making a blackjack game for class. It's been better programming in VB than it has in C#, but I don't know how to link button subs (BTN_Deal_Click or BTN_Deal; I can't decide which one will work) to one another. For example, after the code in BTN_Deal has been run, the program is supposed to wait for the user to click either the Hit or the Stand button.

[Code]...

View 2 Replies

Making A Chess Multiplayer Game

Jun 19, 2012

I am trying to make a Chess multiplayer game in Visual Basic. Its a two player which will be played in a normal way and not even over LAN. So far, I am done designing the board.

My logic is: First, on clicking any square, the click event handler will check whether a piece resides on that square. If not, then it checks if a piece is to be moved to that square. If both are negative, then it does nothing.

Now, the problem with this is, how do I code the click events? Also, I have represented the board using a 2dimensional array. But how do I update the positions after every move? And how do I check whether legal move is being executed? One more thing I want to add is whenever a piece is clicked, the possible legal squares should be highlighted.

For this, what I did was, for every click event on any square it checked if there was a piece. If there was a piece, then it highlighted all possible moves for that piece using If-Else-If logic, but it turned out to be too cumbersome and too long. And another problem which arose was, how do I know that if the user clicks an empty square to move the piece there?

View 2 Replies

Making Cards For Card Game?

Mar 11, 2012

I am using Visual studios 2010, And what I am trying to do is make a card game, and I have some ideas for how to put a lot of it together however I am having trouble getting started with making the cards to begin with.So I need something to call to represent the cards with numerical values with ace being 1 and king being 13.

View 4 Replies







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