Search found 18 matches

by damv
Thu May 02, 2019 7:51 pm
Forum: Libraries and Tools
Topic: Lua Vector
Replies: 12
Views: 14237

Re: Lua Vector

hump.vector also has dot product. it's done using the __mul operator (vector * vector). it's not only returning the x, y, it creates a new vector (or you can explicitly use methods, which modify the vector itself). There is no round, but there is normalized and trimmed. The way I see it, you've don...
by damv
Thu May 02, 2019 7:22 pm
Forum: Libraries and Tools
Topic: Lua Vector
Replies: 12
Views: 14237

Re: Lua Vector

It generates new strings every time it uses assert, that will be slow. Otherwise, looks like vector library from CPML. Here's what I use. It's a bit more involved and explicit, but it runs fast. the vector table does not inherit the checkError () method, it is a proprietary method that instantiates...
by damv
Thu May 02, 2019 7:09 pm
Forum: Libraries and Tools
Topic: Lua Vector
Replies: 12
Views: 14237

Re: Lua Vector

How is it better than hump.vector? or hump.vector-light? I did not know the existence of that, I have seen it now and I see that there is not much difference, only that there are some methods that my library does not have but also there are some things that library does not have that mine if, like ...
by damv
Wed May 01, 2019 1:42 pm
Forum: Libraries and Tools
Topic: Lua Vector
Replies: 12
Views: 14237

Lua Vector

hello, I made a small vector library for love2d, I hope you like it :D https://github.com/DeybisMelendez/lua-vector Release v0.1.0: https://github.com/DeybisMelendez/lua-vector/releases/tag/v0.1.0 Example: myVector = vector(5, 4) print(myVector:string()) --> vector(5, 4) other = vector(3, 2) if myVe...
by damv
Thu Mar 07, 2019 10:46 pm
Forum: Libraries and Tools
Topic: Lovepp - My first library
Replies: 4
Views: 8080

Re: Lovepp - My first library

ivan wrote: Thu Mar 07, 2019 7:05 pm Not a problem if you don't speak English, but if your lib is not documented in English than you are in trouble. :)
You're right I'm sorry. I will add a translation although it will need revision. Thank you.
by damv
Thu Mar 07, 2019 10:45 pm
Forum: Libraries and Tools
Topic: Lovepp - My first library
Replies: 4
Views: 8080

Re: Lovepp - My first library

My first suggestion would be to edit the title. It’s much more useful for everyone to know what kind of library you have made, rather than that it is your first. Thanks, what I think, this library brings several things, there in the description I put some characteristics, only that I had to put the...
by damv
Wed Mar 06, 2019 7:16 pm
Forum: Libraries and Tools
Topic: Lovepp - My first library
Replies: 4
Views: 8080

Lovepp - My first library

:awesome: Hello, sorry for my bad English, I have created a library for Love2D with the intention of simplifying the code, I have created several sub-modules such as simplify physics, camera movement, save and load game, create a tileset, control scenarios, between others. It is the first release an...
by damv
Thu Oct 11, 2018 9:19 pm
Forum: General
Topic: Export to Linux
Replies: 1
Views: 3612

Export to Linux

Hello, I'm new to Love2D, I apologize for my bad English, I'm trying to export my game to be executable for linux, but I can not understand very well how to do it, I would like to know if someone has a "step by step guide" to export to any executable format in linux, such as Snap, AppImage...