Search found 702 matches

by Ref
Fri Mar 30, 2018 9:01 pm
Forum: General
Topic: Mouse versus Touch
Replies: 4
Views: 3048

Re: Mouse versus Touch

You're right but it just seemed strange that a value would continue to be returned when there was no longer any contact. With the mouse, the mouse is still actively over the selected area while the finger is no longer on the screen - mx, my = love.mouse.getPosition( ) returning values even when no c...
by Ref
Fri Mar 30, 2018 3:32 pm
Forum: General
Topic: Mouse versus Touch
Replies: 4
Views: 3048

Mouse versus Touch

Have written a simple function to detect mouse interaction with a given area of the screen. listbox.contact = function( x, y, w, h ) -- mouse over/clicked rectangle local contact, hover local mx, my = love.mouse.getPosition( ) if mx > x and my > y and mx < x+w and my < y+h then hover = true if love....
by Ref
Fri Mar 23, 2018 2:08 am
Forum: Support and Development
Topic: Share a Shader!
Replies: 328
Views: 540034

Re: Share a Shader!

The mysteries of shaders. Don't have a clue as to how this shader works!
by Ref
Thu Mar 15, 2018 3:17 pm
Forum: Support and Development
Topic: Rope Physics Help
Replies: 19
Views: 14720

Re: Rope Physics Help

I always liked Micha's rope simulation.
Contains a lot of interesting code.
Best
by Ref
Sun Dec 17, 2017 6:48 pm
Forum: Support and Development
Topic: rotation question
Replies: 20
Views: 12634

Re: rotation question

Something like this?
by Ref
Sun Dec 17, 2017 6:40 pm
Forum: Support and Development
Topic: rotation question
Replies: 20
Views: 12634

Re: rotation question

Something like this?
Ops, wrong file.
by Ref
Thu Aug 17, 2017 9:24 pm
Forum: Support and Development
Topic: [SOLVED] Error: Attempt to call upvalue (a nil value)
Replies: 2
Views: 5447

Re: Error: Attempt to call upvalue (a nil value)

Code: Select all

local Explosion require 'entities.explosion'
No '=' so no Explosion
by Ref
Mon May 29, 2017 1:34 am
Forum: Support and Development
Topic: Unable to play videos on LÖVE
Replies: 11
Views: 9623

Re: Unable to play videos on LÖVE

See attached file.
Video plays on Love 10.1 but audio is out of sync.
Video does not play but audio does on Love.10.2.
System Windows 7
Is there an example of a video that does play correctly?
by Ref
Tue May 16, 2017 2:57 am
Forum: Support and Development
Topic: Simulated 3D sprite rotation in 2D
Replies: 4
Views: 5069

Re: Simulated 3D sprite rotation in 2D

Maybe you could modify this.