Controls: D-Pad: [Arrows / WASD] - A: [J] - B: [K] - Menu: [U] - Home: [I]
Enjoy games at full speed with sound and lights on the Gamebuino META!
Emulator by aoneill

Apollo

» Version française

Propelled into the past, at the time of the craziest conquest in the history of mankind, you join NASA's Apollo space program, launched by President John F. Kennedy in 1961. Eight years after its launch, you play the famous astronaut Neil Armstrong, commander of Apollo 11, and your mission is to land the manned lunar module on the surface of the Moon, which no human being has managed to do until now. The piloting maneuvers are extremely precise and you have little time to prepare before the Saturn V launch vehicle takes off. NASA engineers have developed a highly sophisticated simulator to train and develop the dexterity needed to succeed in this extremely dangerous mission.

You have 3 lunar modules with tanks full of nitrogen peroxide and Aerosol 50. Your objective is to perform as many lunar landings as possible with these limited fuel resources. Be careful, the approach maneuvers to the lunar ground must be done smoothly to avoid the risk of disaster and precipitate your crew towards a fatal outcome caused by the explosion of the lunar module.

Not all landing sites will be equally difficult and you will be rewarded greatly if you manage to land on the narrowest of them. The reward for each landing is also inversely proportional to the time spent during the entire approach phase.

The simulator is equipped with two radically different navigation systems. The first one, much simpler, will allow you to control the landing with the standard META buttons and benefit from a navigation assistance:

  • The directional PAD will allow you to activate the lateral thrusters that will rotate the module around its center of gravity, in one direction or its opposite, and thus control its inclination.

  • The A button will allow you to activate the main thruster to develop a powerful thrust and oppose the Moon's gravity.

Simply release the buttons to turn off the thruster ignition.

Once you've mastered the approach maneuvers, you can switch to the second navigation system reserved for experts, which is much more precise, but much more difficult to master:

  • A rotary potentiometer will allow you to activate the lateral thrusters with more or less power to control the rotation of the lunar module. Be careful to reposition the potentiometer halfway to deactivate the thrusters ignition system and stabilize the lunar module inclination.

  • Another rotary potentiometer will allow you to activate the main thruster by precisely adjusting the thrust to be applied to the lunar module for a better control of the fuel consumption during your approach maneuvers.

The ignition of the thrusters will necessarily consume fuel, but don't forget that you only have a limited amount of this precious mixture to control the lunar module. Once your supplies are exhausted, you will not be able to control anything and the crash will certainly be inevitable...

Main controls

view-1

Assembly and connection of the potentiometers

In order to take advantage of the expert navigation mode, you will need two rotary potentiometers and the Gamebuino Developer Backpack, available in the official accessory pack. The SIG readout pins of the rotary potentiometers should be connected to the analog inputs of the Developer Backpack as follows:

  • A5: left potentiometer (Thrust)
  • A4: right potentiometer (Tilt Left & Right)
view-2 view-3 view-4 view-5 view-6

For a better ergonomics during the game, I advise you to orientate your rotary knobs as shown on the picture above:

  • The left potentiometer, which controls the main thruster, should be positioned at the beginning of the stroke (full left rotation) for a zero power thrust.

  • The right potentiometer, which controls the lateral thrusters, must be positioned at the halfway point so as not to trigger any rotation of the lunar module, neither to the left nor to the right.

Last comments

avatar
3 years ago

Avec plaisir, c’est mérité :wink:

Je vais aller faire quelques recherches sur cet algorithme.

C’est noté pour les convention de code :grinning:

Pour les high score… je dois avouer que je n’ai pas assez joué pour avoir un niveau de fou. Mais si un jour je parviens à faire un score de dingue, alors je reviendrai ici :upside_down_face:

avatar
m1cr0lab
3 years ago

Merci beaucoup @chris-scientist pour ton retour très sympa :slightly_smiling_face:

La génération des maps est aléatoire et récursive selon l’algorithme bien connu de déplacement du point médian. C’est très efficace et ça permet de dessiner des lignes de crêtes plus ou moins lisses / tranchantes selon le paramétrage de l’algo. Et, oui, on peut générer une infinité de paysages sans douleur avec cette technique.

Concernant le préfixe _ des membres privés, on ne peut pas vraiment dire qu’il y’ait un consensus qui l’établit comme une “bonne pratique” en POO. C’est surtout historique : alors que certains langages ne proposaient pas encore de modificateurs d’accessibilité quant au principe d’encapsulation (private, protected, public), les développeurs préfixaient les attributs et les méthodes non publiques avec un underscore. PHP, par exemple, fait partie de ces langages qui ont mis du temps à évoluer vers la POO au sens strict du terme, et dans lequel on trouve même encore le double préfixe __ qui était utilisé pour insister sur la nature privée du membre auquel il s’applique…

Y’a plusieurs écoles… y’a pas de règle absolue. L’important, c’est d’être consistant dans l’écriture de ton code.

Encore merci,
Et j’attends de connaître ton meilleur score… :wink:

avatar
3 years ago

Bravo pour cette adaptation qui est incroyable ! Les graphisme sont simples mais très beau ! La génération des map aléatoire permet une rejouabilité infini.

J’ai réussi à me posé sur une zone x5 (comme montré sur la capture que tu as fait).

J’ai regardé un peu le code, et j’ai vu que les membres privés sont préfixés d’un underscore, il s’agit d’une convention de nomage standard ?

J’y retourne j’ai des high score à faire :wink: Encore bravo !