20 reputation
6
bio website deadwaterproductions.com
location United Kingdom
age 22
visits member for 2 years, 6 months
seen Feb 27 '13 at 10:09

I'm an indie game developer from the UK who has worked on a number of different projects in different languages, mostly as a single man development team. I code, do graphic and audio work, and write, mostly all at once.


Feb
8
awarded  Popular Question
Jul
11
comment Turn Based Event Algorithm
Ok I fixed it, just me being stupid, I had this nested in another for loop which I had overlooked which was slowing the whole thing up. Thanks for all the help.
Jul
11
accepted Turn Based Event Algorithm
Jul
10
awarded  Editor
Jul
10
revised Turn Based Event Algorithm
added 805 characters in body
Jul
10
comment Turn Based Event Algorithm
If I were to just run through them all using a for loop it would obviously be instant. However in order to not update everything in one pass (as a for loop would) I'm instead using a variable creepNumber which I increment each pass when the last creep[creepNumber] is finished updating. I'll edit my first post to put the code in to show what I'm doing and why it's horribly inefficient (I just can't get my head around another way).
Jul
10
comment Turn Based Event Algorithm
I like this idea, but I currently have 1000 creeps spread over the whole map. Looping through and checking if each is visible (and therefore if it should be updated) and then incrementing the counter to check for the next creep to update takes far too long. What would be the quickest way to completely ignore creeps that are inactive?
Jul
10
comment Turn Based Event Algorithm
because the objects have to update in order, not all at once - basically, the next creep is only allowed to update once the last creep has updated - there must be a visible wait time while each moves/makes an attack
Jul
10
asked Turn Based Event Algorithm
Mar
5
comment Optimum Screen Resolutions
No, it's 2d, that's fine thanks.
Mar
5
awarded  Scholar
Mar
5
comment Optimum Screen Resolutions
Thanks, that summed everything up nicely.
Mar
5
accepted Optimum Screen Resolutions
Mar
4
awarded  Student
Mar
4
asked Optimum Screen Resolutions
Feb
5
awarded  Autobiographer
Feb
5
awarded  Analytical