Search found 45 matches

by DanielPower
Thu Oct 26, 2017 5:20 pm
Forum: Games and Creations
Topic: Typing Champ
Replies: 6
Views: 425

Re: Typing Champ

I'd love to try it, but since there's no .love or linux binary, I can't run it. Edit: I extracted the game files from the .exe, and created a .love. The game is pretty cool, though a bit easy. I did have a couple of issues, and I've fixed them. The first is that inputting a word had to be done with ...
by DanielPower
Sun Oct 22, 2017 2:25 am
Forum: General
Topic: love.load vs stuff at top of main.lua
Replies: 8
Views: 584

Re: love.load vs stuff at top of main.lua

I asked this on the IRC in the past, and was given the same answer as davisdude. But I've never really used love.event.quit('restart'), so I haven't tested the outcome. If restarting the game using that command does completely reset and run the main.lua again from scratch, what is the purpose of lov...
by DanielPower
Tue Sep 26, 2017 6:45 pm
Forum: Games and Creations
Topic: [Open Source Lib] My latest library, fastlighting
Replies: 10
Views: 920

Re: [Open Source Lib] My latest library, fastlighting

main.lua should not be called "Main.lua". This works on Windows because Windows does not have case sensitive file names, but causes it to fail on Linux and Mac. Also, posting this as "Open Source" really just means "Here's the source code, you can look at it". You'll want to release the code under a...
by DanielPower
Sun Aug 06, 2017 5:40 pm
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 153
Views: 20947

Re: ImGui LÖVE module

kbmonkey wrote:
Sat Aug 05, 2017 1:33 pm
Are there any build instructions?
After running `cmake`, you need to run `make`.
This will generate `imgui.so` on Linux/Mac, and `imgui.dll` on Windows.
On Linux, place imgui.so in

Code: Select all

~/.local/share/love
On Windows, place imgui.dll in Program Files/LOVE
Not sure about Mac.
by DanielPower
Wed Jul 26, 2017 3:37 pm
Forum: Libraries and Tools
Topic: Motion - An animation library with graphical editor
Replies: 1
Views: 772

Motion - An animation library with graphical editor

https://imgur.com/IPRldwGl.png I've been wanting to tackle Love2D's lack of graphical development tools for a while, and since I've started experimenting with the imgui interface library, the goal seems much more realistic. This is my first ever GUI application, and I must say that I'm pleased with...
by DanielPower
Sun Jul 16, 2017 5:29 am
Forum: Libraries and Tools
Topic: ImGui LÖVE module
Replies: 153
Views: 20947

Re: ImGui LÖVE module

I've written a file picker dialog using lfs and imgui. This was my first attempt at using imgui. The lack of documentation made it more difficult than it needed to be starting out, but once I got the hang of relating the C++ documentation to the Lua bindings, it went quite smoothly. I'm really happy...
by DanielPower
Fri Mar 17, 2017 5:24 pm
Forum: Support and Development
Topic: Movement Speed Fix Help
Replies: 9
Views: 802

Re: Movement Speed Fix Help

Can you post your code so we can see what is causing the issue?
by DanielPower
Fri Mar 17, 2017 4:41 pm
Forum: Support and Development
Topic: STI with Bump plugin
Replies: 11
Views: 998

Re: STI with Bump plugin

Read the Bump documentation. Bump is the collision library. You'll need to add your player to the world, and then all movements will have to be called through bump's move function. The bump github page gives examples on how to do all of this. Basically, bump has a list of all collidables. When you m...
by DanielPower
Fri Mar 17, 2017 4:27 pm
Forum: Support and Development
Topic: STI with Bump plugin
Replies: 11
Views: 998

Re: STI with Bump plugin

Well, do you have the bump library loaded? You'll need to get bump.lua, put it into your game's directory, and load it into your game using

Code: Select all

local bump = require('bump')
You can't use STI's bump plugin unless you have bump loaded.
by DanielPower
Fri Mar 17, 2017 11:10 am
Forum: Support and Development
Topic: STI with Bump plugin
Replies: 11
Views: 998

Re: STI with Bump plugin

If you need more complicated collisions, for example, using two collision boxes for a corner wall, or a smaller collision box for a thin wall, you can open the Tile Collision Editor in Tiled, and create collision boxes for an individual tile. If these collision boxes exist, STI's bump plugin will lo...