Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 06 Oct 2006
Offline Last Active Yesterday, 05:05 PM

Posts I've Made

In Topic: Looking for feedback on my game engine

09 September 2016 - 02:07 PM

I've written a game (ish) for Android using OpenGL, but it turned out to be such spaghetti that I abandoned the project before I was even close to a releasable product


Next time, instead of abandoning the project completely when it becomes spaghetti, try refactoring it bit by bit - making it less like spaghetti. Take one part of your architecture that you think is messy, and make it cleaner: more re-usable, less code, less coupling, etc.. Then repeat. There are some books on refactoring that might be of help. Also looking at how other open source game engines are built is of help (like someone else mentioned). I think you'd learn a lot more that way.

In Topic: Mixing up a "bag" of components with different ownership scheme

09 September 2016 - 11:32 AM

I can't clear the ownership of that type of pointer in the Physics Singleton while other objects may retrieve that component when they need it.



It's rare that you should need to use shared_ptr... especially in a game, object lifetime ownership should be quite clear.


I still don't understand your scenario - what code do you have that would be holding onto a Physics component beyond its game object's lifetime?

In Topic: Introduction and plans... sort of

08 September 2016 - 07:49 AM

The starting price is a bit steep (to get all of the mobile options it makes the most sense to get the Master Collection), but for my hopes are those constraints are quite a ways off.



fyi, it's available very cheaply for another 12 hours (as of the time of this post) ... $15 including HTML5, Android, iOS, UWP modules:



In Topic: Image texture quad displays underlying controls color where it is transparent

31 August 2016 - 08:05 PM

What are your alpha blend settings when drawing the green and yellow circles?

In Topic: Trump Is The Republican Candidate - Now What?

19 August 2016 - 10:51 AM

You come off as one of those people who are a part of the problem. If someone died from a brain freeze by eating ice cream too fast, you would rally to ban ice cream shops. You sound like one of the people who rallied to ban Christian owned flower shops because one of them refused to serve a gay couple, but every Muslim owned bakery does the exact same thing and cries of outrage are no where to be heard. You are the type of person who results to name calling and screaming profanities.


Or to paraphrase, "I'm putting you in a box with a label on it (printed by fox news) so I don't actually need to engage in intelligent debate or even attempt to try to understand your position".