Search found 52 matches

by iemfi
Thu Apr 05, 2012 5:16 pm
Forum: Support and Development
Topic: Love 0.8 Full screen mode breaking getX()?
Replies: 4
Views: 1272

Re: Love 0.8 Full screen mode breaking getX()?

Aha, love.event.pump(), Thanks! You should put that in the wiki for mouse.setVisible.
by iemfi
Thu Apr 05, 2012 4:29 pm
Forum: Support and Development
Topic: Love 0.8 Full screen mode breaking getX()?
Replies: 4
Views: 1272

Re: Love 0.8 Full screen mode breaking getX()?

I'm getting it on windows 7, mouse jumps to the middle of the screen when you set the cursor to visible. I've worked around it by drawing the cursor manually all the time instead.
by iemfi
Thu Apr 05, 2012 3:53 pm
Forum: Support and Development
Topic: High processor usage drawing forms on mouse position
Replies: 8
Views: 4221

Re: High processor usage drawing forms on mouse position

Is that all the code there is? Perhaps the problem is somewhere else?
by iemfi
Thu Apr 05, 2012 12:07 pm
Forum: Support and Development
Topic: Love 0.8 Full screen mode breaking getX()?
Replies: 4
Views: 1272

Love 0.8 Full screen mode breaking getX()?

Am I doing something wrong or does love.mouse.getX() and love.mouse.getY() get the wrong values when in full screen mode? I switch between a custom cursor and the default cursor, in windowed mode getX and getY get the correct coordinates but in full screen mode it seems to be offset by around 200 pi...
by iemfi
Thu Apr 05, 2012 9:34 am
Forum: Support and Development
Topic: Music not working & cannot place squares
Replies: 19
Views: 13241

Re: Music not working & cannot place squares

It doesn't work because you are calling love.graphics.draw from mousepressed. objects={} objects.rectangles={} function love.draw() for i,v in ipairs(objects.rectangles) do --we loop through every entry in the objects.rectangle table love.graphics.rectangle("line", 10, 10, v[1], v[2]) --dr...
by iemfi
Tue Apr 03, 2012 4:09 pm
Forum: Games and Creations
Topic: Zipperippers Showcase
Replies: 60
Views: 35812

Re: Zipperippers Showcase

http://www.box2d.org/manual.html#_Toc258082972 is a good resource. I think what you did is correct, you have to destroy the fixture instead of the shape in 0.8.0 and if you destroy the body you don't have to destroy the fixture seperatedly.
by iemfi
Tue Apr 03, 2012 10:38 am
Forum: Support and Development
Topic: question about LOVE objects (userdata like “source” or “ima
Replies: 4
Views: 1712

Re: question about LOVE objects (userdata like “source” or

Lua handles garbage collection for you, as long as nothing refers to the object it will get erased automatically. http://www.lua.org/manual/5.1/manual.html#2.10 I think its still probably a good idea to have a destroy() function for any classes you make which deletes itself from anything which refer...
by iemfi
Tue Apr 03, 2012 10:22 am
Forum: Libraries and Tools
Topic: Bridge Building prototype 0.1
Replies: 22
Views: 15811

Re: Bridge Building prototype

It uses Love 0.80, you can download that at www.love2d.org/builds.
by iemfi
Tue Apr 03, 2012 12:14 am
Forum: Libraries and Tools
Topic: Bridge Building prototype 0.1
Replies: 22
Views: 15811

Re: Bridge Building prototype

Oh, that's my fault, it takes some time to make and draw the map which goes down some way (P key turns off the lighting for now). Need to make a main screen and loading screen.
by iemfi
Mon Apr 02, 2012 11:27 pm
Forum: Libraries and Tools
Topic: Bridge Building prototype 0.1
Replies: 22
Views: 15811

Re: Bridge Building prototype

I'll edit the post to include slightly more detailed instructions. I guess it's hard when my buttons aren't even very button like.