Search found 80 matches
- Sun Jan 27, 2013 1:17 pm
- Forum: Support and Development
- Topic: Looping audio problem
- Replies: 20
- Views: 9529
Re: Looping audio problem
You might have to use headphones to hear it, it's a bit lower than I wanted it. When I exported it with Audacity, I only got an option of quality, 1-10, so I chose 10. VLC says it is 499 kb/s... whoah. The audio file is about 3 seconds long, don't know what to suggest if this one doesn't work. loop...
- Sun Jan 27, 2013 11:52 am
- Forum: Libraries and Tools
- Topic: Textured Polygons for All!
- Replies: 144
- Views: 101960
Re: Textured Polygons for All!
Sure, thanks. Gotta try that.xXxMoNkEyMaNxXx wrote:@IndieKid If you can get the positions on screen, it will put an image on it, so it should already support that... This basically replaces the part where you call love.graphics.polygon with a funtion that will draw the polygon and put an image on it.
- Sun Jan 27, 2013 8:59 am
- Forum: Libraries and Tools
- Topic: Textured Polygons for All!
- Replies: 144
- Views: 101960
Re: Textured Polygons for All!
And the Raycasting of floors and ceilings is waiting for texture support.
- Sun Jan 27, 2013 8:56 am
- Forum: Support and Development
- Topic: Looping audio problem
- Replies: 20
- Views: 9529
Re: Looping audio problem
Ogg seems to work very well for me (now it's all fine). If your game is crashing even with all audio disabled, perhaps the root of the problem is somewhere there? Have you tried playing your oggs in a new empty project? I mean, the game crashes sometimes and I can't get why. No when audio disabled ...
- Sat Jan 26, 2013 10:45 pm
- Forum: Support and Development
- Topic: Looping audio problem
- Replies: 20
- Views: 9529
Re: Looping audio problem
Hey, I also use OGG that I created on Mac. It works awful. I have disabled audio for my game, because it had ultimate-lags. Do you know what can cause that? The game also crashes randomly. By the way I used to have a lot of audio files in it.
- Sat Jan 26, 2013 9:58 pm
- Forum: Support and Development
- Topic: Deleting all created files
- Replies: 2
- Views: 1088
Re: Deleting all created files
You can use love.filesystem.enumerate to get a list of all files in a directory. Can you figure it out from there, or do you need an example? No, I got the idea. I have to use enumerate and then remove all stuff step-by-step. Thanks. And... is there a way to rename file or folder? I can rewrite all...
- Sat Jan 26, 2013 9:23 pm
- Forum: Support and Development
- Topic: Deleting all created files
- Replies: 2
- Views: 1088
Deleting all created files
I wonder how can I remove all files that were created before? I know that love.filesystem.remove() can't remove folder that got something in it. Any advices?
- Thu Jan 24, 2013 10:23 pm
- Forum: Support and Development
- Topic: Help with collision!
- Replies: 10
- Views: 5544
Re: Help with collision
Usually coordinates of player are linked to grid's x and y. But in your game player is linked to pixel grid. Anyway... In your code there are 2 variables that shows the width and height of a tile. They both are equal to 50. What I reccomend you to do is creating a new variable tileSize or tileSide. ...
- Wed Jan 23, 2013 8:39 am
- Forum: Support and Development
- Topic: Help with collision!
- Replies: 10
- Views: 5544
Re: Help with collision!
You have player connected to pixel-grid and that's bad. Connect him to grid-map, and then check if movement is allowed.florodude wrote:http://www.mediafire.com/?a12foaiehgq1ika
- Mon Jan 21, 2013 7:25 am
- Forum: Support and Development
- Topic: How to know if the mouse is offscreen?
- Replies: 4
- Views: 1872
Re: How to know if the mouse is offscreen?
I'm making a dinky paint program where the paint color cycles through the rainbow, and I was wondering if there was any way to know if the user's mouse has left the window. It isn't in the best interest of the program to have a square of color cycling at the edge of my window, and I'd like to pause...