Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Aart

Member Since 20 Mar 2012
Offline Last Active Oct 11 2014 12:42 PM

Topics I've Started

Global Game Jam

30 November 2012 - 05:11 PM

Hey all,

I have some experience in game programming, because it is my hobby and I study game technology, but I thought it would be interesting to join the Global Game Jam. I wondered if some of you could share your experiences with this kind of events, and if you recomment it.
I also wondered if anyone has joined one in the Netherlands, and how popular these jams are overhere.

Aart

Accessing other game objects

30 November 2012 - 10:00 AM

Hello,

I am designing the object hierarchy for a small game I want to make in C++.
At a certain point I have a list with all game objects in it, like enemies, trees, the player, etcetera.
What would be a good way of accessing other game objects in one of these objects? For example if an enemy has to check wether another enemy is nearby.

My first idea is making multiple lists inside the list for every different game object, but this doesn't seem very practical.
I am sure you have better ideas.

Thanks,

Aart

XNA(C#) and Shaders(Effects) - draw an empty screen with shader

23 November 2012 - 04:30 AM

Hey,

I have a question regarding the use of shaders in XNA(C#).
What I am trying to achieve is create a window sized grayscale texture which I will use later as a lightmask.
My shader works fine, It calculated the right gray value for each pixel, but this only works if I draw a black texture which has the size of my window. This is only the case if I render to a texture, rendering directly to the screen works without drawing anything.
So my question is: How do I achieve the effect when drawing directly to the screen, but now rendered to a texture?

Thanks in advance,

Aart Stuurman

Edit:
I think my question is a bit vague. What I actually try to right now is create a render target with a certain width and height and make it completely black. If anyone can tell me how to do this, I would be very grateful.

I also just noticed this is not really the right section for such a question. Sorry about that.

Edit2:
My personal try was this:
    public void EmptyTexture(Texture2D tex, Color color)
    {
        // Create a color array for the pixels
        Color[] colors = new Color[tex.Width * tex.Height];
        for (int i = 0; i < colors.Length; i++)
        {
            colors[i] = new Color(color.ToVector3());
        }

        // Set the color data for the texture
        tex.SetData(colors);
    }
This incredibly slow though.

Interesting (retro)games to remake and upgrade?

14 November 2012 - 10:51 AM

Hello all,

My name is Aart Stuurman. I study gametechnology at the university of Utrecht.
The course I am following now is an introduction project in which we will choose a retro game(or at least a relatively simple game),
which we then remake and in which we implement new technology(as motion tracking/voice recognition) or upgrade things as artificial intelligence.
I find this a very interesting project and I think it has much potential, but the problem is: which game to choose?
The game must have things that can be upgraded, or it must be logical to implement this 'new' technology.

So my question is: Which (retro)games do you find interesting to remake and upgrade?

Thanks in advance,

Aart

Saving and loading the different maps to and from external files

21 March 2012 - 02:24 PM

Hey all,

After designing a global structure for my program, I am now trying to figure out which resourses I will need.
The program's static core will be written in C++.

I want to save different maps in external files, for obvious reasons. A map file should not only contain the coordinates of, for example, a door, but also a link to a function call in a Lua file, when a specific trigger is caused. An example map with only one object:

Object: Door
Position_x: 2345
Position_y: 3345
OnOpen: door7654.lua->OnOpen()
OnClose: door7654.lua->OnClose()

Every object in a map will have it's own Lua file with it's own functions. This way it will be easy to create a map maker. The Lua function will handle the trigger.

The question I have is:
Is there a file type that is suitable for this?

I find it an ugly idea to just take a .txt file and type in text like this, and then create my own reader for it. I am sure there are many file types ready for me.

Thanks in advance,

Aart Stuurman

PARTNERS