I'm trying to develop an oldschool NES-style video game, with sprite flickering and graphical slowdown. I've been thinking of what type of logic I should use to enable such effects.
I have to consider the following restrictions if I want to go old-school NES style:
No more than 64 sprites on the screen at a time
No more than 8 sprite...
I've got some material parameters stored in the FBX file (DiffuseFactor, ShininessExponent, SpecularFactor and others), but I can't get to them using Effect.Parameters nor BasicEffect (they've got only the basic stuff - like EmmisiveColor or alpha). I know, that I can try to write a Effect-derived class, but is there any other way? A bui...
I've written a game engine, which i want to integrate scripting into. However, i've looked at the available choices, which seem to be the following:
Xnua
Jint
Managed Scripting
The problems with those are (respectively):
Built for XNA 1 -- there's an XNA 3.1 port but it's under the Apache license which i'm not sure is compatible wi...
XNA doesn't have any methods which support circle drawing.
Normally when I had to draw circle, always with the same color, I just made image with that circle and then I could display it as a sprite.
But now the color of the circle is specified during runtime, any ideas how to deal with that?
...
I am planning to develop for WP7 and Android.
What is the better way to display (and traverse) 3D scene/models in term of LoD?
The data is planned to be island-wide (Singapore).
1) Real-Time Dynamic Level of Detail Terrain Rendering
2) Discrete LoD
3) Others?
And please advice some considerations/algorithms/resources/source codes. som...
I am trying to create a game and now i want to check if the game is being closed so i will send a message to the server, how do i do it?
(XNA)
...
Hey,
I am currently designing an RTS Game in XNA.
So far I have a Terrain Model generated from a Heigthmap and some Units that are drawn on it.
The next step would be to give the units commands on where to move. To do that I have to calculate the exact position of the terrain behind the cursor when it's clicked.
For Units selection I ...
Hi guys, brand new question.
Just implemented multi-threading into my XNA game as it was unable to keep up with using 1 processor. MT is all implemented fine and everything, however the player seems to jitter all over the spot every now and then. I originally thought it was a loss of data between the update and render, but even when i d...
HI all,
I'm developing a software to control light show ( through DMX protocol ), i use C# and wpf to develop my main software (.net 4.0)
To help people preview their show, i would like to make a live 3D visualizer...
First, i thought that i could use wpf 3D to make the visualizer, but i need to work with light ..
My main application...
Hi there! It might be that my math is rusty or I'm just stuck in my box after trying to solve this for so long, either way I need your help.
Background: I'm making a 2d-based game in C# using XNA. In that game I want a camera to be able to zoom in/out so that a certain part of objects always are in view. Needless to say, the objects mov...
Hi, i wanted to know how to edit 3d models' vertices in XNA at runtime, i wana do something like the 3d max subtract feature where u put 2 models together and delete the intersecting vertices of 1 of them, more like carving one mesh with the other.
see this if i wasn't clear
anyway so any pointers on how to edit vertices at runtime or...
When making games for windows 7 phone will there be separate places for XNA based games and silverlight games? I'm curious how this will work.
Are all XNA based games going to work out of box? How would someone differentiate an app developed specifically for phone vs just a port?
Also would this be $200 per year to have a game hosted o...
I was going to write a long-winded post, but I'll boil it down here:
I'm trying to emulate the graphical old-school style of the NES via XNA. However, my FPS is SLOW, trying to modify 65K pixels per frame. If I just loop through all 65K pixels and set them to some arbitrary color, I get 64FPS. The code I made to look-up what colors s...
I'm trying to figure out how to draw graphics in XNA, and someone else suggested this.
But before I attempt to use this...
If I create and use this camera, and set LEFT,TOP to 0 and WIDTH=256 and HEIGHT=240, anything I render to the screen will use these coordinates? So a box with a width and height of 1, if set to 0,0 will take up spa...
Hello,
I am currently working on some game made in C# XNA.
Since I need to send a huge chunk of data over net (bout 96kb), I am using some string compressor/decompressor code, which I found on the internet.
The code looks like this:
public static string Compress(string text)
{
byte[] buffer = Encoding.UTF8.GetBytes(...
Hello
I'm starting with C# and XNA. In the "Update" method of the "Game" class I have this code:
t = Texture2D.FromFile( [...] ); //t is a 'Texture2D t;'
which loads small image. "Update" method is working like a loop, so this code is called
many times in a second. Now, when I run my game, it takes 95MB of RAM and it goes slowly to ...
Imagine the following scenario: I have a level whose physical structure is built up from a collection of bounding rectangles, combined with prerendered bitmap backgrounds. My actors, including the player character, all have their own bounding rectangle. If an actor manages to get stuck inside a level block, partially or otherwise, it'll ...
how use shader effects in XNA?
...
Hey all, i've been working on this small project in XNA the goal is pretty basic
i have a 3D model which pops up somewhere on the screen, the object is suppose to rotate on it's y axis,
The problem is:
what happens instead is that the models rotate around themselves and also start to orbit the middle point between themselves and the 0,...
I am learning XNA and in almost all of the educational kits found on http://creators.xna.com/en-US/. I always see a call to Normalize() on a vector. I understand that normalize basically converts the vector into unit length, so all it gives is direction.
Now my question is When to normalize and what exactly does it help me in. I am doi...