Search found 28 matches

by weilies
Mon Oct 11, 2010 5:18 am
Forum: Support and Development
Topic: Request: Physic configuration template for different objects
Replies: 11
Views: 3051

Request: Physic configuration template for different objects

Understood thot love2D is using Box2D as physic engine. i wonder is there any available configuration through the net if anyone aware Eg. the world is having gravity 9.8F, and if an empty box with 500gram, it will fall down and thouch the floor in 3 secs from 2 meter height i believe this all might ...
by weilies
Mon Oct 11, 2010 4:34 am
Forum: Support and Development
Topic: Request for Camera Example in Love
Replies: 10
Views: 3054

Request for Camera Example in Love

Good day all, i am trying to create a scroll basis game and looking for a function which can ZOOM in any point of the my viewport So that the visual effect is stunning. But to clarify, a zoom in doesn't mean to increase scale of all my sprites on screen and looking at http://love2d.org/wiki/love.gra...
by weilies
Sun Oct 10, 2010 4:26 pm
Forum: Support and Development
Topic: How to rotate an img based on a reference point?
Replies: 4
Views: 1573

How to rotate an img based on a reference point?

I realized the love framework always based on point 0,0

Imagine I loaded arrow up image and rotate 30 degree, the rotation point suppose to based on the bottom of the img and not 0, 0 of the img
by weilies
Sun Oct 10, 2010 2:39 pm
Forum: Support and Development
Topic: Request for sprite animation sample code
Replies: 4
Views: 1535

Re: Request for sprite animation sample code

hi vrld,

isn't plz refer my attachment
isn't that's better if your animation function can support draw frame 1-3 (stand), 4-6 (shot)

correct me if i am wrong, using your extension might need to split my rockman to 8 different images
by weilies
Sun Oct 10, 2010 12:57 pm
Forum: Support and Development
Topic: Request for sprite animation sample code
Replies: 4
Views: 1535

Re: Request for sprite animation sample code

Thanks vrld,

i can only say this community ROCK!!
i get my answer within 2 hours!
by weilies
Sun Oct 10, 2010 11:30 am
Forum: Support and Development
Topic: Request for sprite animation sample code
Replies: 4
Views: 1535

Request for sprite animation sample code

I believe there are some other buddy looking for the similar code like me

Checked through the tutorial but can't find such technique in love framework

Appreqciate some gurus can provide such sample

Thanks!
by weilies
Sun Oct 10, 2010 4:17 am
Forum: Support and Development
Topic: Request sample code to detect image onclick event
Replies: 3
Views: 2051

Re: Request sample code to detect image onclick event

os, there is no

logic like

Code: Select all

my_enemey.onClick {
     score = score + 1
}
from your suggested code, imagine it's a polygon, then using ur code might end up trigger the increase score even click outside the image
by weilies
Sat Oct 09, 2010 8:27 pm
Forum: Support and Development
Topic: Request sample code to detect image onclick event
Replies: 3
Views: 2051

Request sample code to detect image onclick event

Greeting guru,

How can love engine detect a mouse clicked on my character sprite ?

From the doc provided, I only saw code to capture input from keyboard and mouse
How can I tell my program to increase my score when my mouse clicked on enemy image object?