This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

nachocab
nachocab presents ...

2012/11/18

Hunting crickets (in Spanish)

Este proyecto demuestra varias funcionalidades de Greenfoot. En el escenario hay cuatro grillos que aparecen en posiciones aleatorias, una rana que se mueve también en forma aleatoria y el jugador representado por una catarina controlada con las teclas izquierda y derecha del teclado.
Al inicio del juego tienes una energía de 100 puntos la cual se va reduciendo conforme avanza el juego, si llega a 1 pierdes.
Objetivo del juego: comer los cuatro grillos sin que la rana te atrape y sin que se termine la energía.

This project shows some Greenfoot’s functionalities. At the scenario there are four crickets that appears in random positions, a frog which movement is also random and the player represented here as the bug which is controlled by the user with the left and right arrow keys.
At the beginning of the game you have an energy value of 100, as the game runs the energy is decremented, if it fails to 1 the user loose.
Objective of the game: eat the four crickets without the frog eats you and the energy level does not fail to 1.

2525 views / 8 in the last 7 days

Tags: game healthbar

There is no HTML 5 translation of this scenario available.
View legacy version (requires Java plugin)

This scenarios uses Java features that are not available for use after conversion to HTML 5. Please try the legacy version, which requires the Java plugin to be installed.

A new version of this scenario was uploaded on Sun Nov 18 21:11:33 UTC 2012 The game has now an Energy Bar. Thanks to Jordan Cohen for sharing his code of the HealthBar class. It is very easy to customize in any game.

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.