Search found 79 matches

by Zarty55
Wed Mar 09, 2016 3:31 pm
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 81
Views: 89497

Re: [Lib] SUIT - Simple User Interface Toolkit

You can layout your widgets with cells. http://suit.readthedocs.org/en/latest/layout.html After using it for a little bit I figured it out. But now I'm struggling with making rows/collumns. Because when I do a row() it changes the X of the next col(). Currently I'm doing some not ideal ways to work...
by Zarty55
Mon Feb 29, 2016 3:41 pm
Forum: General
Topic: Procedural Dungeon Creation Room Overlap
Replies: 4
Views: 3111

Re: Procedural Dungeon Creation Room Overlap

pikuchan wrote:The sad thing is the amount of time that I stared at that before I noticed the problem.
Try using the rubber duck debugging method :)
by Zarty55
Fri Feb 26, 2016 4:30 am
Forum: Games and Creations
Topic: My first game
Replies: 4
Views: 2685

Re: My first game

It's really hard to create a first complete game with music, sounds, graphical effects and all that. I'm sure you're proud of it. I can say it's pretty cool. The game itself has some things that makes it really easy and some that makes it really hard. What makes it easy is the fact that it's really ...
by Zarty55
Thu Feb 25, 2016 3:14 am
Forum: General
Topic: love.math.noise
Replies: 5
Views: 3263

Re: love.math.noise

I've had the same problem as you.

https://bitbucket.org/account/notificat ... -arguments

The solution is to pass non-integer values to the function.
by Zarty55
Mon Feb 22, 2016 9:19 pm
Forum: General
Topic: Multi file programming
Replies: 16
Views: 6238

Re: Multi file programming

Yes. Let's say you have a camera+viewport library. You require it. package.loaded.<libraryname> will hold the library. Now, inside the internals of the library, somewhere, due to organizing code, the library coder used require to put the camera and viewport files into the main one, where he exposes...
by Zarty55
Mon Feb 22, 2016 7:37 pm
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 81
Views: 89497

Re: [Lib] SUIT - Simple User Interface Toolkit

Hi. I'm using SUIT for the first time and it really fits love2d in how awesome it is and how good to use it is.

The only thing that it misses is some kind of frame that keeps child-objects inside it. I'm not sure if it's possible to do, but it would be really useful.
by Zarty55
Mon Feb 22, 2016 6:41 pm
Forum: General
Topic: Multi file programming
Replies: 16
Views: 6238

Re: Multi file programming

The one thing i dislike about using require -everywhere- is that in a way, it does pollute one place, the package.loaded table. By pollute, i mean that if a library itself needs to load files from its folder, i'd rather if that part wasn't exposed inside package.loaded for encapsulation reasons; si...
by Zarty55
Mon Feb 22, 2016 5:49 pm
Forum: General
Topic: Multi file programming
Replies: 16
Views: 6238

Re: Multi file programming

In my opinion working with require is much better. You can define a library in a file anywhere and require it locally in any other file. I personally don't like polluting the global environment with things that I won't use in every file. It's also much more organized and easier to read.
by Zarty55
Mon Feb 22, 2016 3:05 pm
Forum: General
Topic: How to get the path of love.filedropped file?
Replies: 2
Views: 1232

Re: How to get the path of love.filedropped file?

That was fast! Thank you! :)
by Zarty55
Mon Feb 22, 2016 2:53 pm
Forum: General
Topic: How to get the path of love.filedropped file?
Replies: 2
Views: 1232

How to get the path of love.filedropped file?

I wanted this to make my little program a little bit cooler. But I need the path of the file, not only the file. Is there any way to get the path?