Search found 2 matches

by enygmata
Thu Apr 24, 2014 12:36 pm
Forum: Libraries and Tools
Topic: stateful.lua
Replies: 88
Views: 55734

Re: stateful.lua

kikito wrote:Does any of you guys have a sample *.love file showing the issue?
I attached one simple love file for testing purposes. To make the problem happen, open the menu.lua file and save it again. Lurker will reload the file and an assertion error will be thrown:
State Menu already exists on class Game
by enygmata
Wed Apr 23, 2014 6:45 pm
Forum: Libraries and Tools
Topic: stateful.lua
Replies: 88
Views: 55734

Re: stateful.lua

Could you make the library compatible with lurker ? Could you please add optional state change "restrictions"? Sometimes it is good to make sure the flow goes in a certain way, e.g. going from MainMenu to GameOver state should throw an error or warning. I think it may be possible to imple...