Search found 8 matches
- Thu Jan 14, 2016 2:49 pm
- Forum: Support and Development
- Topic: Skewing/Shearing and Canvases
- Replies: 6
- Views: 5156
Re: Skewing/Shearing and Canvases
I cant figure out how to use shear to achieve this effect though. Since I cant just skew it vertically from the center. I'm missing something. It is not possible to create a perspective effect using shearing. When you shear an image, then parallel lines always stay parallel. Is there another way to...
- Thu Jan 14, 2016 8:06 am
- Forum: Support and Development
- Topic: Skewing/Shearing and Canvases
- Replies: 6
- Views: 5156
Re: Skewing/Shearing and Canvases
love.graphics.shear should work with and without canvas'. Are you sure you know how to use it? Or do you experience the bug from the wiki page? Nvm what I just said. I fixed the canvas not working. I cant figure out how to use shear to achieve this effect though. Since I cant just skew it verticall...
- Wed Jan 13, 2016 11:49 pm
- Forum: Support and Development
- Topic: Skewing/Shearing and Canvases
- Replies: 6
- Views: 5156
Skewing/Shearing and Canvases
Hey, I'm trying to skew a background with objects that are updating each frame. I thought about drawing them on a canvas and then using graphics.shear on it but the canvas remains static. Is there a way to apply any type of translation effect on multiple objects while still updating them? Here is a ...
- Wed Jan 13, 2016 9:11 am
- Forum: Support and Development
- Topic: Need a bit of help with love.touch
- Replies: 2
- Views: 1794
Need a bit of help with love.touch
I am adding mobile support to a game I am making. I can't figure out how exactly love.touch and ID's work. On PC I have it so that when right is pressed, character moves right and when left is pressed, character moves left. I would like to recreate this with touch events, when left side and right si...
- Fri Jan 08, 2016 10:25 pm
- Forum: Support and Development
- Topic: Need help with collisions. STI and bump
- Replies: 6
- Views: 4794
Re: Need help with collisions. STI and bump
world:move will move an object to a specified x and y. If the object collides along the way it will return the new x and y along with a collision list (cols) I then get the normal so that I can edit my velocity correctly. The rest is just regular movement code. I apologize if I explained poorly. I'...
- Fri Jan 08, 2016 4:20 pm
- Forum: Support and Development
- Topic: Need help with collisions. STI and bump
- Replies: 6
- Views: 4794
Re: Need help with collisions. STI and bump
world:move will move an object to a specified x and y. If the object collides along the way it will return the new x and y along with a collision list (cols) I then get the normal so that I can edit my velocity correctly. The rest is just regular movement code. I apologize if I explained poorly. I'...
- Fri Jan 08, 2016 8:56 am
- Forum: Support and Development
- Topic: Need help with collisions. STI and bump
- Replies: 6
- Views: 4794
Re: Need help with collisions. STI and bump
https://github.com/Bobbyjoness/Boredom/blob/master/main.lua Here is a small example. To get it to work in 0.10.0 you just have to change the "l" in mousepressed to "1". Might I get a bit of explanation on this part of the code. I know it handles collisions but how? player.xvel =...
- Thu Jan 07, 2016 11:25 pm
- Forum: Support and Development
- Topic: Need help with collisions. STI and bump
- Replies: 6
- Views: 4794
Need help with collisions. STI and bump
Hello so I am using STI to load a tiled map and bump for collisions. Sadly STI's bump plugin documentation is none. I did a bunch of guesswork and achieved nothing. Then I stumbled upon the demo in the attachments and tried using parts of its code but to no avail. Can someone please help me understa...