Search found 5 matches

by eka
Sat Sep 06, 2014 11:03 am
Forum: Support and Development
Topic: Centring some buttons using Quickie Lib
Replies: 3
Views: 4422

Re: Centring some buttons using Quickie Lib

@furi

Hey, I really appreciate all the effort you took to explain this. I completely overlooked the Button size setter.

Here is a new screenshot: Image

And here is the new Code: https://gist.github.com/8012b136e3295add2efd

Again, Thanks!
by eka
Fri Sep 05, 2014 11:18 pm
Forum: Support and Development
Topic: Centring some buttons using Quickie Lib
Replies: 3
Views: 4422

Centring some buttons using Quickie Lib

Screenshot Image

How I go about centring those buttons in the middle of the screen?

Here is the code: https://gist.github.com/8012b136e3295add2efd

Thanks
by eka
Thu Aug 07, 2014 1:40 pm
Forum: Support and Development
Topic: Keeping enemies apart from each other
Replies: 1
Views: 1741

Keeping enemies apart from each other

Hi, I'm working on a arena shooter like game, and I was thinking on how to keep enemies apart from each other when they go to attack the player. I was thinking on using the physics library for collision using 2 filters... one for player, player bullets vs enemy and one for enemy vs enemy, kind of a ...
by eka
Wed Aug 06, 2014 10:28 am
Forum: Support and Development
Topic: Assign mouse cursor from image
Replies: 2
Views: 2786

Re: Assign mouse cursor from image

@slime: Thanks, I was just forgetting to use setCursor :D
by eka
Wed Aug 06, 2014 3:26 am
Forum: Support and Development
Topic: Assign mouse cursor from image
Replies: 2
Views: 2786

Assign mouse cursor from image

Hi all, new to Love2d

I tried to set a mouse cursor with love.mouse.newCursor('miImage.png', x, y) in the load callback, but that doesn't work.

What is the proper way to set the mouse cursor without having to rely on code to paint an image that follows the mouse (overkill)

Thanks!

:nyu: