[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. Offline

    Darkman2412

    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:
    name: ...
    main: package + classname
    version: ...
    description: ...
    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

    Early GUI screenshot: (about 1 week old).
    The GUI doesn't work properly anymore :p
    [​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
    gameswereus likes this.
  2. Offline

    gameswereus

    Awesome picture!
     
  3. Offline

    Darkman2412

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

    gameswereus

    That is SO cool!
     
  5. Offline

    komno

    Love the idea. When this is ready for download, i'm going to have it on my server.
     
  6. Offline

    Darkman2412

    API is available for download now. You can find the information in the first post ^ !
     
    gameswereus likes this.
  7. Offline

    stelar7

    any updates on this?
     
  8. Offline

    Parrot

    Great idea! :) Please update them.
     
  9. Offline

    SoThatsIt

    this is almost 2 years old :\
     
  10. Offline

    Parrot

    I know but... it's great project :(
     
  11. Offline

    bobacadodl

    No one uses spout... its pretty much dead
     
Thread Status:
Not open for further replies.

Share This Page