Search found 3 matches

by CameronGoble
Tue Jun 11, 2019 1:46 am
Forum: Libraries and Tools
Topic: Game Code Design Patterns
Replies: 2
Views: 4957

Re: Game Code Design Patterns

Wow! Really illustrative. I love how you so clearly show the same result from these three different approaches. I'm a hobbyist programmer from the 1990s: the heady days of OOP. So that's my go-to. Lately, I'd been curious about ECS. Your demos answer practically every question I could think of as to...
by CameronGoble
Mon Jun 10, 2019 8:39 pm
Forum: Libraries and Tools
Topic: What's your In-Code Documentation Tool?
Replies: 1
Views: 3964

What's your In-Code Documentation Tool?

So I'm trying to be more diligent with my commenting and documentation upkeep, as I hope to release my first library into the wild soon. I see a lot of code that has this sort of commenting in it: ------------------------------------ --- This is my module. -- @param This does one thing -- @return An...
by CameronGoble
Fri Sep 15, 2017 2:22 am
Forum: Support and Development
Topic: Error when creating canvas
Replies: 1
Views: 2529

Re: Error when creating canvas

I encountered the same issue and found your message on the forums. I was using code to create a canvas object out of a Text object so I could do interesting transforms on it: function textToCanvasObject(textObject) -- Maybe draw text onto a canvas first? local h = textObject:getHeight() local w = te...