Page 1 of 1

Containers

Posted: Sun Aug 13, 2017 9:07 am
by egorcod
Hello!

Can I create a container with bunnies and rotate it, like in PIXI.js?

Thanks.

Re: Containers

Posted: Sun Aug 13, 2017 9:19 am
by egorcod

Re: Containers

Posted: Sun Aug 13, 2017 10:50 am
by Sir_Silver
Create a grid of images and rotate them along a point? Definitely.

Re: Containers

Posted: Sun Aug 13, 2017 1:24 pm
by zorg
You can also do this a bit more simply with Löve; you don't need a canvas for this.
Use your bunny image with a SpriteBatch, put the 25 or however many you would like into it, then draw the created sprite batch object with love.graphics.draw which has a few parameters, including rotational angle, and the two origin offsets, which should be half the width and height of your total area of bunny sprites.