3/25/2023 0 Comments Godot 3.0 tutorialWe will also set the stretch and viewport settings. For this reason, it is easier to work with a game window that does not take up too much screen space. When developing and debugging our game, we will be launching and closing the game very often, and returning to the Godot editor to read errors. I generally prefer to use a resolution that is smaller than the monitor I am working on. It is usually better to have your game be up-scaled on a higher resolution screen, than down-scaled to a lower resolution than it was designed for.įor this tutorial, we are going to use a 1280 x 720 resolution (width = 1280, height = 720). A popular laptop resolution is 1366 x 768, but older models of Macbooks use 1280 x 720. Our game is intended to run well on laptops. You can also define a different Test Width and Test Height that will only be used when developing. Here you can define the Width and Height of your game's default resolution in pixels. In the left navigation column, scroll down to and select the "Display > Window" section. To set your game's resolution, open up the Project Settings. Pixel art requires very specific requirements to look correct, and you will want your game to support all the most common resolutions. This is especially important for certain art styles such as pixel art. If you are making a mobile game, you will want to do research on the most common mobile phone resolutions. Knowing what resolution you intend to use early on, can guide later game design decisions, particularly when it comes to artwork.Īccording to the latest Steam Hardware & Software Survey, over 60% of players are playing PC games on a 1080p monitor. You want to work with the resolution you intend your players to play your game in. This is something I like to do early on in every project. When you open the Godot window again, Godot will start importing our assets.īefore we continue we should specify our game's resolution. Take "icon.png" out of the assets folder and overwrite the default icon that Godot generated. Copy or move the assets folder to where our Godot project is saved. This will open up the files of our Godot project in File Explorer on Windows (and the equivalent on Mac and Linux). You can either navigate to where you saved this project on your computer, or in the File System tab, right click on the Game scene and select "Show in File Manager". Now we need to add the assets folder we downloaded above to our project. 'Ctrl + s' to save and select the Game scene as your main scene. Right click and rename the Node2D to "Game". We are making a 2D game, so select "2D Scene". You will be greeted with Godot's default, the 3D viewport. When you are ready select "Create & Edit". On the right-hand side select "New Project".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |