Search found 49 matches

by Anxiety
Mon Apr 18, 2011 12:06 pm
Forum: General
Topic: Pointing an image
Replies: 23
Views: 9729

Re: Pointing an image

And yet again, more problems. Now the characters face isnt looking at the mouse, but the characters top left corner is.

And just for you to see it, heres the .love file.
by Anxiety
Sun Apr 17, 2011 5:08 pm
Forum: General
Topic: Pointing an image
Replies: 23
Views: 9729

Re: Pointing an image

Ohwait now i got it working... Theres just one problem. The character i use is normally pointing up. But when i move the mouse around, the character looks in odd directions.
by Anxiety
Sun Apr 17, 2011 5:00 pm
Forum: General
Topic: Pointing an image
Replies: 23
Views: 9729

Re: Pointing an image

Thanks!

Why does people always give me code snippets in dont understand how to use?
by Anxiety
Sun Apr 17, 2011 4:12 pm
Forum: General
Topic: Pointing an image
Replies: 23
Views: 9729

Re: Pointing an image

I was thinking of something like calculating the radian direction between the image and the mouse and i know some versions of Lua use (pos1-pos2).unit but is that valid in Löve?

(Thats one long sentence!)
by Anxiety
Sun Apr 17, 2011 3:58 pm
Forum: General
Topic: Pointing an image
Replies: 23
Views: 9729

Re: Pointing an image

Woops, i meant to not place but POINT the image where the mouse is using the rotation.

Sorry about that.
by Anxiety
Sun Apr 17, 2011 3:54 pm
Forum: General
Topic: Pointing an image
Replies: 23
Views: 9729

Pointing an image

How can i point an image to where the mouse is?

'Nuff said.

Thanks!
by Anxiety
Sun Apr 17, 2011 9:23 am
Forum: General
Topic: Tilemap help
Replies: 3
Views: 1561

Re: Tilemap help

Lafolie wrote:this would probably be overkill for you.
true dat

I quess ill use a 2D table with letters and convert that to a map.
by Anxiety
Sun Apr 17, 2011 8:13 am
Forum: General
Topic: Tilemap help
Replies: 3
Views: 1561

Tilemap help

The wiki has a tilemap tutorial (http://love2d.org/wiki/Tutorial:Efficie ... _Scrolling). I tried it, and it works all fine. But im wondering about one thing; how can i change what the map generated is? Its for a new game im making (again, lol).

Thanks!
by Anxiety
Sat Apr 16, 2011 3:11 pm
Forum: General
Topic: Animations
Replies: 1
Views: 880

Animations

How can i make simple image animations without having to use a loop to show different images at an order?

Thanks!
by Anxiety
Fri Apr 15, 2011 4:53 am
Forum: General
Topic: New to Lua - tutorials
Replies: 7
Views: 5063

Re: New to Lua - tutorials