I've been using love-imgui for the past few months and it's been working fine for me. Have you built the binaries on your computer? What's your OS? (NewFrame() takes no arguments)
Search found 445 matches
- Mon Sep 10, 2018 1:24 pm
- Forum: Support and Development
- Topic: mouse_enter signals like godot?
- Replies: 10
- Views: 8635
- Sun Sep 09, 2018 3:49 pm
- Forum: Support and Development
- Topic: mouse_enter signals like godot?
- Replies: 10
- Views: 8635
- Sat Sep 08, 2018 12:32 pm
- Forum: Support and Development
- Topic: mouse_enter signals like godot?
- Replies: 10
- Views: 8635
Re: mouse_enter signals like godot?
I think you've answered the question yourself.
Here's some pseudo-code that would implement your idea (which is the simplest way to achieve what you want):
Here's some pseudo-code that would implement your idea (which is the simplest way to achieve what you want):
Code: Select all
update {
for each object {
if object:is_on_screen() and object:is_overlap(mouse) {
object:mouse_entered()
}
}
}
- Fri Aug 24, 2018 12:07 pm
- Forum: General
- Topic: How do you specify the entry file?
- Replies: 8
- Views: 5662
Re: How do you specify the entry file?
LÖVE automatically reads a main.lua file at the root, but nothing prevents you from require-ing any other file from there. You could go for an architecture like this: / main.lua lib/ app1/ main.lua app2/ main.lua and then require your libraries from the main.lua of each app. just my 2 cents
- Mon Jul 16, 2018 2:57 pm
- Forum: Support and Development
- Topic: [Box2D] Polygon triangulation - area > b2_epsilon
- Replies: 2
- Views: 2632
Re: [Box2D] Polygon triangulation - area > b2_epsilon
If anyone is looking for a quick solution, in case your polygons are static you can use love.physics.newChainShape (which entirely removes the need for triangulation / order check).
Else you could tessellate and proceed like HC, which merges triangles together.
Else you could tessellate and proceed like HC, which merges triangles together.
- Mon Jul 16, 2018 2:33 pm
- Forum: Support and Development
- Topic: [Box2D] Polygon triangulation - area > b2_epsilon
- Replies: 2
- Views: 2632
[Box2D] Polygon triangulation - area > b2_epsilon
Hello everyone, I'm trying to make a level editor where users can create polygons to be placed in a Box2D world. Because there are Bézier curves involved, there can be hundreds of vertices on a single polygon. love.physics.newPolygonShape is limited to 8 vertices, so I decided to use love.math.trian...
- Mon Jul 16, 2018 10:02 am
- Forum: Libraries and Tools
- Topic: forma: a toolkit for the manipulation of shapes on a 2D grid
- Replies: 7
- Views: 10925
Re: forma: a toolkit for the manipulation of shapes on a 2D grid
Great work! :-)
- Sun Jul 01, 2018 2:26 pm
- Forum: General
- Topic: SAT collision
- Replies: 2
- Views: 3360
- Mon Jun 18, 2018 8:21 pm
- Forum: Ports
- Topic: iOS Side scrolling port
- Replies: 2
- Views: 34809
Re: iOS Side scrolling port
Hello, you need to configure your project in Xcode. Set the orientation to "landscape".
https://stackoverflow.com/questions/358 ... wift-xcode
https://stackoverflow.com/questions/358 ... wift-xcode
- Wed May 30, 2018 3:28 pm
- Forum: General
- Topic: Searching for an awesome logo for the löve2d documentation
- Replies: 5
- Views: 6057
Re: Searching for a awesome logo for the löve2d documentation
I really like the current LÖVE logo (split circle with a white heart inside) - you can find the official logos on the wiki https://love2d.org/wiki/L%C3%B6ve_Logo_Graphics