33 Topics

Member Avatar for
Member Avatar for CJMW

So I'm making a map editor with C# and XNA. I have currently got it setup so there is a windows for with a picture box, which the game is being displayed through. The problem is this, I want (0,0) to be the upper left corner of the picture box, …

Member Avatar for sfuo
0
2K
Member Avatar for KushMishra

Hello All, I am just a newbie trying to explore areas into game developement using .Net (may be XNA studio) though I am not familier with the same. Could you please suggest some tutorials, ebooks for this so that I can start as a beginner and then later on, may …

Member Avatar for janissantony
0
250
Member Avatar for CJMW

So I actually posted this in the C# section, but despite peoples best efforts, all all the help there, the problem is still not solved. Background: Im making a game in xna/c# (Who isnt these days). For collision detection, I though I would use rectangles and lists. My thought process …

Member Avatar for CJMW
0
272
Member Avatar for TheScriptan

Hello everyone! My name is Ainis, I am 15 years old. I want to announce that I am starting a new project called "Learning Programming In 2 Years". I got inspired by LethalFrag who just completed his 2 Year Livestream. Main goal of this is to show people how hard …

Member Avatar for happygeek
0
435
Member Avatar for CJMW

So im making an RPG. For collision detection, I thought I would do it like this: 1. Read text file containing collision data. 2. Iterate through the list using nested for loops. 3. When a value of 1 occurs (denoting an inpassable tile) add a rectangle to list 'badTiles', where …

Member Avatar for CJMW
0
411
Member Avatar for CJMW

So im making a simple RPG using c# and xna. For collision, i am using a text file that contains data about whether a tile is passable or not. I iterate through them and create rectangles based on the position of the 'bad' tile in the text file. I then …

Member Avatar for CJMW
0
337
Member Avatar for CJMW

So im posting this here and not under game development because this is more of a problem solving question, not directly game related. Im making a simple RPG using xna. Im currently working on collision detection, however running into difficulty. I can successfully check for a collision between the player …

Member Avatar for CJMW
0
321
Member Avatar for CJMW

So i'm making an rpg game in xna. I can move my player around the screen, however it can also move off the screen. How can I implament a simple camera that will follow the player and prevent them from moving off of the screen? I only need it to …

Member Avatar for CJMW
0
432
Member Avatar for CJMW

So i'm making an rpg game with c# and xna. How can I create a simple camera that follows the player as they move? I only wish for the camera to move as the player reaches the middle of the screen. I dont require it to rotate, zoom in/out like …

Member Avatar for KushMishra
1
332
Member Avatar for CJMW

SO im writing a simple map editor using c# and xna. Ive just finished with xml serilization, but when i compile i get the following error: "Unable to generate a temporary class (result=1). error CS0016: Could not write to output file 'c:\Users\Chris\AppData\Local\Temp\1vw3tjxm.dll' -- 'Access is denied. ", what does this …

0
223
Member Avatar for XEN0

Rewrote this a few times heres the meat and potatoes. Has a few issues such as flashing when moving in different directions quickly. Thinking of trying to clamp a few values to try to stop the diagonal movement,flashing and smoothing out the sprite. Something along these lines might update this …

Member Avatar for XEN0
0
264
Member Avatar for badboy11

I am trying to serialize data in my XNA project. I have a Texture2D background property that I use during runtime, but I also have a 'string property' to hold my Background name. This will allow me to serialize the asset name so I can later use the info to …

Member Avatar for badboy11
0
255
Member Avatar for Robert955

I've created this code which should look in the Songs folder and add any .mp3 file to a list. However when I test it it keeps saying File not found and pointing to the exact file it cant find with the name of the song while I dont mention this …

0
187
Member Avatar for berben11

Hey, so I just created a new Youtube video with some highlights about my new Indie game "Temporal Wars". I have been trying to get this cool game out for over a year now!! But the Xbox indie reviewers are tough! Which is good, but this is like 5 times …

0
151
Member Avatar for Cronicle8

Good morning, So i was finally able to solve all the errors in my game, but now i can't seem to get a Motion Detector to work using Aforge, so far i've got: private void device_NewFrame(object sender, AForge.Video.NewFrameEventArgs eventArgs) { tmpImage = eventArgs.Frame.Clone(Rec, PixelFormat.Format24bppRgb); Bitmap image = (Bitmap)tmpImage.Clone(); //BitmapData bitmapData …

Member Avatar for Cronicle8
0
322
Member Avatar for Cronicle8

Good morning, I'm coding a game which ovject is to capture the feed of a webcam, then apply some filters to detect movement, so far i've managed to get the webcam to work but when i apply the filters it says "Bitmap locked" i've managed to solve that error, right …

Member Avatar for Cronicle8
0
291
Member Avatar for yup790

I am making a c# level editor and it is a bit out of my league but it should be good to learn oop algorithems. I have only just started and have already come across a problem. ** I need to load images as sprites and then create a button …

Member Avatar for yup790
0
323
Member Avatar for yup790

I have been using XNA recently and discoverd a major difficulty: when designing levels you have to spen ages pre planning exactly where sprites/objects will go. To solve This problem I had an idea for a game engine/level editor that just imports sprites, creates variables for the sprites and has …

Member Avatar for Akill10
0
184
Member Avatar for c#_fem

Hi, I'm developing a XNA Windows Game 4.0, and I keep getting this error: The type or namespace name 'Color' does not exist in the namespace 'Microsoft.Xna.Framework.Graphics' (are you missing an assembly reference?) I can't seem to find the answer for this, can anyone help? Thanks EDIT: Solved it color …

0
217
Member Avatar for cbartondock

So, as indicated by the title, I have an interesting problem. In my 3d game I have several models -some of which are in world space (they are transformed by the view matrix, these models include asteroids, the home planet, the ship, etc), and some of which are in view …

0
106
Member Avatar for cbartondock

Hi, I'm an amateur programmer developing a 3d asteroid/space based game in xna. In my game I have a ship with a chase camera attached to it. Attached to the camera (and here I mean its position is calculated relative to the camera) is an arrow model that always points …

Member Avatar for cbartondock
0
150
Member Avatar for Robert955

Hello, for my Game I used this tutorial from riemers for automatically scalling graphics relative to the current resolution of the game window: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series2D/Resolution_independency.php If I change from the baseSize to another resolution the Mouse position gets messed up, I have a custom cursor on (int)ms.x, (int)ms.y but when I …

0
129
Member Avatar for Robert955

o/ Im working on a game in XNA 4.0 and ive started on making an actionbar. What I have is a tileEngine and if I remove a block I want it to appear in my actionbar. but after I got it in the first column of my bar and I …

0
129
Member Avatar for Akay2

Well i have a little problem here is the code [CODE] using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; namespace RockRaidersRecreation { /// Manager for Drawing Verts public class WallDrawManager : DrawableGameComponent { Texture2D wallTexture; BasicEffect basicEffect; Vector3 …

0
197
Member Avatar for Akay2

Hello guys i have a problem with my for loop it should create a 100 by 100 field with 10x10 squares each squares are created by 4 vectorpositiontextures. it works fine until the 5th line there i have only 96 squares and then no more other squares. sry it is …

Member Avatar for Akay2
-1
292
Member Avatar for AndyPants

Hello... I've been a VB.NET developer for quite some time, but I decided to start making games. I bought a book called "Begginig C# game development" by Ron Penton... I've read the first half of the book that's about how C# works and stuf, but in the second half we …

Member Avatar for Revan1985
0
185
Member Avatar for creative_m

Hi, I want to make a small game,but I need help with Ruminate GUI (XNA 4.0).My question is how to put buttons in a panel that appears when the course goes over its location - let's say on the left of the screen. I have written some code but I …

Member Avatar for ddanbe
0
138
Member Avatar for Robert955

Hey, I've stumbled upon a small problem with my game. I have 10 wasps that have some AI, just wandering around and whenever a wasp gets close to the queen wasp it starts chasing it. the queen just wanders around aswell. I can also move with my character and if …

Member Avatar for Ketsuekiame
0
179
Member Avatar for game4tress

I'm creating a new functionality for an already existing software, made with VB .Net. This new functionality consists of rendering 3D objects on a specific form, and be able to move/rotate/resize/change,... those objects. For this task i've used XNA. I've created a new XNA Windows project and, in the specific …

0
97
Member Avatar for samanalaya

I need to control a 3D object using wii remote (motion plus inbuilt) in xna gaming environment. I am using C#. Actually I want to do something like in wii cricket or in wii tennis in xna gaming environment using c#. its a pleasure you can suggest me a place …

0
113

The End.