Jump to content

  • Log In with Google      Sign In   
  • Create Account


Lodeman

Member Since 21 Jun 2013
Offline Last Active Today, 09:37 AM
-----

Posts I've Made

In Topic: New Earth RPG

19 July 2014 - 08:11 AM

Your chickens must lay at least 0.73 eggs per day.
Any less will greatly infuriate your target audience.


In Topic: Help with a really basic indie game!

15 July 2014 - 03:32 PM

This reminds me of that cookie clicking game.
A totally unserious game, but still cleary made with an odd form of love for the cookie.

 

You indeed need to specify what sort of help you're looking for though.
Either way good luck with that goofy cat!


In Topic: Best way to do mouse picking in 2D OpenGL

15 June 2014 - 03:36 AM

For a simple 2D game it could be as simple as getting the mouse's current position on-screen, and from there go through your game objects and see which one matches that location.


In Topic: Should I try out 3D game programming?

03 May 2014 - 03:56 AM

If it is 3D that you want to do, by all means go for it.
You seem plenty experienced in 2D by now, and that's not something you'll forget. But it's also important to keep learning new things, and 3D adds alot of new challenges and excitement.


In Topic: [GLSL] NVIDIA vs ATI shader problem

28 March 2014 - 05:23 PM

I see you're using a for loop to dynamically get gLights[i].
With GLSL I've had problems in which a shader worked fine on my desktop PC, but on my laptop wasn't giving proper results.

 

My fix was to manually unroll the loop...very tedious but it solved the problem.
So instead of doing gLights[i] you'd do gLights[0], gLights[1] etc explicitely.

 

A general debugging tip by the way, is to comment out complex calculations and replace them with constant values you know should work. Do this until some form of logical graphical output appears, and work your way down from there until you pinpoint the issue.

 

Hope this helps.


PARTNERS