Jump to content

  • Log In with Google      Sign In   
  • Create Account


eloadrin

Member Since 19 Sep 2006
Offline Last Active Sep 14 2013 11:08 AM

Posts I've Made

In Topic: Bullets won't shoot up or down

12 June 2013 - 12:40 PM

Take a look in your keylistener and shoot functions for player. Change the else ifs to just ifs, because what is happening there is that if you press right and then press and hold down, it will not shoot down as well because of the else clause.

In Topic: skybox - issue with not working

07 June 2013 - 02:50 PM

In your 3d editor you need to inverse the normals of the faces inside you're cube. This will allow the inside faces to be appropriately lit.

In Topic: Ask how to delete in SDL

27 January 2011 - 02:36 PM

What could do is use delete to remove that instance of the coin after collision detection, which in turn calls the destructor of your coin class. From there what you want to do is use SDL_FreeSurface() and pass in the surface of the coin to free it from memory and uninitialize any variables and/or delete any other objects that may be contained in that class. That is an overly simplified explanation, but SDL_FreeSurface() is the SDL function you are looking for to free up an SDL_Surface. Just look up the documentation to get the full description.

In Topic: Win32 WinClassEx Help

12 January 2011 - 11:32 AM

SiCrane is right, also there is a minor mistake in your code here:

wcex.lpszClassName = "MyWndClassEx"
wcex.hIconSm = LoadIcon(NULL, IDI_APPLICATION);;
It should be:

wcex.lpszClassName = "MyWndClassEx";
wcex.hIconSm = LoadIcon(NULL, IDI_APPLICATION);

In Topic: College says I need these... Any other helpful programs?

04 January 2011 - 05:50 AM

Quote:
Original post by jpetrie
My advice to you would be to keep in mind that the tools you use are largely irrelevant. While you might learn the tools that are in use today or were in use a few years ago, don't place too much weight there -- instead, focus your efforts on the classes that are more theoretical in nature, and/or spend your time really trying to dig in to the why and the fundamental underlying concepts of the tools that you're being taught.


I totally agree. It's how you use the tools at hand with your knowledge of the subject that affects your work, and not what tools. Although it is important to understand how your software works, in the end it's only to help speed up the creation process.

PARTNERS