aliens

Author Topic: Drawing routine/animation help  (Read 9642 times)

Offline Blank

  • Captain
  • ***
  • Posts: 62
    • View Profile
Drawing routine/animation help
« on: May 05, 2016, 02:34:00 pm »
I started off making a new set of sprites, using the tentaculat as a guide but those things animate even less than I remember! What I'm looking for is something like a simple four frame animation so I can make the critter bob up and down when idle (using constantAnimation: true?) And ideas what I should use?

Offline new_civilian

  • Commander
  • *****
  • Posts: 725
    • View Profile
Re: Drawing routine/animation help
« Reply #1 on: May 06, 2016, 12:07:06 am »
My first idea would be the Silacoid, small number of sprites, constantly animated, 1x1 sized. Making it fly then is easy.
Second guess, the Celatid, but it maybe hasn't enough sprites.



Those graphics^ look interesting, can't wait to see what you make out of them.

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Drawing routine/animation help
« Reply #2 on: May 06, 2016, 05:06:31 pm »
in general it's the large units that were animated while standing still, and they had no walking animations. the small units that constantly animate have no visible directionality.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Drawing routine/animation help
« Reply #3 on: May 06, 2016, 06:37:29 pm »
Hmm... How hard would it be to code a new routine? :)

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Drawing routine/animation help
« Reply #4 on: May 06, 2016, 06:48:19 pm »
or use Extended, You can create your own drawing routine. :)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Drawing routine/animation help
« Reply #5 on: May 06, 2016, 07:10:24 pm »
or use Extended, You can create your own drawing routine. :)

Yeah, and the documentation how to do it is where? :P

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Drawing routine/animation help
« Reply #7 on: May 06, 2016, 10:53:31 pm »
https://openxcom.org/forum/index.php/topic,2915.msg58514.html#msg58514 :P

Thanks. :P
Do I have an old readme or something? Because I sure can't see anything about this.

Offline Blank

  • Captain
  • ***
  • Posts: 62
    • View Profile
Re: Drawing routine/animation help
« Reply #8 on: May 06, 2016, 11:16:45 pm »
Well I found out I can use Xarquid's draw routine for what I want and leaving 3/4 of the frames empty, but it has no death animation. I'm going to have to check these custom draw routines though, especially for later projects

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Drawing routine/animation help
« Reply #9 on: May 06, 2016, 11:26:14 pm »
Thanks. :P
Do I have an old readme or something? Because I sure can't see anything about this.
Right now I'm working on full documentation. Overall I plan that exe will dump information to log file in debug mode.
Some outdated info: https://openxcom.org/forum/index.php/topic,2059.0.html (this is ancestor of scripts from 2.9)
Some basic info about 2.9 is in txt file: https://openxcom.org/forum/index.php/topic,2915.msg31641.html#msg31641

Overall I considered scripts in 2.9 as preview, because in 3.0 scripts have lot of breaking changes. I making final version that will be capable of handling all new functionality (like unit reaction) and have simpler usage.



Offline Blank

  • Captain
  • ***
  • Posts: 62
    • View Profile
Re: Drawing routine/animation help
« Reply #10 on: May 08, 2016, 09:01:58 am »
So these draw routine scripts are going to be the only way to have both an animated idle animation and separate walk animations. That could be useful.

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Drawing routine/animation help
« Reply #11 on: May 08, 2016, 12:57:44 pm »
So these draw routine scripts are going to be the only way to have both an animated idle animation and separate walk animations. That could be useful.
Yes but you need remember that this need custom exe, I think you should check out Meridian exe used by xpitarez that is based on my brach.

Offline Blank

  • Captain
  • ***
  • Posts: 62
    • View Profile
Re: Drawing routine/animation help
« Reply #12 on: May 08, 2016, 03:04:23 pm »
Yes but you need remember that this need custom exe, I think you should check out Meridian exe used by xpitarez that is based on my brach.
Already read the changelogs and seen what was used in X-com files ;)

Offline Blank

  • Captain
  • ***
  • Posts: 62
    • View Profile
Re: Drawing routine/animation help
« Reply #13 on: December 16, 2017, 03:37:06 pm »
So, it turns out I've lost a number of my original files. I can release the oculat.png under creative commons since it is wholly my own work (sharknade is edited from the displacer launcher). Is that all I need to do to make sure it's a resource freely available to future modders?

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Drawing routine/animation help
« Reply #14 on: December 16, 2017, 04:41:39 pm »
So, it turns out I've lost a number of my original files. I can release the oculat.png under creative commons since it is wholly my own work (sharknade is edited from the displacer launcher). Is that all I need to do to make sure it's a resource freely available to future modders?

pretty sure that counts, yeah.