[DEAD] ArcadeBox - games in Minecraft

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

  1. Offline

    Darkman2412

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    This post has been edited 3 times. It was last edited by Darkman2412 Feb 26, 2012.
    gameswereus likes this.
  2. Offline

    Darkman2412

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Early GUI screenshot: (about 1 week old).
    The GUI doesn't work properly anymore :p
    [IMG]
    DrAgonmoray likes this.
  3. Offline

    gameswereus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Awesome picture!
  4. Offline

    Darkman2412

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm making Pacman for ArcadeBox atm! :p
    [IMG]
    gameswereus and thehutch like this.
  5. Offline

    gameswereus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That is SO cool!
  6. Offline

    komno

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Love the idea. When this is ready for download, i'm going to have it on my server.
  7. Offline

    Darkman2412

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    API is available for download now. You can find the information in the first post ^ !
    gameswereus likes this.
  8. Offline

    stelar7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    any updates on this?
  9. Offline

    Parrot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great idea! :) Please update them.
  10. Offline

    SoThatsIt

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    this is almost 2 years old :\

    This post has been edited 1 time. It was last edited by SoThatsIt Apr 11, 2014.
  11. Offline

    Parrot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I know but... it's great project :(
  12. Offline

    bobacadodl

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No one uses spout... its pretty much dead

Share This Page