A work-in-progress free and open-source replacement for the Diablo I engine. Simply import the Diablo assets, and enjoy the same old game with faster performance and modern resolutions, and first class support for mods.
public void startApp() running = true; gameThread = new Thread(this); gameThread.start();
Save the code as DiamondRush.java , compile with WTK (Wireless Toolkit), and package as a .jar file. diamond rush game for nokia x2-01 320x240
switch (map[y][x]) Graphics.LEFT); break; public void startApp() running = true; gameThread =
private void drawGame(Graphics g) // Draw map for (int y = 0; y < HEIGHT; y++) for (int x = 0; x < WIDTH; x++) int px = x * TILE_SIZE; int py = y * TILE_SIZE; public void startApp() running = true
public void startApp() running = true; gameThread = new Thread(this); gameThread.start();
Save the code as DiamondRush.java , compile with WTK (Wireless Toolkit), and package as a .jar file.
switch (map[y][x]) Graphics.LEFT); break;
private void drawGame(Graphics g) // Draw map for (int y = 0; y < HEIGHT; y++) for (int x = 0; x < WIDTH; x++) int px = x * TILE_SIZE; int py = y * TILE_SIZE;