Search found 27 matches

by Teraku
Tue Nov 29, 2016 1:42 pm
Forum: General
Topic: What code editor do you use ?
Replies: 170
Views: 88506

Re: What code editor do you use ?

I've used ZeroBrane for a while, but it has its fair share of problems. Sometimes Lua files will look formatted correctly in the editor, but when you open them with another file, there's random indentation everywhere. The editor also highlights matching parentheses and braces pretty poorly (often no...
by Teraku
Fri Sep 09, 2016 8:23 am
Forum: Libraries and Tools
Topic: push - a resolution-handling library
Replies: 70
Views: 73405

Re: push - a resolution-handling library

This is really useful! How does this work with HUMP's Gamestate library, exactly? Do I call push:apply("start") and push:apply("end") in every gamestate's draw function? I'm not exactly sure how it works but you should be able to do something like this: function love.draw() push:apply("start") game...
by Teraku
Wed Sep 07, 2016 9:19 am
Forum: Libraries and Tools
Topic: push - a resolution-handling library
Replies: 70
Views: 73405

Re: push - a resolution-handling library

This is really useful!

How does this work with HUMP's Gamestate library, exactly? Do I call push:apply("start") and push:apply("end") in every gamestate's draw function?
by Teraku
Tue Sep 06, 2016 9:08 am
Forum: Libraries and Tools
Topic: Free Music / SFX Resource for Your Games - Over 2000 Tracks
Replies: 223
Views: 208885

Re: Free Music Resource for Your Games

Cool! More than 1000 tracks, that must have been a lot of work.
by Teraku
Sun Nov 15, 2015 5:39 pm
Forum: General
Topic: Game Design in Love with Lua
Replies: 11
Views: 2691

Re: Game Design in Love with Lua

For levels, instead of require I use local tempLevel = love.filesystem.load(filename)() then run through the tempLevel table and handle things accordingly. Or store it in a less local table instead. Either way, as long as you delete the old level table data completely when loading a new one you're ...
by Teraku
Fri Nov 06, 2015 10:18 pm
Forum: General
Topic: Game Design in Love with Lua
Replies: 11
Views: 2691

Re: Game Design in Love with Lua

You can store each level in a separate file (or all levels in one separate file) and simply require the file when necessary. If you call require like a function you can pretty much pass in any string, even dynamically generated ones or variables containing strings.
by Teraku
Fri May 02, 2014 6:22 pm
Forum: Libraries and Tools
Topic: Vector2 Class - OOP in love2d?
Replies: 11
Views: 3815

Re: Vector2 Class - OOP in love2d?

Well I know that the idea behind OOP is a whole different story, but as of it is now, OOP is merely a bunch of syntax sugar on top of plain imperative programming. When we'll get to the real OOP then we'll have a talk. That's mostly because Lua isn't exactly suited for it. If the language supports ...
by Teraku
Sat Apr 26, 2014 5:32 pm
Forum: General
Topic: ZeroBrane Studio Lua IDE v0.50 is out
Replies: 95
Views: 23141

Re: ZeroBrane Studio Lua IDE v0.50 is out

Does debugging work correctly now? I tried ZeroBrane back in December, and when starting a game with the debugger on, the game just didn't load, and hung instead. But if it works again, I'll definitely be getting back into it. It's a great IDE. Teraku, I'm not aware of any current issue with the de...
by Teraku
Fri Apr 25, 2014 6:51 pm
Forum: General
Topic: ZeroBrane Studio Lua IDE v0.50 is out
Replies: 95
Views: 23141

Re: ZeroBrane Studio Lua IDE v0.50 is out

Does debugging work correctly now? I tried ZeroBrane back in December, and when starting a game with the debugger on, the game just didn't load, and hung instead. But if it works again, I'll definitely be getting back into it. It's a great IDE.
by Teraku
Sun Feb 09, 2014 11:39 am
Forum: General
Topic: Which IDE?
Replies: 22
Views: 7970

Re: Which IDE?

Zerobrane. Yeah, I thought Zerobrane was pretty good. The debugger was unusable when I tried it last month, though. Crashes game instantly. I used to use a simple programming text editor like ConTEXT, but I later moved on to Scite. My only gripe with it was that it autocorrected "do" into "don". I'...