Was my post the answer or was it something else?Doctory wrote:fixed it nvm
Search found 58 matches
- Mon Nov 09, 2015 4:47 pm
- Forum: Support and Development
- Topic: image is displayed at wrong location
- Replies: 5
- Views: 3512
Re: image is displayed at wrong location
- Mon Nov 09, 2015 4:35 pm
- Forum: Support and Development
- Topic: image is displayed at wrong location
- Replies: 5
- Views: 3512
Re: image is displayed at wrong location
It looks to me like you're experiencing an issue that I had when I first started using Love2D. Take a look at this https://love2d.org/forums/viewtopic.php?f=4&t=78764. That was the issue I had. It turned out that the problem was that I was forgetting to adjust the origin offset of the drawn obje...
- Mon Nov 09, 2015 4:28 pm
- Forum: Support and Development
- Topic: Resizing ImageData
- Replies: 3
- Views: 3389
Resizing ImageData
I've been looking everywhere and haven't found any information regarding it. I'm looking to resize imagedata and then encode it, not draw it on the screen. Can Love2D accomplish this?
- Tue Aug 04, 2015 11:26 am
- Forum: Support and Development
- Topic: [Solved]io.write() Issues
- Replies: 3
- Views: 2565
Re: io.write() Issues
Your solution works but I'm still curious, why do I need to close the file in order to write to it without closing the application?davisdude wrote:Try putting io.flush after io.write, that worked for me.
- Tue Aug 04, 2015 10:42 am
- Forum: Support and Development
- Topic: [Solved]io.write() Issues
- Replies: 3
- Views: 2565
[Solved]io.write() Issues
First of all, I am aware this doesn't deal directly with love2d but I hope that can be overlooked. I am having issues with the io.write() function. When I attempt to call io.write() to an output file, the information is not written to the file until the application is closed. The program manages to ...
- Tue Jul 28, 2015 2:43 pm
- Forum: Support and Development
- Topic: [Solved]Scaling
- Replies: 1
- Views: 1631
[Solved]Scaling
First of all, I apologize if there are already topics that answer this question. I have looked but I didn't see anything that I thought could help provide a solution to my problem. Anyway, the issue is that, when using love.graphics.scale(), I want to be able to scale the graphics without changing t...
- Sun Jul 05, 2015 7:11 pm
- Forum: Support and Development
- Topic: [Solved]Strange Console Output
- Replies: 9
- Views: 4781
[Solved]Strange Console Output
When I execute this section of code the console returns strange characters. function love.load() for i = 1, 100 do os.execute("cls") print(i) end end https://love2d.org/imgmirrur/8bIPpG0.png The purpose of this is for the sake of updating the console to show a percentage without flooding t...
- Sat Jul 04, 2015 10:05 pm
- Forum: Support and Development
- Topic: [Solved]Use a file dropped onto an application
- Replies: 2
- Views: 2009
Re: Use a file dropped onto an application
Alright, thank you.slime wrote:This isn't possible with the LÖVE API in 0.9.x. In 0.10.0 you'll be able to use new love.filedropped and love.directorydropped event callbacks to detect and handle drag-and-drop situations with files / folders.
- Sat Jul 04, 2015 8:50 pm
- Forum: Support and Development
- Topic: [Solved]Use a file dropped onto an application
- Replies: 2
- Views: 2009
[Solved]Use a file dropped onto an application
I've noticed some forms of software allow you to drop a file onto the application, it opens the file inside the application, and uses it some way. How can I accomplish this with Love2D?
- Sun Jun 21, 2015 12:28 pm
- Forum: Support and Development
- Topic: [Solved]Collision
- Replies: 4
- Views: 3536
Re: Collision
Try changing your equality expressions on this line to inequality: if player.x + player.w > v.x and player.x < v.x + v.w and player.y + player.h > v.y and player.y < v.y + v.h then When checking if the player is against the wall, the collision detection satisfies still after the collision is resolv...