Page 1 of 1

How to create custom screen layout with R'n'D (preview)

Posted: Thu Feb 04, 2016 7:43 pm
by Holger
Note: R'n'D 4.0.0.0 required (from Git repository)

One of the nice new features of the upcoming new version 4.0.0.0 (source code already available from the Git repository) is that it is possible to create custom artwork with non-standard screen layout. This could look like this, for example (click to enlarge):
Screenshot of level set with custom screen layout
Screenshot of level set with custom screen layout
custom_viewports.png (263.76 KiB) Viewed 5952 times
If you want to do something similar, please have a look at the two example level sets with custom artwork that are included in the attached zip archive. Look out for the file "graphicsinfo.conf" in the "graphics" folder and see how it works! It contains some comments to explain what the configuration options do, but most of it should be pretty self-explanatory. Just play around with it and see how the different options work -- most of them are about placing screen objects at some x/y position. The more interesting options are probably those that contain the term "viewport" -- these are used to define the dimensions of the window and the playfield and control panel areas on the different game screens (like the main menu, the in-game screen and the level editor).

One set creates a screen layout without border (like on the screenshot above), the other one adds a thin "classic style" border around the whole screen.

As these screen layouts do not have a "door area" on the right side of the screen like in the unmodified original game, dialog requests are done via a pop-up style dialog sub-window opened in the middle of the screen.

Have fun playing around with these two demonstration sets! :-)

Re: How to create custom screen layout with R'n'D (preview)

Posted: Fri Feb 05, 2016 2:06 pm
by lesbird
Thanks for this Holger, this is very helpful to get the iOS screens set up.

Re: How to create custom screen layout with R'n'D (preview)

Posted: Wed Apr 20, 2016 7:06 am
by RJ1
Somehow i must have overlooked this thread.

Thanks again Holger !