Search found 3 matches
- Tue Jun 11, 2019 1:46 am
- Forum: Libraries and Tools
- Topic: Game Code Design Patterns
- Replies: 2
- Views: 5094
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...
- Mon Jun 10, 2019 8:39 pm
- Forum: Libraries and Tools
- Topic: What's your In-Code Documentation Tool?
- Replies: 1
- Views: 4099
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...
- Fri Sep 15, 2017 2:22 am
- Forum: Support and Development
- Topic: Error when creating canvas
- Replies: 1
- Views: 2608
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...