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

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

Shortcut

Prev前へ 書き込み

Next次へ 書き込み

ESC閉じる

Larger Font Smaller Font 上へ 下へ Go comment 印刷

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

1 2 3 4 5 6 7 8 9 10