Advanced Classroom
2015.12.21 03:34

처음부터 전체화면으로 시작하기

Views 4643 Votes 0 Comment 3
Atachment
Attachment '1'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

 

 

* 윈도우(Windows)에서만 사용 가능합니다.

 
딜레이없이 전체 화면으로 바로 전환 하려면 노드 웹킷 패키지 파일을 수정해야 합니다.
 
이 작업은 게임이 배포되어야만 할 수 있는 작업이기 때문에 실습을 하시려면 게임 배포 시스템을 이용하여 게임을 윈도우 플랫폼으로 배포해주시기 바랍니다.
 
0.PNG

 

배포된 파일을 살펴보면 package.json 이라는 파일이 있습니다. 이 파일이 바로 노드 웹킷의 기본 설정 파일입니다.
 
이 파일은 텍스트 에디터나 메모장을 통해 불러오면 수정이 가능합니다. 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
    "name""KADOKAWA/RPGMV",
    "main""www/index.html",
    "js-flags""--expose-gc",
    "window": {
        "title""",
        "toolbar"false,
        "width"816,
        "height"624,
        "icon""www/icon/icon.png",
        "kiosk"true
    }
}
 
cs
 
위와 같이 하단에 , "kiosk": true 라는 문자열을 추가하면 게임이 전체화면으로 시작됩니다. 
 
API 를 이용하려면 아래와 같은 코드를 사용하면 되는데 이 코드를 실행하면 즉시 전체 화면으로 전환됩니다.
 
1
2
3
4
5
if(!Utils.isMobileDevice()) {
var ngui = require('nw.gui');
    var nwin = ngui.Window.get();
    nwin.enterFullscreen();
}
cs
 
반대로 전체 화면에서 창모드로 전환하려면 아래와 같이 하면 됩니다.
 
1
2
3
4
5
if(!Utils.isMobileDevice()) {
var ngui = require('nw.gui');
    var nwin = ngui.Window.get();
    nwin.leaveFullscreen()
}
cs

 

?
  • ?
    ㅌㄹlove 2015.12.21 04:15
    전체화면이 몰입감이 좋아 자주이용하는 저로서는 좋은 플러그인이로군요
  • ?
    MiYeOn 2015.12.21 22:00
    좋네요. 잘배워갑니다.
  • ?
    디노스 2015.12.22 11:08
    역시 게임은 전체화면 이죠.

  1. 게임제작강좌 A-Z 색인 (2016.1.24 ver)

    Date2016.01.12 CategoryBeginner Classroom By천무 Views8178 Votes1
    read more
  2. [야매 알만툴 MV 강좌] - 연출과 기능. 두마리 토끼를 동시에.

    Date2018.09.10 CategoryBeginner Classroom By케이디 Views2894 Votes0
    Read More
  3. RPG Maker MV에서 도트 느낌의 폰트 사용하기

    Date2018.07.15 CategoryBeginner Classroom By러닝은빛 Views5123 Votes1
    Read More
  4. [ MV ] 1-1 " RPG MAKER MV에 대하여 알아보자! "

    Date2018.07.01 CategoryBeginner Classroom By수성의물 Views2039 Votes0
    Read More
  5. [DLC 매뉴얼] GENE 도움말 한글화 Part.3 이용규약

    Date2018.04.25 CategoryBeginner Classroom By이니군 Views1041 Votes0
    Read More
  6. [DLC 매뉴얼] GENE 도움말 한글화 Part.2 이벤트 타입과 메뉴 바 컨텐츠

    Date2018.04.25 CategoryBeginner Classroom By이니군 Views1030 Votes0
    Read More
  7. [DLC 매뉴얼] GENE 도움말 한글화 Part.1 씬 빌더의 개요와 씬빌더 시작하기

    Date2018.04.24 CategoryBeginner Classroom By이니군 Views2365 Votes1
    Read More
  8. 느무느무 쉬운 XAS강좌!(VXA용)1.다운로드 및 규정.

    Date2017.11.28 CategoryBeginner Classroom By약빨은ㄱㅏㅅㅣ Views1746 Votes0
    Read More
  9. 저 같은 사람 생기지 말라고 만드는 XAS(액션알피지[액알])강 좌!(VX ACE용)

    Date2017.11.28 CategoryBeginner Classroom By약빨은ㄱㅏㅅㅣ Views1557 Votes0
    Read More
  10. [MV] Iavra Splash Video(스플래시/인트로영상 제작 시 스킵기능 부여 플러그인)

    Date2017.09.11 CategoryBeginner Classroom By이니군 Views1475 Votes0
    Read More
  11. RPG MAKER MV Tool Program-MADO 설치 및 적용기

    Date2017.09.08 CategoryBeginner Classroom By이니군 Views2655 Votes0
    Read More
  12. 커먼이벤트로 은행시스템 만들기(23:00 그림 링크 재수정)

    Date2017.08.28 CategoryBeginner Classroom By이니군 Views1851 Votes0
    Read More
  13. [RMMV] 크로노 엔진(Chrono Engine) 플러그인 사용법

    Date2017.07.16 CategoryAdvanced Classroom By러닝은빛 Views4053 Votes2
    Read More
  14. 네코플에서 VXA 선택지 잘리는 버그 해결하는법

    Date2017.06.22 CategoryIntermediate Classroom By심심치 Views1288 Votes2
    Read More
  15. 변수를 이용한 식물 재배

    Date2017.05.28 CategoryBeginner Classroom ByMoonJ Views3554 Votes2
    Read More
  16. 누구나 쉽게 따라할 수 있는 액션/슈팅 이벤트 만들기!

    Date2017.01.26 CategoryBeginner Classroom By이제리아 Views4720 Votes3
    Read More
  17. RPG란 무엇인가?가 하는 강의-1편:대쉬 속도와 걷는 속도를 어떻게 바꾸는가?-

    Date2016.10.31 CategoryIntermediate Classroom ByRPG란무엇인가? Views2564 Votes0
    Read More
  18. 쯔꾸르 게임을 네코플레이어에 최적화 시켜보자! # 해상도 편

    Date2016.04.17 CategoryIntermediate Classroom By양갱님 Views36570 Votes10
    Read More
  19. 게임의 퀼리티를 높이자! 3편-맵배치

    Date2016.04.08 CategoryBeginner Classroom Byifeve Views5546 Votes2
    Read More
  20. Input 객체의 키코드 확장

    Date2016.04.05 CategoryBeginner Classroom By러닝은빛 Views1666 Votes0
    Read More
  21. 초보가쓰는 초보용 Rpg게임 만들기 (xp)

    Date2016.03.13 CategoryBeginner Classroom ByMarine Views6506 Votes0
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10


[privacy statements] | [Terms of Use] | [Contact us] | [Sponsorship] | [Indiside History]

Copyright © 1999 - 2016 INdiSide.com/CL3D Co., Ltd. All Rights Reserved.
Owner : Chunmu(Jiseon Lee) | kernys(Wonbae Kim) | Sasinji(Byungkook Kim)