Page 1 of 1

Hellow, and help xD

Posted: Thu Dec 31, 2015 7:09 am
by WalterBishopj
Hellow,
I'm new to this game engine and I already love it since its in lua wich i really like.

I'm wondering about creating an image in love.
Is there a way to merge multiple images into one and use that one as a 'tile'

Like if i have a character tile and i want to dress him with a robe something is there a way to merge two images in a new one?

both would have same size just overlapping frames.
Hope someone understand what i'm trying to achieve.

Re: Hellow, and help xD

Posted: Thu Dec 31, 2015 12:08 pm
by Karai17
Why not just draw the clothing layer over top of the body layer?

Re: Hellow, and help xD

Posted: Thu Dec 31, 2015 5:20 pm
by s-ol
Karai17 wrote:Why not just draw the clothing layer over top of the body layer?
if for some reason you don't want to do that you could use a Canvas and render your character layer-by-layer there once and then use the Canvas as the image after that.

Re: Hellow, and help xD

Posted: Thu Dec 31, 2015 8:07 pm
by WalterBishopj
Karai17 wrote:Why not just draw the clothing layer over top of the body layer?
Din't dive into STI yet. Will do this today.
This is going to be used in my project offcourse since its amazing at first glance.

I think i will go with layers on top of eachother will see how i can do this in STI.
To lets say draw multi 32x32 tiles on top off eachother to create the player character.

Also besides this is there a good tutorial somewhere of instructions on how to build the latest love (0.10.0) on windows? So in a later part i could add some custom lua libraries inside the game?

Re: Hellow, and help xD

Posted: Thu Dec 31, 2015 8:49 pm
by zorg
WalterBishopj wrote:Also besides this is there a good tutorial somewhere of instructions on how to build the latest love (0.10.0) on windows? So in a later part i could add some custom lua libraries inside the game?
If the libraries are lua libraries, as in, lua files, you can require them without needing to modify löve.

Re: Hellow, and help xD

Posted: Fri Jan 01, 2016 12:51 am
by bobbyjones
The instructions on the wiki for building love will work for 0.10.0.