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

All about creating levels and level sets, custom elements and custom artwork.

Moderators: Flumminator, Zomis

Post Reply
User avatar
Holger
Site Admin
Posts: 4073
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

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

Post 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 5809 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! :-)
Attachments
test_custom_viewport.zip
Two level sets with custom screen layout
(18.77 KiB) Downloaded 440 times
lesbird
Posts: 12
Joined: Wed Feb 03, 2016 2:29 am

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

Post by lesbird »

Thanks for this Holger, this is very helpful to get the iOS screens set up.
RJ1
Posts: 28
Joined: Sat Apr 16, 2016 8:07 am

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

Post by RJ1 »

Somehow i must have overlooked this thread.

Thanks again Holger !
Post Reply