[RPGVX]Bitmap, Sprite Class에 대한 질문입니다.

by 녹색주머니 posted Oct 02, 2010
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

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

1. Sprite에 2개이상의 Bitmap class를 넣는 방법이 있나요?


 


2. Bitmap을 파일화하는 방법이 있나요?


 


3. Bitmap내부 메소드 중에 이 두가지 메소드에 대해 설명해주세요.


 


blt(x, y, src_bitmap, src_rect[, opacity])
Performs a block transfer from the src_bitmap box src_rect (Rect) to the specified bitmap coordinates (x, y).


opacity can be set from 0 to 255.


stretch_blt(dest_rect, src_bitmap, src_rect[, opacity])
Performs a block transfer from the src_bitmap box src_rect (Rect) to the specified bitmap box dest_rect (Rect).


opacity can be set from 0 to 255.


 


그냥 겉보기로는 blt는 지정된 x,y좌표를 변경한다는 것같은데 src_bitmap에 뭘 넣어야하는지가 이해가 안되네요.
stretch_blt는 1 pxel이 rect로 변화한 것 같구요.


Articles

7 8 9 10 11 12 13 14 15 16