고급강의실
2014.10.15 03:33

RPG Maker VX ACE - Animation 데이터 구조

조회 수 718 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
RPG::Animation:0x6f24f94

@id=1//애니메이션 ID 

@name="Hit Physical"//애니메이션명

@animation1_name="Attack1"//그래픽 명
@animation1_hue=0//색채

@animation2_name=""//그래픽명
@animation2_hue=0//색채

그래픽명은 garaphic에 정의 내려진 정보를 가져와서
색채에 값으로 그림을 가져옵니다.

@position=1//위치 0~3 선택
0 : head
1 : center
2 : feet
3 : screen

@frame_max=10//프레임 최대치
최대 프레임 량을 뜻합니다.

@frames=[#<RPG::Animation::Frame:0x6f24e90 @cell_data=#<Table:0x6f24e40>, @cell_max=1>, #<RPG::Animation::Frame:0x6f24e18 @cell_data=#<Table:0x6f24df0>, @cell_max=1>, #<RPG::Animation::Frame:0x6f24ddc @cell_data=#<Table:0x6f24db4>, @cell_max=2>, #<RPG::Animation::Frame:0x6f24d8c @cell_data=#<Table:0x6f24d50>, @cell_max=2>, #<RPG::Animation::Frame:0x6f24d3c @cell_data=#<Table:0x6f24d00>, @cell_max=2>, #<RPG::Animation::Frame:0x6f24cd8 @cell_data=#<Table:0x6f24cb0>, @cell_max=2>, #<RPG::Animation::Frame:0x6f24c4c @cell_data=#<Table:0x6f24bd4>, @cell_max=2>, #<RPG::Animation::Frame:0x6f24bc0 @cell_data=#<Table:0x6f24b48>, @cell_max=1>, #<RPG::Animation::Frame:0x6f24b34 @cell_data=#<Table:0x6f24b0c>, @cell_max=1>, #<RPG::Animation::Frame:0x6f24aa8 @cell_data=#<Table:0x6f24a30>, @cell_max=1>]//애니메이션 데이터

그림의 정보를 가집니다. 어떤 모양을 정보로 가지고 있는지 표시하며, 이것에서 cell_max는 객체(그림)의 최대 갯수를 뜻하고, 테이블은 그 좌표값과 정보를 가지고 있습니다.

@timings=[#<RPG::Animation::Timing:0x6f24878 @flash_duration=1, @se=#<RPG::SE:0x6f24774 @name="Blow3", @pitch=100, @volume=95>, @flash_color=(255.000000, 255.000000, 255.000000, 221.000000), @frame=0, @flash_scope=1>, #<RPG::Animation::Timing:0x6f24620 @flash_duration=1, @se=#<RPG::SE:0x6f245bc @name="Blow1", @pitch=100, @volume=100>, @flash_color=(255.000000, 255.000000, 255.000000, 221.000000), @frame=2, @flash_scope=1>, #<RPG::Animation::Timing:0x6f244b8 @flash_duration=1, @se=#<RPG::SE:0x6f244a4 @name="Blow3", @pitch=100, @volume=100>, @flash_color=(255.000000, 255.000000, 255.000000, 221.000000), @frame=5, @flash_scope=1>]//프레임 시간조절
시간을 뜻하는 것으로 플레이 했을시 색상이나 알파값의 변화를 뜻합니다.

Frame은 그림의 정보, Timing은 거기에 맞춰진 그림의 색상정보입니다.
?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수 추천 수
공지 초급강의실 게임제작강좌 A-Z 색인 (2016.1.24 ver) 2 file 천무 2016.01.12 7487 1
12 중급강의실 찰드 제작강의 "3" -툴의 완벽한 이해를 위한 그날까지 No.1 1 1 file 찰드 2011.09.02 3073 1
11 고급강의실 처음부터 전체화면으로 시작하기 3 file 러닝은빛 2015.12.21 4238 0
10 초급강의실 초보가쓰는 초보용 Rpg게임 만들기 (xp) 6 Marine 2016.03.13 6217 0
9 중급강의실 초보의 게임제작 도전기 #1-1[데이터 베이스 둘러보기] 2 치와도라 2015.05.05 1443 2
8 중급강의실 초보의 게임제작 도전기! #0 [RPG 만들기?] 치와도라 2015.05.05 1375 1
7 고급강의실 카카오소프트 님의 RGSS2 스크립트 강좌 2 Omegaroid 2014.03.27 1674 0
6 고급강의실 캐릭터그래픽 픽셀 3  운 2014.07.19 3639 0
5 중급강의실 캐릭터레이더로 통맵만들기. 3 file 천무 2006.06.05 12325 23
4 초급강의실 커먼이벤트로 은행시스템 만들기(23:00 그림 링크 재수정) 3 file 이니군 2017.08.28 1504 0
3 고급강의실 타이틀에 동영상을 넣는 플러그인 사용법 5 file 러닝은빛 2016.01.08 2649 1
2 중급강의실 픽쳐 서서히 등장! 픽쳐 서서히 퇴장! 4 치와도라 2015.04.29 980 2
1 중급강의실 한글암호 만들기 5 치와도라 2014.04.26 1872 0
Board Pagination Prev 1 ... 5 6 7 8 9 10 Next
/ 10






[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)