Search found 16 matches

by geocine
Sun Aug 12, 2012 5:24 pm
Forum: Support and Development
Topic: Attaching multiple shapes to fixture and setting an image
Replies: 10
Views: 6818

Attaching multiple shapes to fixture and setting an image

I created a code from this example. https://love2d.org/wiki/Tutorial:Physics I want to replace the ball object so I created a pig object, I used a program to compute multiple polygon shapes that will be used for my particular object. Here is my image. rXc3s.png Here is my code imagePig = love.graphi...
by geocine
Sat Aug 11, 2012 5:57 pm
Forum: Support and Development
Topic: [Help] Basic Body Shape and Collision
Replies: 5
Views: 1627

Re: [Help] Basic Body Shape and Collision

Hi Omar on the other thread you sent me a tool called texturepacker for the spritesheets. On the same site I saw a tool for this kind of stuff a 'physics editor'. I don't know if it's appropriate to ask if I could use this or some similar tool to this. According to the description it could export on...
by geocine
Sat Aug 11, 2012 3:12 pm
Forum: Support and Development
Topic: [Help] Easy way of creating quads
Replies: 4
Views: 2221

Re: [Help] Easy way of creating quads

Yeah, I guess there are. If you're dealing wih a spritesheet with similar-sized sprites, you can easily create your squads, using iterative control structures. For loops, for instance. Or better, use anim8 or AnAL . If considering a specific spritesheet, the images do not have the same sizes, well ...
by geocine
Sat Aug 11, 2012 7:30 am
Forum: Support and Development
Topic: [Help] Easy way of creating quads
Replies: 4
Views: 2221

[Help] Easy way of creating quads

Hi, is there an easy way of creating quads from sprite sheets? Is there an existing tool for computing the values for the quad parameters, without actually counting the pixels yourself? I am asking these because I see games with irregular sprites on a sprite sheet, some have big images some have lar...
by geocine
Sat Aug 11, 2012 6:44 am
Forum: Support and Development
Topic: [Help] Basic Body Shape and Collision
Replies: 5
Views: 1627

Re: [Help] Basic Body Shape and Collision

Hi regarding the body shape I am talking about something like this. This is a game called 'Fruitless' courtesy of juno.

I guess this has something to do with the Physics tutorial posted by Roland.
96QSk.png
96QSk.png (153.23 KiB) Viewed 123 times
by geocine
Mon Aug 06, 2012 11:23 pm
Forum: Support and Development
Topic: [Help] Basic Body Shape and Collision
Replies: 5
Views: 1627

[Help] Basic Body Shape and Collision

Hi I am new to LUA but not new to programming, I know my OOP. I am searching for stuff on the forums but I don't know how you call them. I hope you could help me with the right term/keyword to search. I don't want to ask stuff already discussed on the forums. I am looking for (it's best do describe ...