Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 08 Nov 2011
Offline Last Active Yesterday, 06:38 AM

Posts I've Made

In Topic: SDL2/CG project stopped working

01 June 2014 - 01:24 AM

When you say that you can't get it to work, what exactly is occurring?

In Topic: Minesweeper - Having problems figuring out logic for adjacent checks

13 May 2014 - 06:33 AM

How I would approach this is as follows:

  1. The procedure is called on the selected tile
  2. Check if the selected tile contains a mine, if so the game is over
  3. Otherwise, make the selected tile visible and check if the selected tile has any adjacent mines
  4. If there are no adjacent mines, call the procedure on all the non-visible adjacent tiles

In Topic: Partitioning an A* 400x400 map every frame

03 May 2014 - 08:33 PM

One obvious question here is how often the map changes. When you check for passability, does this take into account mobile objects? If not, you could probably get away with only updating the partitions whenever the stationary objects on the map change (probably just building construction/destruction, but maybe terrain modification if you are planning on including something like that)

In Topic: Preparing before i indulge myself into Game Development!

02 May 2014 - 01:40 AM

It is not necessary to use C++ to write games, and it is more than possible to write games with C# or Java. If you already have experience in using those languages I would recommend using them for your early game projects over learning C++. For graphics I would recommend using SFML if you are going to use C++ or C#.

In Topic: How to create a 'quad'?

16 April 2014 - 09:44 PM

Well, if you're drawing a triangle list, you need 3 vertices for each triangle. You want to use D3DPT_TRIANGLESTRIP here instead and swap the 1st and 2nd vertex.