Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 06 Jan 2008
Offline Last Active Jul 07 2016 04:17 AM

#5190987 someone help me ID this pattern?

Posted by on 03 November 2014 - 02:46 PM

I think the closest Software Design pattern to what you are describing is the Command Pattern

#5172111 Java and JOGL for serious Game development?

Posted by on 07 August 2014 - 01:55 PM


Ok, so I'm running OpenGL 3.0, one of the first things I do in code is check my GL version number to make sure it is compatible through GLEW:

		cerr << "OpenGL version 2.1 or higher required" << endl;
		return false;
When I compile my shaders I get the error:
error: 'in' qualifier in declaration of 'position' only valid for function parameters in GLSL 1.10.
> in vec3 position;
Even though the GLSL version should be at least 1.20.8 according to this: (for OpenGL 2.1)
This is what is causing my headaches, I'm not sure if this is an error on my part or an error with GLEW.


It is most likely an error on your part, the in qualifier is only valid in the global scope (with some restrictions) and in function parameters, i would guess that the error is caused by you using the in qualifier in a local scope. (Allthough its just a guess, i havn't seen your code so ...)



It was defined in global scope, although I updated my drivers and it seemed to fix the problem. It was using an incorrect version of GLSL.

#5170868 Just about to release a game...

Posted by on 01 August 2014 - 06:44 AM

Hi Guys,


Thanks for the feedback, I'm currently just waiting for the app to become available through Google play. The publishing process was more involved than I had imagined. A few things I was caught out by were:


  • You have to add licensing code to your application using Google's LVL library; the annoying thing about this is that there is a known bug in LVL that throws a NullPointerException when you don't have Google Play installed on your device. I tried to catch this exception to provide an error message but unfortunately it's being thrown on an inaccessible thread.
  • There is a hard 50MB limit on all applications, I skimmed over some documentation that had me believe your application could be over 50MB but this is only if you use APK extension files which you have to manage in code. I had to remove about 7MB of content from the final game, fortunately I had a lot of redundant sound data to spare but this could definately catch some developers out.
  • Google play doesn't have the most intuative User interface - you have to publish a game before you can test it - and then promote it to a production release. I've been waiting for the past ~18hrs for the game to actually show up on the marketplace just so I can test the licensing code I implemented :(


Anyway thanks for the advice. I read over the Turbosquid license aggreement and couldn't see anywhere it said to mention the website in your game, I was going to add a small paragraph/sentence in the about section but then realized I had already localized the game into 21 different languages :( I'll add a reference in the Play store page and trailer video description though.


I'll post a link here aswell if Google play ever decides to actually publish the game



#5169797 Just about to release a game...

Posted by on 28 July 2014 - 10:24 AM



I'm just about to release an android game on Google Play for the first time. I'm not really use to self-publishing and was wondering if there is anything I must do before releasing a game such as copyright procedures etc.


I wrote all of the code for the game and done most of the artwork but some of the models I took from turbosquid; but only those under the Royalty free - for all extended users license, likewise all of the sounds I used in the game are under the Creative commons 0 license and any external textures I got from cgtextures.com (which I believe are all royalty free).


I've skimmed over android's Launch checklist: http://developer.android.com/distribute/tools/launch-checklist.html but intend to read through it  thoroughly before release.


I was just wondering if there is anything else I should do to avoid any lauch disasters? anything that could cause the game to be brought down etc.





#5136178 Moving away from the games industry

Posted by on 03 March 2014 - 02:59 PM



I've been working for a games company for the past two years (programming) and I've recently applied for a new job in a software firm which does web development using java EE.


The reason I applied for the job was mainly because it was in my home country and that I've been finding it very difficult recently to live in a place where the culture is so different from my own.


I have an interview with this company next week but I don't if moving away from the games industry is the right decision, there are lot of pros and cons I can think of for moving and for staying, namely things like property prices are a lot cheaper, salary will most likely be higher but at the same time I almost feel like I am throwing in the towel with the games industry.


I was wondering if anyone here has had a similar experience? and how different a software firm is to a games company? (I know I probably have it quite easy not having to wear a suit and tie etc.)


Any advice?



#4762111 Proof God doesn't exist?

Posted by on 20 January 2011 - 05:50 PM

I've been thinking about this over the past few months and I believe its turning me into a bit of an atheist (which is kind of scary) but anyway, it all stems from
this phase:

"Cogito ergo sum"

which means....

"I think, therefore I am"

I keep wondering if there is a god and if he/she acknowledges that they exist then how do they know that they are in turn not being monitored by some higher power
(i.e. god's god). No matter what dimension or place god is existing within there will still be that acknowledgement of existence and therefore the uncertainty: are they really the apex entity?

This goes on forever (god's god's god etc.) until you realize that the current portrayal of god just does make any sense. Maybe because I'm human I just cant conceptualize an awareness of
one's own existence at that level (i.e. god), but, really, even if god is omnipotent, what if one day he finds out that everything he has ever known is false and that there is this higher power.

Is religion really just the answer to man's fear of death?, I mean we've been dead before and we kind of know how that went... just nothing.