Search found 9 matches

by ForeverDevv
Mon Oct 06, 2014 2:14 pm
Forum: General
Topic: How would I go about this?
Replies: 4
Views: 3269

Re: How would I go about this?

Upload your love file and we can help you. We can make all the suggestions in the world but without the source its a waste of time. Here is my code. It's kind of messy considering I did a lot of playing around with it --[[ Mandelbrot set: Iterate through the following function fc(z) z^2 + c Case1, ...
by ForeverDevv
Mon Oct 06, 2014 5:11 am
Forum: General
Topic: How would I go about this?
Replies: 4
Views: 3269

How would I go about this?

I'm working on a Mandelbrot fractal generator. It generates a certain number of pixels on the screen, then iterates through a function to produce color. Once the whole screen is filled with pixels, I use the screenshot function and create an image of that screenshot. Next, I stop drawing each pixel ...
by ForeverDevv
Sun Sep 14, 2014 3:02 pm
Forum: Support and Development
Topic: Error when mirroring image?
Replies: 5
Views: 5227

Re: Error when mirroring image?

Actually I just figured it out. Thanks for the help!
by ForeverDevv
Sun Sep 14, 2014 2:56 pm
Forum: Support and Development
Topic: Error when mirroring image?
Replies: 5
Views: 5227

Re: Error when mirroring image?

Ah, okay. Here is my code. --setImageSize just set's an image's size in pixels. (returns scale x and y) function player.draw() love.graphics.draw(player.image, player.x, player.y, 0, setImageSize(player.image, player.sx * flip, player.sy), flip == -1 and player.sx or nil) end --inside of player.move...
by ForeverDevv
Sun Sep 14, 2014 6:36 am
Forum: Support and Development
Topic: Error when mirroring image?
Replies: 5
Views: 5227

Error when mirroring image?

I mirrored an image for when the player walks backwards. This causes the image to appear outside of the positioning of the player, which messes up the collision detection.

Is there any way to fix this?
by ForeverDevv
Sun Sep 14, 2014 4:06 am
Forum: Support and Development
Topic: Is it possible to set the size of an image?
Replies: 2
Views: 2473

Re: Is it possible to set the size of an image?

Ah, it worked.

Thank you very much!
by ForeverDevv
Sun Sep 14, 2014 3:12 am
Forum: Support and Development
Topic: Is it possible to set the size of an image?
Replies: 2
Views: 2473

Is it possible to set the size of an image?

I want to create an image and edit it's size (I don't want to use scale factor, I want to set it to a certain size in pixels)

Is this possible?
by ForeverDevv
Sun Sep 14, 2014 1:44 am
Forum: General
Topic: My game won't run correctly
Replies: 5
Views: 3977

Re: My game won't run correctly

Wow, I didn't realize I had an old version. I downloaded the updated one and it worked, thank you!

To be honest, I have no idea how I downloaded an old version.
by ForeverDevv
Sat Sep 13, 2014 10:22 pm
Forum: General
Topic: My game won't run correctly
Replies: 5
Views: 3977

My game won't run correctly

I'm new to Love2d. I just installed it on my Mac. Whenever I run my game, the default game runs, not the one I created (the driving tank saying 'thanks for using LOVE') I've tried everything. I've dragged my game folder onto the Love application, I've saved it as a .love file, nothing is working. Ca...