Difference between revisions of "Java Roguelike Tutorial"
Jump to navigation
Jump to search
(Created page with "__TOC__ == Introduction == Hello and welcome to the Java Roguelike Tutorial! Java is a very popular language. With its elegant object-oriented paradigm, inherent portability a...") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
Java is a very popular language. With its elegant object-oriented paradigm, inherent portability and large and well-documented class library, it's an excellent language for roguelike development. The fact that Thomas Biskup's ADOM II is being developed in Java demonstrates that. | Java is a very popular language. With its elegant object-oriented paradigm, inherent portability and large and well-documented class library, it's an excellent language for roguelike development. The fact that Thomas Biskup's ADOM II is being developed in Java demonstrates that. | ||
This tutorial will introduce you to the basics of roguelike development using Java and the [[libjcsi]] library. | |||
== What you need == | == What you need == | ||
Line 11: | Line 13: | ||
*''' a JDK installation (available at http://www.oracle.com/technetwork/java/javase/downloads/index.html).''' | *''' a JDK installation (available at http://www.oracle.com/technetwork/java/javase/downloads/index.html).''' | ||
: Most people who program in java have this one already installed. If you don't, you need to get it. This is absolutely vital. | : Most people who program in java have this one already installed. If you don't, you need to get it. This is absolutely vital. | ||
*'''The libjcsi library''' | |||
: The article on [[libjcsi]] has a link to its homepage. | |||
*''' a run-of-the-mill text editor.''' | *''' a run-of-the-mill text editor.''' | ||
: Choose an editor that suits you. Ideally, it should have syntax highlighting, which makes your life a lot easier. If you have no idea what to look for, I recommend Notepad++. | : Choose an editor that suits you. Ideally, it should have syntax highlighting, which makes your life a lot easier. If you have no idea what to look for, I recommend Notepad++. | ||
*''' IDE like Eclipse or NetBeans ''' | |||
: even if you don't understand most of its functions two of them are really helpful. Errors and Warnings IDE will show you(looking for an error in notpad is PinA) and CTRL+SPACE will help you with tipping long variablenames or find Classes. | |||
*'''a bit of Java experience''' | *'''a bit of Java experience''' | ||
Line 19: | Line 27: | ||
*'''the knowledge of how to compile and run java code.''' | *'''the knowledge of how to compile and run java code.''' | ||
: Ideally, you should know how to navigate using the console on your system, since java and javac are command line tools. However, if you have any kind of Java experience, you've probably used them before | : Ideally, you should know how to navigate using the console on your system, since java and javac are command line tools. However, if you have any kind of Java experience, you've probably used them before. | ||
== What you don't need == | == What you don't need == | ||
*'''roguedev experience.''' | *'''roguedev experience.''' | ||
: You don't have to have any specific roguelike development experience for this. | : You don't have to have any specific roguelike development experience for this. | ||
Line 30: | Line 35: | ||
== Get started == | == Get started == | ||
[[Java Roguelike Tutorial Lesson One]] | |||
[[Java Roguelike Tutorial Lesson Two]] | |||
More chapters will be published here as they are completed. This is a work in progress. | More chapters will be published here as they are completed. This is a work in progress. | ||
Line 37: | Line 44: | ||
Currently, all code is by XLambda. | Currently, all code is by XLambda. | ||
[[Category:Developing]] |
Latest revision as of 06:48, 1 March 2015
Introduction
Hello and welcome to the Java Roguelike Tutorial!
Java is a very popular language. With its elegant object-oriented paradigm, inherent portability and large and well-documented class library, it's an excellent language for roguelike development. The fact that Thomas Biskup's ADOM II is being developed in Java demonstrates that.
This tutorial will introduce you to the basics of roguelike development using Java and the libjcsi library.
What you need
- a JDK installation (available at http://www.oracle.com/technetwork/java/javase/downloads/index.html).
- Most people who program in java have this one already installed. If you don't, you need to get it. This is absolutely vital.
- The libjcsi library
- The article on libjcsi has a link to its homepage.
- a run-of-the-mill text editor.
- Choose an editor that suits you. Ideally, it should have syntax highlighting, which makes your life a lot easier. If you have no idea what to look for, I recommend Notepad++.
- IDE like Eclipse or NetBeans
- even if you don't understand most of its functions two of them are really helpful. Errors and Warnings IDE will show you(looking for an error in notpad is PinA) and CTRL+SPACE will help you with tipping long variablenames or find Classes.
- a bit of Java experience
- This tutorial will not teach you the basics of the language. You should know what a class, a method, a constructor etc. is. You don't need much more than that.
- the knowledge of how to compile and run java code.
- Ideally, you should know how to navigate using the console on your system, since java and javac are command line tools. However, if you have any kind of Java experience, you've probably used them before.
What you don't need
- roguedev experience.
- You don't have to have any specific roguelike development experience for this.
Get started
Java Roguelike Tutorial Lesson One
Java Roguelike Tutorial Lesson Two
More chapters will be published here as they are completed. This is a work in progress.
Credits
Currently, all code is by XLambda.