Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


jbcode3

Member Since 22 Apr 2012
Offline Last Active Oct 26 2014 10:10 PM

Posts I've Made

In Topic: Looking for Game Programming Work Examples

11 December 2013 - 02:21 PM

In an interview you're going to get asked many different programming questions and to take a programming test.

 

Topics include things like:

 

How to Implement a binary search for a set of sorted numbers.

Write your own function to insert a node into a linked list.

Write a function to sort a linked list.

Write a function to reverse a linked list.

How would you design and code a Poker game, or a chess game, or some other simple and known game.

What is wrong with this code?  Debug a problem, or find a problem.

The STL if the job is C++.

Basic Algorithms.

 

Explain different programming concepts / definitions like:

What is the heap, what is the stack?

What is polymorphism?

Describe a polymorphic relationship.

What does new and malloc do?

What is virtual?

What is the difference between a class and structure?

What is encapsulation?

Explain managed vs unmanaged.

What's a copy constructor, move constructor, destructor, when are they called.

Whats a friend?

What does it mean to be pure virtual, what is an abstract class?

What is abstraction?

What are namespaces?

 

Most game companies may also ask you questions to gauge how well you know your linear algebra, trigonometry, bit manipulation, and/or physics and how to apply them to a game.  So make sure you know Dot Product, Cross Product, Matrix math and how it's used in games.  This is especially important if you're looking to do graphics work.


In Topic: Debug Assertion Failed:(L"Buffer is too small"&&0)

25 April 2012 - 01:51 AM

What is the size of

strBuffer?


In Topic: Collision Detection

22 April 2012 - 11:05 PM

I take it that you only want your player to move in only one of four directions; Up, Down, Left, Right.

The most simple solution for this would be to change your collision check to only check 1 key each frame. For example:

if(KeyDown(Left))
{
	 do Left collision...
}
else if (KeyDown(Right))
{
	  do Right collision...
}
else if (KeyDown(Up))
{
	 do Up  collision...
}
else
{
	 do Down collision...
}

PARTNERS