Forums › English Language Forums › General › General Discussion

Recherche

Spiral Knights Code?

5 Réponses [Dernière contribution]
jeu, 03/20/2014 - 11:25
Portrait de Shadow-Warlock
Shadow-Warlock

I'm learning to write computer code, and I have recently become interested in the code for Spiral Knights. I've looked around some, but I haven't found anything. I was wondering if any of you knew where I could find it, and how I could, or if I'm not allowed to.

Note: I would not be altering the code, I am, as I said earlier, curious about how this awesome game works.

jeu, 03/20/2014 - 11:37
#1
Portrait de Seiran
Seiran
er... Spiral Knights is a

er... Spiral Knights is a Java game. To run a Java application, it needs to be compiled: the code becomes unreadable through normal means in order to run. Resources like images/sounds can exist outside of the code in the filesystem unmodified, but as far as the source itself, you won't likely run into it yourself.
That said, just assume that you cannot get the specific game logic for SK.

THOUGH, if you're interested, three rings DOES have offer some of their own written libraries here:
http://www.threerings.net/code/

I may or may not have also looked for certain things inside the SK folder as well, and noticed a little tidbit that's interesting:

I think they might be running something off of LWJGL (light weight java game library), which, of all things, is the same Java library that was used for Minecraft. No real relation there; I just thought it was interesting.

I had been meaning to learn LWJGL for my own side projects but some of its documentation and other related tutorials/examples are out of date >:[

edit:
...and also Unity is a thing and I keep feeling like I should just learn that instead.

jeu, 03/20/2014 - 11:40
#2
Portrait de Shadow-Warlock
Shadow-Warlock
Thank you for this, Seiran. I

Thank you for this, Seiran.

I knew that Spiral Knights was a Java Game and that it needs to be compiled, but what I had been wondering was if there was a place that I could easily find the code, or if there was a way to make the code readable. But you have supplied with an answer anyways, so for that, I thank you.

jeu, 03/20/2014 - 11:55
#3
Portrait de Seiran
Seiran

Oh, and just in case, this much is said in the TOS:


[You agree NOT to...]
1. reproduce, distribute, publicly display or perform, translate, modify,
adapt, create derivative works from, deconstruct, reverse engineer,
decompile
or disassemble in any manner Spiral Knights or any portion
thereof, including but not limited to any character, graphic,
associated
software or proprietary communications protocol used by the software
or any utilities, applications, emulators or tools derived therefrom;

...
13. modify any files or use any game hacking/altering/cheating software or
tools, including scripting or macroing software, or attempt to
disassemble the game client and/or decipher the data transmissions
between Spiral Knights' client and server. These activities will result
in immediate termination of the Player's Account and may subject you to
civil and/or criminal liability.

... That first one's a doozy, sorry fan arts.

But anyway, getting the spiral knights code would mean trying to decompile it, which violates the first one.

:x

--------

All that aside, most of Spiral Knight's gameplay is 2D top-down, much like the Zelda games, Bomberman, or Binding of Isaac. If you feel inspired enough to try, see if you can find resources on how those games worked (there are many hobby game dev sites out there) and you might be able to pick up something. Might be a bit much if you're still learning how to structure your code though, but eh, learning!

jeu, 03/20/2014 - 12:06
#4
Portrait de Arcknightdelta
Arcknightdelta
@ Shadow-Warlock

Seiran is very good when it comes to stuff like this. I would be safe and just email OOO support to make sure you don't break any TOS when delving into the files of SK. You may not mean any harm but it's always good to have yourself covered.

jeu, 03/20/2014 - 12:38
#5
Portrait de Shadow-Warlock
Shadow-Warlock
Thanks, to both of you. This

Thanks, to both of you. This helped a lot. I also hadn't expected replies so soon.

Créé avec l'aide de Drupal, un système de gestion de contenu "opensource"