Frequently Asked Questions

From Moondust Wiki
Revision as of 17:37, 21 October 2014 by Wohlstand (talk | contribs)
Jump to navigation Jump to search

Here will be written any Frequently Asked Questions which will help with solving of already solved troubles or problems.

Where are the Level Settings?

If you need to change global level settings, open the menubar [Level->Properties]. But if you need to configure the current section, you must open the

Section Properties window in the menu [View -> Section Settings].

Why doesn't music play while editing?

To play music you can simply press the note "♪" icon on the toolbar, or you can set autostart playing of music: Open in menubar [Tools -> Application Settings], and select the option, "Autoplay music after opening file", and music will automatically play each time you open the file. If music still doesn't play after this, please, check the configs/<packName>/data/music directory, it must contain the music files. If the folder doesn't exist, please copy your music folder from SMBX (for SMBX-compatible config packs only), or download the music pack from our site.


I can't find "auto-align" option!

This option is called "snap to grid" in this editor. To disable/enable it, please, click the sharp icon "#" on the toolbar.


How make big screenshot of level section?

Simply open [File -> Export section into image...] menu item, set some options and target size, and save your image (will be saved into PNG format).


I see ghosties instead NPCs, Why?

The "Ghostie" is a dummy image sprite. It appears if you use a broken custom image, an image in a non-supported format, corrupted image, etc. To fix this error, you must convert the image to a valid format. Supported file formats are: PNG, GIF, JPG, BMP. You can add more supported image formats, if you place special plugins into the imageformats dir, which you can get from the Qt website, here.


What's a "Set as Boss" option on NPC's?

This is a special flag which was in SMBX a "Legacy Boss". This flag enables a special boss algorithm which will change music and after defeat will be spawned the exit bonus.


Do the graphics use the same format as SMBX?

Yes, in the SMBX-compatible configs you can use the graphics format of SMBX:

- GIF file format without transparency
- Must use black/white mask to apply transparency
- Animation frames of sprite going down vertically.
- Playable character sprite has a 10x10 frame table, and a total image size of 1000x1000 pixels and fixed by the position of the character's hitboxes.
- All custom SMBX graphics are fully compatible with this engine.

Is this a new version of SMBX?

This project is offered as a successor of SMBX, but it is not "New SMBX", but fully compatible with them. SMBX - is a game, PGE - is a game engine. All games are created based on their own game engines. SMBX - closed source, PGE - Libre and Open Source. This project can be used not only for Mario games based on SMBX, but for others too (while being entirely open source). Because it allows full flexibility and customizing (all items are defined by INI files), and NPCs will be allowed to be programmed by a script language, this allows one to create custom NPCs of their own without being restricted to using the AI of an existing NPC.


Why background repeats only horisontal and doesn't repeats vertical?

Because you probably are using a single-row background, which is not tiled vertically.

I recommend that you read more about backgrounds here.


Instead of music I'm hear noise!!! Why?

This trouble appears when your music have >44100 Hz sample rate, and to fix you should re-sample them into 44100 Hz.

Begins from PGE Editor v0.2.0 it uses the SDL2_mixer instead of QMediaPlayer. SDL2_mixer plays music and all sounds in the united stream. All musics and sound should have same sample rate which have audio stream. If sample rate is not same, music will be re-sampled in real time mode. Real-time re-sampling is not good for CPU and can cause noises or wrong playback. To fix this, Re-sample your music into 44100 Hz and retry to add them into PGE.

Is it possible to make the editor window the same resolution as SMBX's editor?

You can switch into Sub-Window mode in the "Window" menu and you have freedom to set a window size, also you can use zoom if you have too small screen or you wanna put item more accurately in the grid-less mode.

INI-file of Config pack is not reading after saving

The first reason of this error is a BOM when you was saved file via Windows Notepad.
I'm recommend to get Notepad++ or Akelpad to edit those files.
Files should be saved in UTF-8 codepage without BOM.