Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 03 Jan 2011
Offline Last Active Aug 12 2014 09:02 AM

Posts I've Made

In Topic: Forward declarations

15 July 2014 - 07:30 AM

That's absolutely okay, I can live with a "in the future" :)

In Topic: How to make classes and objects from another module accessible?

03 July 2014 - 03:32 AM

Thanks Andreas,good answer.


Shared Entities seem to be what I am looking for but apparently they don't support hot reloading as I can't reload the code with another module referencing it, but its okay, it makes sense; back to the drawing board :)

In Topic: OpenGL Light Tutorial

24 June 2014 - 11:50 AM

Fixed pipeline lighting? why is this relevant in 2014? :x

In Topic: Inter-module class access

24 May 2014 - 11:00 AM

Thanks Andreas :) 


Those features you mention do sound promising, I think I am convinced, each state will sit in a independent module.


First, the dynamic nature of my state system would be impractical. I'd have to specify all game states source at init time, or it would be a total mess with classes referencing other classes that aren't compiled yet, generating a ugly dependency.


Also, I will definitely create a Messaging system as a clear interface to communicate between states. This is really the best way as I can create premade states for multiple things and re-use them quite easily. For example, I create a pause state and document it so everyone knows it is expecting a "UI_Source_File" at initialization. Then, I can re-use the same pause game code for many games, only changing its looks by those properties. Sounds like the cleanest approach to me.

In Topic: Inter-module class access

24 May 2014 - 06:06 AM

Yes, I wasn't asking exactly how to do it, but rather how it should be done :)