Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graphic Design (https://forums.graalonline.com/forums/forumdisplay.php?f=9)
-   -   Sprites.png~ :O! and stuff. (https://forums.graalonline.com/forums/showthread.php?t=87247)

Clockwork 01-28-2010 04:19 AM

Alright D: I has a problem. Trying to make the level a little more alive, I made an animation:

http://img163.imageshack.us/img163/6...inker12010.gif

But, in graal, It clips in the middle frames like this:
http://img251.imageshack.us/img251/9587/aekoknowwhy.png

anyone have any solution?

12171217 01-28-2010 05:59 AM

Quote:

Originally Posted by Clockwork (Post 1552711)
Alright D: I has a problem. Trying to make the level a little more alive, I made an animation:

http://img163.imageshack.us/img163/6...inker12010.gif

But, in graal, It clips in the middle frames like this:
http://img251.imageshack.us/img251/9587/aekoknowwhy.png

anyone have any solution?

Turn it into a gani, or turn it into a strip of frames and use a script like:

PHP Code:

//#CLIENTSIDE
function onPlayerEnters() {
  
//The name of your file.
  
this.imagename "animated_strip.png";
  
//The horizontal length of each frame.
  
this.stripwidth 32;
  
//The vertical length of each frame.
  
this.stripheight 32;
  
//The number of frames.
  
this.maxframes 10;
  
//The amount of time to wait before repeating in seconds.
  
this.waitlength 2;
  
setTimer(.05);
}

function 
onTimeOut() {
  
setTimer(.05);
  if (
this.wait this.waitlength) {
    
this.frame 0;
    
this.wait += 0.05;
    return;
  }
  
setImgPart(this.imagenamethis.stripwidth*this.frame0this.stripwidththis.stripheight);
  
this.frame++;
  if (
this.frame this.maxframes) {
    
this.frame 0;
    
this.wait 0;
  } 


Dunno, should work.

FaLLChiLD 01-28-2010 10:02 AM

Probably just sprite and gani, lol. I'm interested in seeing whatever else you got going on in that image.

Umat 01-28-2010 10:51 AM

Quote:

Originally Posted by Clockwork (Post 1552711)

Why is the guy on the left sitting on the edge of the chair? :P

Clockwork 01-28-2010 10:57 AM

Quote:

Originally Posted by Umat (Post 1552741)
Why is the guy on the left sitting on the edge of the chair? :P

xD

Not sure...I guess I just had it come out that way.

Crono 01-28-2010 12:04 PM

aeko that is adorable

Nonepwnz 01-28-2010 01:11 PM

Damn you are awesome, keep up the work mate :D

Dnegel 01-28-2010 06:37 PM

Pretty sweet stuff there Aeko. :D

alarid0 01-29-2010 03:16 AM

Oh wow there is a lot of stuff in here that I hadn't looked at before. There are so many posts I wish I could give rep for...that green weapon... your spell animation... all of those icons... that whole room... I love it all :)

FaLLChiLD 01-29-2010 03:18 AM

Yeah, I haven't given any rep but this thread is full of stuff I like.

Rep incoming whenever my laziness makes it's way there, Aeko.

Luda 01-29-2010 10:17 AM

Why is he pouring it onto the table :(

Clockwork 01-29-2010 11:03 AM

Quote:

Originally Posted by Luda (Post 1552974)
Why is he pouring it onto the table :(

Its going in his mouth tho :(

http://img42.imageshack.us/img42/452...gneroom001.png

Crono 01-29-2010 11:39 AM

i liek, although the chair on the drunk aeko is too high, looks like he's sitting on nothing

Umat 01-29-2010 12:54 PM

I want to see some more colors to bring some contrast to the level, nothing too fancy, but maybe a rug or anything that sticks out from all the beige floor. Overall it looks good.

smirt362 01-29-2010 01:01 PM

Looks good, I really like the clock. But yeah, a rug or some knots in the wood on the floor or something to break up the monotony would be fantastic.


All times are GMT +2. The time now is 10:07 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.