Search found 1077 matches

by s-ol
Tue Feb 21, 2017 6:37 pm
Forum: Support and Development
Topic: cubemap support ?
Replies: 7
Views: 4480

Re: cubemap support ?

Hang on. Someone explain what this is. Because it sounds interesting. Basically these are other texture sampler types. Your default texture samples using two coorsinates (uv). A volume texture is basically a stack of 2d textures that you sample with a 3d vector. I guess it interpolates along all ax...
by s-ol
Tue Feb 21, 2017 6:30 pm
Forum: Support and Development
Topic: Help: Can't install Löve2D installer and Computer think installer is a virus.
Replies: 15
Views: 9714

Re: Help: Can't install Löve2D installer and Computer think installer is a virus.

If you copy the files from the zip into a folder in Program Files, that's basically the same as installing it. Which of the files should I add to the program folder? All of them tovether go into a folder that's usually called 'LOVE'. I'm not sure if the installer does something else by default (lik...
by s-ol
Tue Feb 21, 2017 5:31 pm
Forum: Support and Development
Topic: Help: Can't install Löve2D installer and Computer think installer is a virus.
Replies: 15
Views: 9714

Re: Help: Can't install Löve2D installer and Computer think installer is a virus.

If you copy the files from the zip into a folder in Program Files, that's basically the same as installing it.

As to why this happens or how to prevent it I have no idea.
by s-ol
Tue Feb 21, 2017 5:03 pm
Forum: Games and Creations
Topic: [LÖVE Jam][Web] GEM - A matching puzzle game
Replies: 4
Views: 3975

Re: [LÖVE Jam][Web] GEM - A matching puzzle game

This is cool! I like the lo-fi graphics. I like the different modes and controls. Somehow I managed to not understand what was the goal on my first attempt (I tried to just seperate all colors into blocks ona 4x4 field to make them disappear, ignoring the right side). Maybe a single line explanation...
by s-ol
Tue Feb 21, 2017 1:21 pm
Forum: Support and Development
Topic: upvalues not working
Replies: 3
Views: 2751

Re: upvalues not working

ret = function() return x end debug.setupvalue(ret , 1 , {x = 90}) love.errhand( ret() ) shows nil when it should return 90 this workes in the lua console on mac. thanks In your code `x` is not an upvalue, it's a global variable. Also you are using `debug.setupvalue` wrong. If you want to return 90...
by s-ol
Sun Feb 19, 2017 5:19 pm
Forum: Games and Creations
Topic: Inventory system
Replies: 16
Views: 10711

Re: Inventory system

So basically, instances have their metatable be their own class' metatable, but the class metatable itself inherits from another class. Also, the bigger reason i always want to define -one- variable that has {__index = something} in it is because if i do that in the constructor function, the metata...
by s-ol
Sun Feb 19, 2017 3:19 pm
Forum: Games and Creations
Topic: Inventory system
Replies: 16
Views: 10711

Re: Inventory system

zorg wrote: Sat Feb 18, 2017 3:37 pm s-ol: Call it personal preference, but i just don't like mixing metatable stuff into the same table that i'd set itself as a metatable on.
Sure, just wanted to show it's not necessarily a worse approach :)
by s-ol
Sat Feb 18, 2017 2:49 pm
Forum: Games and Creations
Topic: Inventory system
Replies: 16
Views: 10711

Re: Inventory system

Not bad! Though to be honest, when you said "uses modules currently", at first, i was worried you might've been using the lua module stuff, which has been deprecated since forever; glad it's not the case. :3 One thing though, in many other threads one specific line of code surfaced: local...
by s-ol
Mon Feb 13, 2017 6:48 pm
Forum: Support and Development
Topic: Weld joints are buggy on 0.10.2 [SOLVED]
Replies: 4
Views: 3511

Re: Weld joints are buggy on 0.10.1 Linux/Android

Also, can you print the dt's that go into world:update()?

You might be able to fix this by switching to a fixed-update love.run but if that's the case you will probably expose an underlying performance problem in your game.
by s-ol
Mon Feb 13, 2017 7:47 am
Forum: Support and Development
Topic: returning table from love.thread
Replies: 7
Views: 10988

Re: returning table from love.thread

Both ImageData and FIleData inherit from base class Data. They're not the same, and their respective cloning functions also differ. I don't see a cloning function in either implementation, and love.event just uses a Variant which holds a simple pointer as far as I can tell. https://bitbucket.org/ru...