Molecular is a small R-Type like game coded in C++ and in Pharo.
The game controls are the keyboard and the mouse: the mouse is used to move around and to shoot (left button), keyboard is used to move in the menus (arrows to move and space to validate) and, during the game, to swap between weapons (the keys are c, v and b). Escape is used to go back to the menu from the game and to quit the game if pressed from the main menu.
- Health bar
- Quarks bars. Quarks are the bonuses given by the enemies once destroyed. Quarks are used to activate weapons and determine their power. There are six different kinds of quarks: u, d, c, s, t, b (for up, down, charm, strange, top & bottom).
- These are the activated weapons:
- the electrons (c), the basic weapon,
- the hadron (v) which can be loaded for more power (hold the mouse left-button down); the load level can be monitored with the VU meter,
- the baryon (b) which is a laser beam,
- and the plasma which is yet to be implemented.
- Power level indicator for electrons and baryon.
- VU meter showing the load level of the hadron.
- The score
- Remaining lives
- A bonus (Type-U quark)
Follow the instructions here to install and run a Pharo 9 image. Then execute this code in a Pharo Playground:
Metacello new
baseline: 'Molecular';
repository: 'github://ycorre/molecular/sources-pharo';
load.
The Molecular C++ source code is under CC0 Public Domain, except for the JSON parser library JsonCpp which is under a dual Public Domain/MIT License. The Pharo source code is under MIT license.
The Molecular artworks (graphics, sounds and music - everything in the /res and /sound folders and their subfolders) are under CC BY-NC 4.0 and are the property of JeanTo136.