2 Users appreciate this thread.
API Discussion {interested developers please read}
djl12328 (2012-11-01 00:25:46)Could I do that? I'm not sure what I would add, but I can come up with something.
www.dark-isle.weebly.com
RainbowNinja (2012-11-02 03:06:53)Could the game be programmed with Multiplayer API?
Skittles, taste the rainbow.
Mario Kart, ride the rainbow.
Super Mario Galaxy, BE the rainbow.
Mario Kart, ride the rainbow.
Super Mario Galaxy, BE the rainbow.
kingmick (2012-11-07 01:56:35)I wouldn't mind helping...... Really. I have to help
1vs1? Lets do this.
EmoKitty (2013-01-21 04:11:13)I would love to sprite or code- that would be great practice (actual use!) of my graphic design classes!
2013-01-21 04:21:45
You treat me just like
Another stranger
Its nice to meet you sir
I guess I`ll go
I`ll just be on my way out
Another stranger
Its nice to meet you sir
I guess I`ll go
I`ll just be on my way out
Log in to submit a comment
Back to forum: The Unbreakable Chain & TUC Spriter
New registered users today: 7
Newest registered user: ElegantVulpes
I was wondering if anybody at some point wanted to actually add their own content to the game. (like modding, for example, but everyone would have it).
The game is CURRENTLY written in serverside PHP and client-side JavaScript. At some point I'd be happy to rewrite in Java Server Pages if that seems to be more efficient.
The game is actually going to have an API whether or not other people want to develop it.
(the below API is not very well documented and exampled, so don't worry
@chunk, x, y, z: You will be able to pass this_chunk this_x this_y this_z. Z only applies to indepth worlds.
@interval Interval in minutes for this to be called
@file Callback to onMinuteTick file. Please include only a filename.
tuc_askForMinuteTicks(chunk, x, y, z, interval, file)
Starts asking for Minute Ticks (only used for advanced blocks that require processing every minute, etcetera)
tuc_cancelMinuteTicks(chunk, x, y, z)
Cancels asking for Minute Ticks (stops the above)
If your timed job is finished, or finishes with an error, you want to save to your block's tiledata and then cancel your tick cycles.
This makes the game tick more efficiently.
tuc_isPlayerOnline(playername)
@returns boolean [true/false]
Is the player online? Returns as boolean
tuc_isPlayerLoaded(playername)
@returns boolean [true/false]
Is the player loaded? Returns as boolean
tuc_loadPlayer(playername)
If the player is not loaded and you need to access say his inventory, you need to load him first.
tuc_unloadPlayer(playername)
When you are finished, you can unload him again.
tuc_loadPlayerPlot(player, plotno)
Loads the Personal Plot #plotno for player.
tuc_stackInfo(itemstack)
returns an associative array of information relating to itemstack. This will be more clearly documented when the api is working.
(more to come!)