Simple thing, my animation just doesn't want to play like i want it to. The first frame of 4 is all messed up! Mind taking a look and seeing if you can find what's going on? Attached the .love beneath.
Thanks:)
TheEmperorOfLulz
My animation not displaying properly..;(
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- TheEmperorOfLulz
- Prole
- Posts: 7
- Joined: Wed Oct 05, 2011 9:10 am
My animation not displaying properly..;(
- Attachments
-
- animtest.love
- (2.82 KiB) Downloaded 101 times
There are 10 types of people. Those that understand binary, and those who don't!
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: My animation not displaying properly..;(
First, please use require("animation") instead of love.filesystem.load("animation.lua")().
Second, you don't have to use love.image.newImageData.
Third, I fixed it by replacing line 48 of animation.lua by:
Here is the fixed .love:
Second, you don't have to use love.image.newImageData.
Third, I fixed it by replacing line 48 of animation.lua by:
Code: Select all
for i = 0, frames - 1 do
Help us help you: attach a .love.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: My animation not displaying properly..;(
Why not use the more recent version, found here?
Kurosuke needs beta testers
- TheEmperorOfLulz
- Prole
- Posts: 7
- Joined: Wed Oct 05, 2011 9:10 am
Re: My animation not displaying properly..;(
Ok guys, thankyou:)
I just copied the animation.lua found in example.love, didn't know it was outdated:Dtentus wrote:Why not use the more recent version, found here?
There are 10 types of people. Those that understand binary, and those who don't!
Who is online
Users browsing this forum: No registered users and 6 guests