Search found 5 matches
- Sun May 06, 2018 8:33 am
- Forum: General
- Topic: Is Love2d Suitable For My Project?
- Replies: 9
- Views: 7718
Re: Is Love2d Suitable For My Project?
Yea, I figured as much however I was assumed that would be tricky whether in Unity or any other language, do you think this would be trickier in Love2D vs something like Unity? Maybe trickier in the sense that Unity offers more tools and has an asset store that probably already has some code that d...
- Fri May 04, 2018 8:11 am
- Forum: General
- Topic: Need advice on building React like framework for love2d
- Replies: 5
- Views: 5139
Re: Need advice on building React like framework for love2d
I'm sorry, it seems like I got stuck on the technical side of things. Both React and Roact "cheat" when it comes to actually implementing the UI, in that they use existing UI features that love2d doesn't have and components configure them but don't have to deal with events, actual renderin...
- Thu May 03, 2018 12:00 pm
- Forum: General
- Topic: Need advice on building React like framework for love2d
- Replies: 5
- Views: 5139
Re: Need advice on building React like framework for love2d
I would suggest starting by picking an object orientation framework for lua, and making yourself familiar with it. There are a bunch of them, or you can write your own. Your post sounds a bit like you're in the middle between procedural and object oriented, with you calling things "tables"...
- Tue Apr 24, 2018 8:52 am
- Forum: General
- Topic: Improving development cycle
- Replies: 4
- Views: 4685
Re: Improving development cycle
Firstly, if you're still looking for how to load a file (or reload - same thing!), check out love.filesystem.load . You don't actually need very strict separation, you just need to avoid resetting your state on load. E.g. this counter will reset on reload: count = 5 function countDown() count = coun...
- Sun Apr 22, 2018 6:39 am
- Forum: General
- Topic: Improving development cycle
- Replies: 4
- Views: 4685
Re: Improving development cycle
Maintaining state perfectly across reloads is nearly impossible if you don't cooperate and write your code in a specific way. I don't know Fennel but I'd imagine functional programming in lua being close to the worst case, since anonymous generated functions are one of the biggest problems for hot r...