FMF:MenuSlice

From OHRRPGCE-Wiki
Jump to navigation Jump to search
Mobile-phone.png
This article is about the OHRRPGCE FMF project, which is an alternate implementation of the OHRRPGCE for Java mobile phones. Technical implementation details discussed here should not be confused with those of the RPG format

The OHRRPGCE FMF is built in a modular fashion. The GAME module is meant to mimic GAME.exe's maps and player movement exactly, while the BATTLE module only preserves the basic rules of fighting enemies, not the interface*. For the MENU module, a similar decision was made: to preserve the basic functionality of the menu while totally redoing the appearance. After much futile grasping, the object-oriented concept of a "slice" was settled on.
*Right now, it actually doesn't exist.


Who Should Read This?[edit]

Fully understanding Menu Slices will take a great deal of your time, so use this checklist to see if you should bother:

  • "I want to help develop the OHRRPGCE FMF's menu system by adding a new Slice."
  • "I want to use a custom layout in my own game" (super-advanced).
  • "I want a compact but complete example of how to design a high-level menu system for a limited device."

If you fit any of those lines, or if you're just in the mood to read, this document is for you. The rest of you can safely skip it.


Table of Contents[edit]

After giving a brief introduction to Menu Slices, we'll cover three simple micro-tutorials on how to use them. Unfortunately, due to the gigantic nature of the OHRRPGCE-FMF's source code, I wouldn't advise you to actually enter any of the code here. Instead, just try to follow the concepts, look at the screenshots, and put on your "big picture" glasses. If you're insistent on actually compiling these examples, send an email to the list and we'll help you.

Chapter Screenshot
What Is a Menu Slice? Fmf chapter 1.png
Tutorial 1: Four Boxes Fmf chapter 2.png
Tutorial 2: Simple Hero Picker Fmf chapter 3.png
Tutorial 3: Polished, Customized Menu Fmf chapter 4.png