Search found 40 matches

by girng
Tue Sep 11, 2018 3:08 am
Forum: Support and Development
Topic: mouse_enter signals like godot?
Replies: 10
Views: 3061

Re: mouse_enter signals like godot?

And builds for 11.1, 64x windows are available here: https://github.com/camchenry/love-imgui/releases/tag/master-latest ty. ok. i'm going to go back to love2d again ( i didn't delete my folder ). i have working tilemap, collision (with STI) and am using the hump camera (helps a lot). already got my...
by girng
Mon Sep 10, 2018 9:13 am
Forum: Support and Development
Topic: mouse_enter signals like godot?
Replies: 10
Views: 3061

Re: mouse_enter signals like godot?

the latest imgui doesn't work with love2d, What makes you say this? https://github.com/slages/love-imgui/issues/27 and that's since may :P i'm going back to godot. i gave it try but imo, a proper ui system like godot would be amazing for this love2d project. ty all for the help since i registered. ...
by girng
Sat Sep 08, 2018 10:00 pm
Forum: Support and Development
Topic: mouse_enter signals like godot?
Replies: 10
Views: 3061

Re: mouse_enter signals like godot?

Another thread had a gem of a quote, but let me just say it outright; if you can't tell what the issue is with your code in front of you, how do you suppose we help you without seeing it? :3 I'm assuming either that library's old and buggy, or you're doing something you shouldn't, like calling :new...
by girng
Sat Sep 08, 2018 9:33 pm
Forum: Support and Development
Topic: mouse_enter signals like godot?
Replies: 10
Views: 3061

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): update { for each object { if object:is_on_screen() and object:is_overlap(mouse) { object:mouse_entered() } } } thanks Ulydev. i am using hump ...
by girng
Sat Sep 08, 2018 10:08 am
Forum: Support and Development
Topic: How can I clip with love.graphics.draw()
Replies: 6
Views: 2322

Re: How can I clip with love.graphics.draw()

Welcome! You can do that with love.graphics.setScissor : love.graphics.setScissor(10, 10, 100, 100) love.graphics.draw(image, 10, 10) love.graphics.setScissor() -- disable the clipping omg. ty sir was searching all over for this. this works perfectly for health globes! man, i'm really starting to l...
by girng
Fri Sep 07, 2018 7:31 pm
Forum: Support and Development
Topic: Share a Shader!
Replies: 321
Views: 162646

Re: Share a Shader!

I have a shader that works in Godot, can I still use it in love2d?

It basically just creates an outline around a sprite (of a certain color)
by girng
Fri Sep 07, 2018 7:20 pm
Forum: Support and Development
Topic: mouse_enter signals like godot?
Replies: 10
Views: 3061

mouse_enter signals like godot?

anything like this, for objects, sprites, etc? for example, i want to highlight an object with a shader i made (attach it to sprite) on mousehover, and mouse_exit, disable shader the shader basically makes the sprite have an outline (looks like someone is selecting it) i can prob convert mozilla's i...
by girng
Fri Sep 07, 2018 7:17 pm
Forum: Support and Development
Topic: vscode not working with love2d
Replies: 2
Views: 1240

Re: vscode not working with love2d

ty sundays, fixed it, helped alot
by girng
Fri Sep 07, 2018 8:13 am
Forum: Support and Development
Topic: [Tutorial] Physics
Replies: 6
Views: 3402

Re: [Tutorial] Physics

Thank you for this. Helped a lot =]
by girng
Fri Sep 07, 2018 5:43 am
Forum: Support and Development
Topic: vscode not working with love2d
Replies: 2
Views: 1240

vscode not working with love2d

i installed the love launcher, and i did alt-l

and i get:

Image

any idea?

ty in advance!