본문 바로가기

렌파이/렌파이 자료4

맵 조사, 드래그로 배경 횡스크롤 참고: https://f95zone.to/threads/solved-drag-32-9-content-horizontal-on-a-16-9-screen.19567/post-1212383 방탈출 등의 조사 요소가 있을 때 배경을 드래그해서 좌우를 둘러보게 함 ## 배경 이미지 정의 #################################################### image bg bg1 = "backgrounds/background_1.png" screen photo_bg1(): tag master layer "master" modal True viewport: child_size (3500,1080) xalign 0.0 yalign 0.0 draggable True xinitial 0.5 # 이.. 2022. 1. 30.
렌파이 3일차 : https://www.renpy.org/doc/html/screens.html#imagebutton idle '이미지' hover에 반대되는 명령어 : https://www.youtube.com/watch?v=mexG0cSmsD8 dissolve는 이미지가 겹쳐지고 fade는 이미지가 검은색으로 변한 후 다음 이미지로 변함 : https://www.youtube.com/watch?v=_zq3V28qp2w 메인과 게임메뉴 스크린 - 시작메뉴 버튼들 위치는 screens.rpy 에서 screen navigation(): vbox: 안에 xpos 위치에 xalign과 yalign 추가 시작메뉴 좌측 메뉴배경은 screens.rpy 에서 style main_menu_frame: 에 나온 background .. 2021. 8. 31.
렌파이 2일차 쓸만한 내용 - 타이틀 노란색 색상코드 #FFFF00 : https://blog.naver.com/zimny327/221441185948 ctrl + / 현재 줄(드래그 영역) 주석 처리 또는 해제 : https://m.cafe.naver.com/vmo/2829 options.rpy 에서 default preferences.text_cps = 30 screens.rpy 에서 default quick_menu = False 또는 script.rpy 에서 ## 게임 시작 label start: # 기존의 퀵메뉴를 가립니다. $ quick_menu = False : https://lemmasoft.renai.us/forums/viewtopic.php?t=32770 screens.rpy 에서 style say_.. 2021. 8. 28.
렌파이 1일차 https://www.renpy.org/doc/html/gui.html# GUI Customization Guide — Ren'Py Documentation In addition to the simple customizations given above, there are a number of ways to control how dialogue is presented to the player. Textbox The textbox (or window) is the window the dialogue is displayed in. In addition to changing gui/textbox.png, the fo www.renpy.org GUI 가이드가 있는줄 모르고 일일히 해보다가 접음 game\gui\ .. 2021. 8. 28.