Page 1 of 5
examples.love
Posted: Sun Feb 07, 2016 11:46 am
by monolifed
I am not sure if someone else did it before. I updated this to 0.10.0.
Re: examples.love
Posted: Sun Feb 07, 2016 5:25 pm
by alberto_lara
Hey, this is really useful, thanks!
Re: examples.love
Posted: Sun Feb 07, 2016 7:54 pm
by monolifed
Thank you. While updating this I noticed that the new print function is really convenient.
It was easy to draw lua code after finding a lexer
Re: examples.love
Posted: Sun Feb 07, 2016 8:13 pm
by bobbyjones
Maybe add the new examples.love to the wiki
Re: examples.love
Posted: Sun Feb 07, 2016 9:45 pm
by pgimeno
+1 for adding it to the wiki.
Can the typos be fixed first? "Dispay modes" (example 0104) and "To return the the example..." (on the right)
Re: examples.love
Posted: Mon Feb 08, 2016 10:49 am
by D0NM
ingsoc451 wrote:I am not sure if someone else did it before. I updated this to 0.10.0.
thx!
Re: examples.love
Posted: Mon Feb 08, 2016 11:31 am
by zikesha93
Is there an example for love.video included? Its sort of a new thing.
Re: examples.love
Posted: Mon Feb 08, 2016 3:03 pm
by monolifed
I fixed some typos and ,hopefully, that mouse callbacks example
Also added a video example.
Re: examples.love
Posted: Mon Feb 08, 2016 6:16 pm
by D0NM
ingsoc451 wrote:I fixed some typos and ,hopefully, that mouse callbacks example
Also added a video example.
Great, You've fixed the mouse callbacks.
But when you play VIDEO and press ESC
the sound playback doesn't stop.
Re: examples.love
Posted: Mon Feb 08, 2016 7:00 pm
by monolifed
At least it doesn't loop
You can add
Code: Select all
function love.keypressed(k)
if k == "escape" then video:pause() end
end