Search found 15 matches

by r-hughes
Thu Mar 10, 2016 2:50 pm
Forum: General
Topic: paralyzed by engine architecture problems
Replies: 16
Views: 6949

Re: paralyzed by engine architecture problems

Think about which part of your program should be allowed to dispatch events and then expose it to an appropriate environment. If you want to be able to dispatch events from anywhere that would be the global environment. I find your code a little puzzling to be honest, but I think if you would do so...
by r-hughes
Wed Mar 09, 2016 4:46 pm
Forum: General
Topic: paralyzed by engine architecture problems
Replies: 16
Views: 6949

Re: paralyzed by engine architecture problems

in your example neither file needs to require the other, because all functions live in the global environment and therefore do not need to exist at the time of being referenced in another function. Sorry. I was unclear. None of the functions exist in the global environment because they are all in p...
by r-hughes
Wed Mar 09, 2016 2:10 pm
Forum: General
Topic: paralyzed by engine architecture problems
Replies: 16
Views: 6949

Re: paralyzed by engine architecture problems

Why do the event handlers need to know about the dispatcher? Could you show a minimal example of your event system? Because events can be raised within the event handlers. Something like this (not exact but close enough to the idea) dispaptcher.lua local event_handlers = require('event_handlers') l...
by r-hughes
Tue Mar 08, 2016 11:50 pm
Forum: General
Topic: paralyzed by engine architecture problems
Replies: 16
Views: 6949

paralyzed by engine architecture problems

Three weeks ago I started working on my game and got really far. Development was a breeze. But I knew I had some architectural problems that I wanted to fix so I could reuse portions of the code in my next game. I haven't done anything in two weeks except stare at the same errors. I'm trying to writ...
by r-hughes
Wed Jan 20, 2016 1:27 am
Forum: Support and Development
Topic: How do I manage multiple versions of Love on Linux?
Replies: 4
Views: 2765

How do I manage multiple versions of Love on Linux?

I am using Mint and have 0.10.0 installed, but many of my older programs are using 0.8.0 or 0.9.2. How can I have all three versions installed simultaneously?