Resize Battle Actors

For discussion of the code running behind the game

Moderator: Staff

nicknameminivan
Newbie
Posts: 15
Joined: Tue Oct 19, 2010 9:57 pm

Resize Battle Actors

Postby nicknameminivan » Wed Oct 27, 2010 9:33 am

Hello,

A small question:

In which file i can change the size of the actors in the battle, to look like on the old screenshots?

http://www.allacrost.org/media/screensh ... en_03d.jpg

You dont need to answer, someday i will find it..., but you will help me a lot.

thanks
rujasu
Developer
Posts: 758
Joined: Sun Feb 25, 2007 5:40 am
Location: Maryland, USA

Re: Resize Battle Actors

Postby rujasu » Thu Oct 28, 2010 4:21 am

Have a look at

src/common/global/global_actors.cpp

starting at line 1227.

It has the loading functions for the idle and attack animations. Change the dimensions from (96,96) to something bigger, and you can also set the "timings" parameters to determine number of frames and the pause between each frame (in milliseconds, I believe).
nicknameminivan
Newbie
Posts: 15
Joined: Tue Oct 19, 2010 9:57 pm

Re: Resize Battle Actors

Postby nicknameminivan » Thu Oct 28, 2010 9:42 am

thanks a lot

sincerely anton

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 4 guests