Sorry but one last question, why is it that when he rotates he jumps a bit? like, when he scales right he goes like a whole bunch of pixels in that direction? How can I fix this?
More as, how do I chose where I want him to flip from?
Search found 29 matches
- Tue Jun 12, 2012 1:58 am
- Forum: Support and Development
- Topic: Love2d Mirror/Flip Drawn Image.
- Replies: 7
- Views: 16402
- Tue Jun 12, 2012 1:52 am
- Forum: Support and Development
- Topic: Love2d Mirror/Flip Drawn Image.
- Replies: 7
- Views: 16402
Re: Love2d Mirror/Flip Drawn Image.
Thanks so much! You're awesome ![Very Happy :D](./images/smilies/ms-glad.png)
![Very Happy :D](./images/smilies/ms-glad.png)
- Tue Jun 12, 2012 1:32 am
- Forum: Support and Development
- Topic: Love2d Mirror/Flip Drawn Image.
- Replies: 7
- Views: 16402
Re: Love2d Mirror/Flip Drawn Image.
How exactly would I set this up? (In love.update) function love.load() love.graphics.setBackgroundColor(100, 149, 237) x = 50 y = 50 speed = 100 playerIdle = love.graphics.newImage("/player/player_idle.png") playerLeft = love.graphics.newImage("/player/player_walk_2.png") playerR...
- Tue Jun 12, 2012 12:56 am
- Forum: Support and Development
- Topic: Love2d Mirror/Flip Drawn Image.
- Replies: 7
- Views: 16402
Love2d Mirror/Flip Drawn Image.
I feel like this should be rather simple and I'm over-complicating it, but what's the easiest way to flip an image in love2d? Such as a platformer. The player is facing a right direction, then when you press the left key, his draw image gets flipped left. Such as updating in love.update.
thanks!![Very Happy :D](./images/smilies/ms-glad.png)
thanks!
![Very Happy :D](./images/smilies/ms-glad.png)
- Wed May 02, 2012 1:17 pm
- Forum: Libraries and Tools
- Topic: Whisper
- Replies: 19
- Views: 6630
Re: Whisper
Come on man, post the server! ![I'M SO HAPPY I COULD SHIT A RAINBOW RIGHT NOW :awesome:](./images/smilies/ms-awesome.png)
![I'M SO HAPPY I COULD SHIT A RAINBOW RIGHT NOW :awesome:](./images/smilies/ms-awesome.png)
- Wed Nov 30, 2011 8:00 pm
- Forum: Support and Development
- Topic: Animations in Love.
- Replies: 10
- Views: 12969
Re: Animations in Love.
Thanks bro, this is going to help some much.thelinx wrote:Here's something I made for someone in IRC a while back. It might help.
You are on my imaginary list of totally awesome people.
![I'M SO HAPPY I COULD SHIT A RAINBOW RIGHT NOW :awesome:](./images/smilies/ms-awesome.png)
- Wed Nov 30, 2011 11:55 am
- Forum: Support and Development
- Topic: Animations in Love.
- Replies: 10
- Views: 12969
Re: Animations in Love.
I would love to get some sort of sprite-sheet tutorial for animation in love if anyone has a good one.
- Wed Nov 30, 2011 12:37 am
- Forum: Support and Development
- Topic: Animations in Love.
- Replies: 10
- Views: 12969
Animations in Love.
So, I am trying to create a simple game with love, I would like to include animations in this game, unfortunately, the tutorial on the wiki for AnAl does not seem to want to work for me. I am not exactly sure how to get animations working in Love, does anyone have any sort of detailed resources or e...
- Fri Aug 05, 2011 8:54 pm
- Forum: Support and Development
- Topic: Love2D Rotate Towards Mouse.
- Replies: 12
- Views: 3250
Love2D Rotate Towards Mouse.
I'm fairly new to Love2D and i was wondering if there is any easy way, to get a simple graphic, (newImage) to rotate towards mouse.If you can't do it with a image, is there any other way? Such as in a top down shooter game, where the player aims at the mouse. I've searched an I really can't find any...