고급강의실
2014.10.15 03:33

RPG Maker VX ACE - Animation 데이터 구조

조회 수 713 추천 수 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 7441 1
78 고급강의실 PIXI Filter 총정리 (PIXI 2.2.9) 4 file 러닝은빛 2016.01.18 18686 3
77 고급강의실 RGSS 스크립트 강좌 입문 1 - 기초 개념 8 마니아 2013.09.16 4353 0
76 고급강의실 RGSS 스크립트 강좌 입문 10 - 그래픽 표시 4 마니아 2013.09.16 2184 0
75 고급강의실 RGSS 스크립트 강좌 입문 11 - 배열(Array) 6 마니아 2013.09.16 1701 1
74 고급강의실 RGSS 스크립트 강좌 입문 12 - 연상 배열(Associative Array) 4 마니아 2013.09.16 1600 1
73 고급강의실 RGSS 스크립트 강좌 입문 13 - 클래스(Class) 5 마니아 2013.09.16 2317 2
72 고급강의실 RGSS 스크립트 강좌 입문 2 - 수 3 마니아 2013.09.16 2256 0
71 고급강의실 RGSS 스크립트 강좌 입문 3 - 메서드(Method) 4 마니아 2013.09.16 1876 0
70 고급강의실 RGSS 스크립트 강좌 입문 4 - 캐릭터 라인 4 마니아 2013.09.16 2274 1
69 고급강의실 RGSS 스크립트 강좌 입문 5 - 조건분기 4 마니아 2013.09.16 2134 0
68 고급강의실 RGSS 스크립트 강좌 입문 6 - 루프(Loop) 2 마니아 2013.09.16 1590 0
67 고급강의실 RGSS 스크립트 강좌 입문 7 ~ 8 - 함수(Function) 3 마니아 2013.09.16 1924 0
66 고급강의실 RGSS 스크립트 강좌 입문 9 - 오브젝트(Object) 4 마니아 2013.09.16 1642 0
65 고급강의실 RGSS2 강좌 1 비형랑 2012.10.01 2528 0
64 고급강의실 RPG Maker MV 메모리 누수 문제 해결법 6 러닝은빛 2016.01.07 4757 1
63 고급강의실 Rpg Maker MV 함수 리스트(공식포럼) 2 plam 2016.01.10 1410 1
62 고급강의실 RPG Maker VX ACE - Actor 데이터 구조 JunkMan 2014.10.06 1074 0
» 고급강의실 RPG Maker VX ACE - Animation 데이터 구조 JunkMan 2014.10.15 713 0
60 고급강의실 RPG Maker VX ACE - Armor 데이터 구조. JunkMan 2014.10.15 562 0
59 고급강의실 RPG Maker VX ACE - Classes 데이터 구조. JunkMan 2014.10.07 843 0
Board Pagination Prev 1 2 3 4 Next
/ 4






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

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