Search found 58 matches

by Dr.Tyler O.
Mon Nov 09, 2015 4:47 pm
Forum: Support and Development
Topic: image is displayed at wrong location
Replies: 5
Views: 754

Re: image is displayed at wrong location

Doctory wrote:fixed it nvm
Was my post the answer or was it something else?
by Dr.Tyler O.
Mon Nov 09, 2015 4:35 pm
Forum: Support and Development
Topic: image is displayed at wrong location
Replies: 5
Views: 754

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 objects....
by Dr.Tyler O.
Mon Nov 09, 2015 4:28 pm
Forum: Support and Development
Topic: Resizing ImageData
Replies: 3
Views: 781

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?
by Dr.Tyler O.
Tue Aug 04, 2015 11:26 am
Forum: Support and Development
Topic: [Solved]io.write() Issues
Replies: 3
Views: 477

Re: io.write() Issues

davisdude wrote:Try putting io.flush after io.write, that worked for me.
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?
by Dr.Tyler O.
Tue Aug 04, 2015 10:42 am
Forum: Support and Development
Topic: [Solved]io.write() Issues
Replies: 3
Views: 477

[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 ...
by Dr.Tyler O.
Tue Jul 28, 2015 2:43 pm
Forum: Support and Development
Topic: [Solved]Scaling
Replies: 1
Views: 292

[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...
by Dr.Tyler O.
Sun Jul 05, 2015 7:11 pm
Forum: Support and Development
Topic: [Solved]Strange Console Output
Replies: 9
Views: 1334

[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 http://i.imgur.com/8bIPpG0.png The purpose of this is for the sake of updating the console to show a percentage without flooding the console with a wa...
by Dr.Tyler O.
Sat Jul 04, 2015 10:05 pm
Forum: Support and Development
Topic: [Solved]Use a file dropped onto an application
Replies: 2
Views: 393

Re: Use a file dropped onto an application

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.
Alright, thank you.
by Dr.Tyler O.
Sat Jul 04, 2015 8:50 pm
Forum: Support and Development
Topic: [Solved]Use a file dropped onto an application
Replies: 2
Views: 393

[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?
by Dr.Tyler O.
Sun Jun 21, 2015 12:28 pm
Forum: Support and Development
Topic: [Solved]Collision
Replies: 4
Views: 700

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...