AnAL + full spritesheet

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Eratsu
Prole
Posts: 2
Joined: Sat Aug 10, 2013 5:32 pm

AnAL + full spritesheet

Post by Eratsu »

Hey guys, I have a trouble to set a sequence of animation with AnAL library.

Look this is a full spritesheet and I want to set each animation coordenades
Image

this is my load code:

Code: Select all

	kyo = love.graphics.newImage("kyo/kyo.png")

	player = {
		x = 50,
		y = 50,
		speed = 300,
		animations = {
			right = newAnimation(kyo, 56, 116, 0.1, 0) --walking to the right
		}
	}
teste.love
(3.32 MiB) Downloaded 145 times
User avatar
Doctory
Party member
Posts: 441
Joined: Fri Dec 27, 2013 4:53 pm

Re: AnAL + full spritesheet

Post by Doctory »

i dont know how to help you, but for future questions make your games windowned, not fullscreen
User avatar
artofwork
Citizen
Posts: 91
Joined: Mon Sep 15, 2014 1:17 am
Location: East Coast USA

Re: AnAL + full spritesheet

Post by artofwork »

Although i am not familiar with the ANAL Lib, In order to create an animation sequence from that sprite sheet you would be required to create custom functions due to the fact that each character sequence has different dimensions and timing.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: AnAL + full spritesheet

Post by bartbes »

I have no idea what I should be seeing, or what the problem is. Could you elaborate?
User avatar
DmL
Prole
Posts: 18
Joined: Fri Nov 21, 2014 9:09 am

Re: AnAL + full spritesheet

Post by DmL »

For ease of use, you will probably want to split each set of animations into their own sheets. You'll also want to have them spaced evenly. You could use the GIMP for this.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 52 guests