Movement Example - Euclidean movement by mouse clicking

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
SrHypercube
Prole
Posts: 1
Joined: Wed May 27, 2015 11:31 am

Movement Example - Euclidean movement by mouse clicking

Post by SrHypercube »

Hi everyone,

Last year, I was learning how to work with this great game's framework because I wanted to develop games. I was making some scripts to test some ideas I had. When I saw the default examples, I didn't find anyone like "I push the buttons of the mouse and something follows it until it gets to the point" like every strategy game does with the troops. So I did a very simple example for whoever is doing something like that could start from this point.

https://github.com/GuilledelaCruz/L-VE/ ... clidea.lua

Hope It helps. It would be great if it can be included in the official default examples of LÖVE.
User avatar
rmcode
Party member
Posts: 454
Joined: Tue Jul 15, 2014 12:04 pm
Location: Germany
Contact:

Re: Movement Example - Euclidean movement by mouse clicking

Post by rmcode »

SrHypercube wrote:Hi everyone,

Last year, I was learning how to work with this great game's framework because I wanted to develop games. I was making some scripts to test some ideas I had. When I saw the default examples, I didn't find anyone like "I push the buttons of the mouse and something follows it until it gets to the point" like every strategy game does with the troops. So I did a very simple example for whoever is doing something like that could start from this point.

https://github.com/GuilledelaCruz/L-VE/ ... clidea.lua

Hope It helps. It would be great if it can be included in the official default examples of LÖVE.
You could add it to the wiki. Anybody with an account can edit the wiki.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests