고급강의실
2014.10.15 03:33

RPG Maker VX ACE - Animation 데이터 구조

조회 수 707 추천 수 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 7383 1
12 중급강의실 반도의 흔한 이벤트 강좌(간략화)-1- 1 RPG란무엇인가? 2015.11.11 787 0
» 고급강의실 RPG Maker VX ACE - Animation 데이터 구조 JunkMan 2014.10.15 707 0
10 고급강의실 RPG Maker VX ACE - CommonEvent 데이터 구조 JunkMan 2014.10.15 701 0
9 고급강의실 RPG Maker VX ACE - Enemy 데이터 구조. 1 JunkMan 2014.10.15 687 0
8 초급강의실 [DLC 매뉴얼] GENE 도움말 한글화 Part.2 이벤트 타입과 메뉴 바 컨텐츠 file 이니군 2018.04.25 682 0
7 고급강의실 RPG Maker VX ACE - State 데이터 구조. JunkMan 2014.10.15 679 0
6 고급강의실 [소공지] 플러그인 무작정 해드린다 진행해봅니다. 2 천무 2015.12.09 677 0
5 초급강의실 [DLC 매뉴얼] GENE 도움말 한글화 Part.3 이용규약 file 이니군 2018.04.25 629 0
4 고급강의실 RPG Maker VX ACE - Troop 데이터 구조. JunkMan 2014.10.15 627 0
3 고급강의실 [RGSS2 강좌] 기초편 2. 변수와 상수 천무 2016.01.10 618 0
2 고급강의실 네코 플레이어 메세지 활용하기 1  운 2015.09.01 571 2
1 고급강의실 RPG Maker VX ACE - Armor 데이터 구조. JunkMan 2014.10.15 557 0
Board Pagination Prev 1 ... 5 6 7 8 9 10 Next
/ 10






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

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