666 reputation
417
bio website ccoder.co.uk
location
age
visits member for 2 years, 5 months
seen 2 hours ago

I first got in to programming for a hobby, then it led to a career, now it's just an excuse to make a mess in my head.

Strangely though its easy to get addicted to the mess.

So here I am, confused as ever, asking questions.

You can't know it all though, something's gotta give ;)


Oct
11
comment How does making of games using game engines happen?
Side note: please try to be more specific in future and try and ask only 1 question at a time as this wall of text is quite confusing.
Oct
11
answered How does making of games using game engines happen?
Oct
11
comment Isometric View of “Voxel-Style” Terrain
the slight squashing could all be done on the the gpu as part of a custom isometric shader for simplicity if you set your view and projection matrices up correctly (seen people do this before). That way your cube / voxel code is all unified grids (making life much simpler)
Oct
10
answered How can I know how difficult a question is?
Oct
10
comment How to change the position of a circle in pygame in three stages
surely this is a simple path finding situation? each update cycle figure out where youre green dots are and move them x amount closer to the blue dot ... whatever the current position is for each is simply updated? ... am i missing something here?
Oct
10
answered Isometric View of “Voxel-Style” Terrain
Oct
1
comment How can I avoid having many singletons in my game architecture?
This doesn't actually provide a solution ... so you have your program class with a bunch of singleton objects in it and now 10 levels deep in code somehting in the scene needs one of those singletons ... how is it passed in?
Sep
30
comment Why is it bad to hard-code content?
I don't think compile times are really that important but as a developer we always strive for "neat code" ... this is a pretty good reason to separate things in it's own right ... content should be content not code!
Sep
30
comment How can I avoid having many singletons in my game architecture?
If I was using dependency injection it would be yes ... but this to me is a bit nicer in that it clearly shows "The game owns these objects and will do what it wants with them" ... in the absence of dependency injection and god objects there has to be a reasonable middle ground.
Sep
30
revised How can I avoid having many singletons in my game architecture?
added 1537 characters in body
Sep
30
comment How can I avoid having many singletons in my game architecture?
It means the only "God Object" of sorts is the game itself ... which logically makes sense
Sep
30
comment How can I avoid having many singletons in my game architecture?
Not exactly ... essentially I have a non static property on my game class, the current scene and all components can get to the game from anywhere so in my code I do something like var s = Game.GetService<T>();
Sep
30
comment How can I avoid having many singletons in my game architecture?
Essentially I have Created a "Component stack" for the scene that uses the above mentioned Service Collection from the base using a "GetService" method to crawl back up to the game and query the collection.
Sep
30
comment What are the most common ways of closing an open world?
This is subjective / vague ... do you need help with solving a problem? What have you tried / not tried? ... yes those are existing ways to close open worlds, another might be to use zones.
Sep
30
answered How can I avoid having many singletons in my game architecture?
Sep
24
awarded  Autobiographer
Sep
24
answered How to move around in a map and remember position?
Sep
22
comment MonoGame SharpDX Error 'The Parameter is Incorrect' when using graphics.DrawUserPrimitives
Hmmm ... ok if you could update your question maybe I can provide something else to help solve the problem ... or we should perhaps close the question ... I know this is how I solved my last problem with it but it may be that your problem is slightly different as that error covers just about anything in DX
Sep
22
comment MonoGame SharpDX Error 'The Parameter is Incorrect' when using graphics.DrawUserPrimitives
Did it work? do you need more help?
Sep
22
answered Processing periodical operations on the database