[DEAD] ArcadeBox - games in Minecraft

Discussion in 'WIP and Development Status' started by Darkman2412, Feb 18, 2012.

Thread Status:
Not open for further replies.
  1. ArcadeBox

    ArcadeBox is a Spout(plugin)-based plugin, that makes it possible to developers to create new games inside Minecraft (gameception ftw). :D

    Features:
    • ArcadeBlock... Nothing to say
    • On it's own, it doesn't do anything. But with the power of Bukkit and Spout, you can make any (2D) game!
    How it works:
    It loads games from the "plugins/ArcadeBox/games/" directory. Every .jar file inside that directory, that contains a file named "game.yml", can be added as a game. Once a player plays the that game, the server will run the start() method of that game.

    STATUS: Partially working! (API OUT!)

    DOWNLOAD: API

    INFORMATION ON DEVELOPING:

    You need to include SpoutPluginAPI, Bukkit and the API file in your build path.

    CLASS
    - Your game class needs to extend ArcadeGame. You will need 5 methods inside that class:
    onEnable(), start(GameStartEvent), stop(), handleKeyPress(KeyPressedEvent) and handleKeyRelease(KeyReleasedEvent).
    - When the game gets loaded in the system, the onEnable() will be called. If you want to set some variables inside the onEnable(), you will need to make those variables static, since it will create a new instance of every game (this will cause the variables to reset, :/).
    - stop() gets called when the window closes.
    - You probably know what handleKeyPress/handleKeyRelease do, no? :p

    - Since ArcadeGame extends GenericPopup, you can use any Spout method. When you attach a widget (attachWidget()), you should use attachWidget(widget), not the attachWidget(plugin, widget)!

    GAME.YML:

    I'll just give an example of the game.yml (this one needs to be in the .jar, like a plugin.yml should be).
    Code (Text):
    1. name: ...
    2. main: package + classname
    3. version: ...
    4. description: ...
    5. author: ...
    You need to compile your code, and put the .jar in: "./plugins/ArcadeBox/games/".

    I don't know what to say more, so if you need any help, PM me or put your question in this topic!

    ADVANCED STATUS: not started, started, done
    • Game loading system
    • Spoutcraft client addon, which makes the movement of the game (or GUI elements) smoother
    • API (Server-based API works, but it should be compatible with client version)
    That's all for now.

    Sincerely,
    Darkman2412
     
    gameswereus likes this.
  2. Early GUI screenshot: (about 1 week old).
    The GUI doesn't work properly anymore :p
    [​IMG]
     
    DrAgonmoray likes this.
  3. Offline

    gameswereus

    Awesome picture!
     
  4. I'm making Pacman for ArcadeBox atm! :p
    [​IMG]
     
    gameswereus and thehutch like this.
  5. Offline

    gameswereus

    That is SO cool!
     
  6. Offline

    komno

    Love the idea. When this is ready for download, i'm going to have it on my server.
     
  7. API is available for download now. You can find the information in the first post ^ !
     
    gameswereus likes this.
  8. any updates on this?
     
  9. Great idea! :) Please update them.
     
  10. this is almost 2 years old :\
     
  11. I know but... it's great project :(
     
  12. No one uses spout... its pretty much dead
     
Thread Status:
Not open for further replies.

Share This Page