Eclipse And Pulpcore Tutorial

Just a quick post about a new tutorial I have written. How to build your basic Hello World Java Applet in Pulpcore with the Eclipse IDE.

A simple step by step tutorial with some screen shots, source code and Ant build script included.
An example Java applet can be seen here Hello world demo
The source code can be found here Hello world source code



Related Posts:
Getting started with Pulpcore
There are several prerequisites that you will need before we get started. JavaSE...
Credits
A short run down of all the sites and products that where useful in making classic...
Build and run
To build a Pulpcore applet in Eclipse using an Ant build script is easy. Simply...
Java build path
Next we need to setup the Java build path for our hello world project so that it...
Creating a new project
Now that you have all the prerequisites covered lets run through creating a new...

Basic Scenes

In Pulpcore applets are made up of a collection of scenes, scenes are where you group together common details to implement a screen. For example the code to fetch and then display the games current high score table could be contained in a single scene. The applets scenes are then played out on the applets Stage object. Like a play at the theater the applet will have one stage and can have one or more scenes.

For my classic arcade game clones I will have a set of basic scenes that will be the same for all the cloned games. Each of these scenes will be written in a generic fashion so that each game built from this common framework of scenes will be able to quickly configure the games details like titles, high score tables and then focus on implementing the actual arcade game code.

There are several common scenes that will be shared across all the arcade games.

Loading Scene
The loading scene is where the applet will decide on which asset file to download based on the users locale. After downloading the applicable asset file it will then transition to the main title scene.

Title Scene
The title scene will display the tile of the arcade game and the main menu. The main menu will consist of the following options.

  • Play Game
  • Highscores
  • Language
  • Credits

Play Scene
The implementation of the actual arcade game.

Highscore Scene
Connects to the web server, fetches the latest high scores and displays them to the player.

Language Scene
Lets the player select the language they would like the game displayed in. This scene will then take the user back to the loading scene so it can load the newly selected languages asset file.

Credits Scene
Displays a big thanks to all the people who have helped out.



Related Posts:
Transition Engine
Looking back at my last post about basic scenes you will see that I plan to...
Eclipse And Pulpcore Tutorial
Just a quick post about a new tutorial I have written. How to build your basic Hello...
Cloning the classics
Cloning the classics is my internet homage to the great classic arcade games from...
Player Movement In Classic Asteroids Arcade Game
As noted in my previous post First clone picked: Asteroids the first classic arcade...
First clone picked: Asteroids
Asteroids an arcade classic, published in 1979 by Atari. Sporting some simple black...