Make An Invaders-like Game With VB 2010?

Jan 10, 2010

i am currently trying to make an invaders-like game with visual basic 2010.I've managed to make one alien (picturebox16) dissapear when the coordinates of the arrow (picturebox1) kinda matches the coordinates of the 16th alien, however, the second alien(above it) doesnt dissapear(picturebox4)?

View 2 Replies


ADVERTISEMENT

Creating A Space Invaders Game That Has A Group Of "invaders" Moving Side To Side?

Dec 2, 2009

Im creating a space invaders game that has a group of "invaders" moving side to side and when i shoot one it gets destroyed, my invaders are in an array. So in order for the invaders to keep moving right until they get to the edge, i made a function that detects which invader is right most. But this was crudly done as I wa trying to make the opposite of my left most function which works. So my rightmost function dosent work

[Code]...

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

Creating Projectile - Make A Space Invaders Rip Off

Apr 10, 2009

I'm trying to make a space invaders rip off, and I'm currently stuck on how to make the missile fire from the center of the player's ship. I have the missiles all in a control array, and they move up the screen fine, they just dont start at the x point of the ship, they start on the left margin.

Dim Line As Integer

If Missile(0).Location.Y < 391 Then

Missile(0).Location = New System.Drawing.Point(Line, Missile(0).Location.Y - 5)

[CODE]...

View 8 Replies

VS 2010 Space Invaders Queries?

Oct 15, 2011

I've got everything working except this one problem which I can't seem to get my head around.I've made a function that returns a random number between 1 and 11 (how many invaders there are on a row).I've managed to get this to work, however the invaders will keep firing even if they are visible, so I made a do until loop which says to keep running the random number until it finds an invader which is visible... The problem is that if the whole row of invaders aren't visible, it will get stuck in the loop.

View 13 Replies

VS 2010 : Space Invaders Alien Loops/arrays?

Oct 2, 2011

Been given an assignment to create a space invaders game. Although there's a long way around, is there a way to make my code smarter.Here's the section to make a row of invaders so far:

Public Class Form1
'number of invaders in a row (horizontal)
Dim numberofinvaders As Integer = 11
'set of invaders (vertical)

[code]....

So what I want to do more precisely is have the value of setofinvaders to change how many rows of invaders vertically in a loop.

View 13 Replies

Game Programming :: Make A Matching Card Game In VB 2010 - Show Cards For 10 Secs Then Change Cards To (AppPath & "Cards Ed.png")

Apr 19, 2012

I need to make a matching card game in VB 2010. i have generated my cards but now need to show the cards for 10 secs then change the cards to (AppPath & "Cards ed.png"). then when a user clicks on the card the card will flip over.*How would i set a timer to turn all my cards into*(AppPath & "Cards ed.png") after 10 secsbut still have the values from the array and when i click the cards they flip over (from red card to numbered card)

Code:
Private Sub Place()
Dim Counter As Integer = 1
For Row As Integer = 1 To Int_Grid_Size

[CODE]..........................

View 2 Replies

Make Design Box For The Concentration Game In VB 2010?

May 13, 2011

I am trying to make my design box for the Concentration game in VB 2010. And do not know what kind of box to use, to show the cards that flip over.

View 4 Replies

VB 2010 (click Bot) Make A Little Bot For A Game - Play

Apr 7, 2012

I try to make a little bot for a game that i play. But i don't know how to make a functie that click on a resources (looks like this: [URL]

View 1 Replies

VS 2010 Make A Game Statistics Calculator?

Jan 3, 2011

I want to make a game statistics calculator. For this I choose to make a XML database with the base stats of the characters.

I've made a small XML file in the VS2010 project with 1 class stats and made a list to 10 levels (to lazy atm to write all 85).

the XML looks like this:

<BASIC_CHARACTER_STATS>
<Levels>
<level id="1">1</level>

[Code]....

On the Form1.vb I've to combo boxes, 1 to display class names and 1 for levels.
Also have some Labels to display i.e. the base_STR number. But after trying random stuff to get it linked and closed VB to restart again because it was messed up too much

View 1 Replies

VB 2010 Make A Matching Game - Random Locations?

Apr 25, 2012

I am using Vb 2010 I am trying to make a matching game. My problem is I have picture boxes 16 to be exact. I want each one to randomly go to a certain place I have already picked on the form. That means that I have 16 places already picked and I have made point variables for all 16. I can not seam to randomize the picture boxes to be placed in only those 16 locations.

View 13 Replies

VS 2010 - Make A Simple Text Based Rpg Game?

Nov 9, 2011

[code]...

Yup,not PHP but it's the same for readability)As you may imagine I want to make a simple text based rpg game, but that's not an important fact.The buttons btn1 to btn3 are already created at the designer, and there are going to be other procedures which will assign values to their text property according to the game context (main menu, combat, shopping, training, etc.) you're at.Ok, so what I want to do with that procedure I pasted is to parse the text of ANY of those buttons when I click them, and according to its value select a case which will trigger another appropriate procedure (now there are only msgboxes as placeholders for testing only).My problem is that I dont know how to refer to the originating class of the handled event! I mean, let's say I click btn2. I'll want to immediately get the text property of that button only and use it as the value for the select case tree. I suppose I need to put something at that ?I wrote there, but I don't have any idea. The first time I was so naive to put me.text in there, and of course it returned the form name. Is there's something to do this thing...? I thought at first it would be a very simple task, but I'm going nuts searching for a solution so it's like if it was not possible, but I find hard to believe that, because this would be very useful, right? By the way, what I want to achieve is not needing to make a separate procedure for each button and to avoid as well the need to move any game option to another procedure if later on I want to rearrange the menus, because I expect the game to have more than three buttons actually.

View 2 Replies

Game Programming :: Make A Game In VB In Which Character Can Move Around, Jump, And Kill Things?

Apr 2, 2008

im trying to make a game in visual basic in which your character can move around, jump, and kill things. I can get the picture box with the character to move and everything is fine. but i did run into one problem. when the character moves over a tree (or something) you can see the gray backround of the character as i made in paint. how do i make the backround of the picturebox transparent?

View 4 Replies

Game Programming :: Transparant Images - Make A Game Which Basiclly Lets You Shoot Ducks

Feb 1, 2010

I am trying to make a game which basiclly lets you shoot ducks. i have a picture as a background (set as form image) i then have picturebox's with ducks flying flying around you shoot them the disapear etc.

My problem is the image. i have a picture of a duck and a blue square round it. and i would liketo make it transparant because birds dont fly with blue squares.

Below is an image to illistrate my problem

I have tried adding transparent background, transparant key etc

View 2 Replies

Projectile Motion - Make A Game Similar To The Impossible Game?

May 19, 2011

I'm doing a project for school. I'm trying to make a game similar to the Impossible game. I need a square (picturebox) to jump but I want gravity to effect it.

View 1 Replies

VS 2010 Game Multi-Client - Program That Enables A Game To Have More Than One Instance Running

Nov 18, 2011

I want to make a program that enables a game to have more than one instance running, where it would otherwise be unable to be done. How should I go about this? A sandbox? Hack?

View 3 Replies

VS 2010 In-Game IRC Client For FullScreen DirectX Game

Jun 4, 2010

I've already coded the IRC Client, but what would be the code to make the app overlay in the fullscreen DirectX game ? And i've already tried to the TopMost function.

View 37 Replies

Simple 2D 'Space Invaders' Clone In Silverlight

Mar 17, 2011

I want to make a simple 2d game in Silverlight, but it seems like things have changed since the last time I tried to make a game using mode 13h graphics. Can someone give me a run-down of how you'd go about it.I just mean at a high-level, focusing on the silverlight-specific aspects; not general game design.A fictional example might be:'The main game loop shouldn't be a loop, use a DispatchTimer instead. Use a Canvas as the main drawing object; but realize that we don't bother drawing individual pixels - all of your in-game objects should be represented by controls. Be sure to set the 'UseHardwareFlag' to true'.

View 1 Replies

VB 2010 Move The Game Peaces (graphics) Over Another Graphics Which Is The Game Board

Apr 7, 2011

I am trying to do a game application similar to chess, where i need to move the game peaces(graphics) over another graphics which is the game board. using the mouse. How can I do multiple layers of graphics and control their movement(without using direct x, i know nothing about it)? Note: I have visual basic 2010 express, windows xp home

View 1 Replies

Make A 2D Game In VB?

Nov 1, 2010

I'm trying to make a 2D game in VB. As a first step I'm going to make a playing field (a form) on which I will put a character. The character should be able to move up, down, left, and right when you press the arrow keys. How do I start off with this and what should I start off with learning?

I already know the basics in how to make normal apps with buttons, text boxes, labels and so on but I don't quite get how I should start off with something like this.Also I wonder about XNA and VB.Net. Can you use them together or is XNA only for C#? I found some stuff while googling suggesting that XNA for VB.Net had been released.

View 1 Replies

Game Programming :: How To Make Pic Follows Another One

Jan 5, 2011

When my picHero enter a room where a picEnemy exists I should make the picEnemy follows picHero no matter how it moves up, down, right, left and as picHero is moving 5 px i want to make the picEnemy moves 4 px. I've tried to do use a condition as
Code:
if(picEnemy.location.X <> picHero.location.X) then
location = new point (picEnemy.location.X+4, picEnemy.location.Y)
picEnemy.location = location
endif
Also for the Y axis, but it didn't work.

View 18 Replies

How To Make A Hangman Game

Dec 19, 2011

i'm trying to make a hangman game yet i'm getting errors in these parts:

System.Text.RegularExpressions.Regex.ism...rgx, that it is not part of system .text ( more than

one case of this error) and also the rgx bit is claiming to need a '<' for an xml tag.those errors

and quickly run it on their vb? this is because i do not have vb on my computer.[code...]

View 1 Replies

How To Make BlackJack Game On VB

Dec 1, 2011

I am making a simple blackjack game for school.It involves using object arrays and for next loops.I have 5 labels for the player, and 5 labels for the dealer. I have both their totals displayed on the form. I also have a deal, hit and stand button. I also need to follow the rules of if the dealer >= to 17 they must stand and if the dealer is < 17 they must hit. Does anybody have any suggestions on how i can code the dealers turn.I already made it so the player clicks hit and when he/she is done clicks stand. This is my stand button so far:

lblTotalDealer.Show()
lblD1.Show()
Dim itemarray2() As Label = {lblD1, lblD2, lblD3, lblD4, lblD5}

[code].....

View 14 Replies

How To Make Bot For Online Game

Aug 27, 2009

i have zero programming knowledge and wanting to learn programming from seeing people making bots for online games, i always seek the knowledge if things and wonder how they do them, even though its pretty useless motive lol i just want to know what knowledge needed to making bot for online game am learning know VB.net 2008 got visual basic step by step book for 2008, i was searching for online game hackers forums and hear them type things like hooks, packets sniffers , etc , so what things do i need to learn beside visual basic 2008 to make bots for online game? i wonder how can i connect my program to other programs

View 1 Replies

Make A 2-player Go Game?

Aug 16, 2009

How could I start making a Go game? I just need some logic for it, and maybe some code, and then I can do the rest. How can you tell if an area is enclosed, which areas on the board are full, etc.? I also need ideas on how to find infinite capture/retrieve cycles.

View 7 Replies

Make A Chess Game In Vb?

Mar 25, 2011

I want to make a chess game in vb.

View 8 Replies

Make A Menu For A Game?

May 10, 2012

How do i make a menu for a game on vb.net

View 1 Replies

Trying To Make A Game Launcher?

Apr 24, 2010

ive tried playing with the code, references, settings, resources but cannot get this code to work Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Startgame.Click Dim ss As String = Startgame("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft",

[Code]...

View 13 Replies

Make A (Mp3 Player) In Game Menu?

Oct 10, 2009

I want to make an ingame menu. When you open a game a menu will pop up with a hotkey. I don't need you to do the work for me I just need a sample of a ingame menu with a hot toggle (ie: the menu doesnt need an interface, a black square that pops up with key).

View 7 Replies

Make A 3D Game (With Blender Models)?

Feb 15, 2010

How would I make a 3D game (With Blender models), in Visual Basic, with a chat, and you can see other people?(Like see other people walking around, and if someone pulled out for example a sword, you would see that)

View 4 Replies







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