Search found 47 matches

by poorenglish
Sat Feb 04, 2012 8:26 am
Forum: General
Topic: 『QT』about click mouse to select the sprite(image)
Replies: 16
Views: 5559

Re: 『QT』about click mouse to select the sprite(image)

Sorry,late to replay,I enjoy it.
When I use it on animation,it seems need modify on the AnAL.lua?
by poorenglish
Fri Feb 03, 2012 10:09 am
Forum: General
Topic: 『QT』about click mouse to select the sprite(image)
Replies: 16
Views: 5559

Re: 『QT』about click mouse to select the sprite(image)

OK,thks!I'll try it
by poorenglish
Fri Feb 03, 2012 9:03 am
Forum: General
Topic: 『QT』about click mouse to select the sprite(image)
Replies: 16
Views: 5559

『QT』about click mouse to select the sprite(image)

I click the mouse hope to select the sprite(image,animation) on the program. Method 1,get the location of the mouse , the sprite(image) location and the width and height,to judge whether the mouse's postion is in the image.OK! Continue,the image is rectangle,but the sprite is not the rectangle,some ...
by poorenglish
Sat Jun 11, 2011 2:02 pm
Forum: General
Topic: The image of the save the screenshot is reversal
Replies: 2
Views: 664

The image of the save the screenshot is reversal

screenshot =love.graphics.newScreenshot()
filedate = love.image.newEncodedImageData(screenshot,"tga")
success = love.filesystem.write( "image.tga", filedate)
found the image.tga is reversal,change the image format to "bmp",also the image.bmp is reversal.
Is this a issue or by design?
THK
by poorenglish
Thu Mar 03, 2011 1:58 pm
Forum: General
Topic: don't use lua's module function
Replies: 9
Views: 1883

Re: don't use lua's module function

FYI Changes since Lua 5.1 Here are the main changes introduced in Lua 5.2. The reference manual lists the incompatibilities that had to be introduced. Main changes yieldable pcall and metamethods new _ENV scheme ephemeron tables new library for bitwise operations light C functions emergency garbage ...
by poorenglish
Sat Aug 21, 2010 6:36 am
Forum: General
Topic: How did you hear about Löve?
Replies: 29
Views: 4323

Re: How did you hear about Löve?

Almost wrote:Google search for 2D game engine from myself as well.
Yes,me too
And also add keyword lua,I get this one
by poorenglish
Sat Aug 07, 2010 9:55 am
Forum: General
Topic: Run Love at the command line
Replies: 4
Views: 685

Re: Run Love at the command line

OK,thank you;
after add quotation marks on the path,it will be OK.
by poorenglish
Thu Aug 05, 2010 1:45 pm
Forum: General
Topic: Run Love at the command line
Replies: 4
Views: 685

Run Love at the command line

In windows XP
I run the love from command line,I use the demo for test,
error
boot.lua 285:No code to run
Thank you!!!
fail.JPG
fail.JPG (147.3 KiB) Viewed 685 times
by poorenglish
Sun Jul 25, 2010 1:41 pm
Forum: General
Topic: a question about love.graphics.newImage( filename )
Replies: 14
Views: 8732

Re: a question about love.graphics.newImage( filename )

You can place your image in "C:\Users\NameOfUser\AppData\Roaming\LOVE\YourGame" or i your project folder. Up to you really. But you still have to distribute it, as bartbes pointed out. Putting things like that in the .love make things easier both for the lover and the gamer. I know it will be easie...
by poorenglish
Sat Jul 24, 2010 2:19 pm
Forum: General
Topic: a question about love.graphics.newImage( filename )
Replies: 14
Views: 8732

Re: a question about love.graphics.newImage( filename )

Because love has its own filesystem, which consist of the .love (or game folder) and the save dir, so everything is relative to that (and paths are written unix-style btw). So,I can't load image file from directory which is not relative the .love in the windows XP? It will make the .love too bigger...