Difference between revisions of "Java Roguelike Tutorial"

From RogueBasin
Jump to navigation Jump to search
m
 
(4 intermediate revisions by 2 users not shown)
Line 13: 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 21: 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. If you really have no idea, I will cover that in a short introduction.
: 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 ==
*''' Eclipse or any other IDE.'''
: Many newbies go for IDEs like eclipse. These are tools intended for experienced developers, and their features are intended to automate frequent or annoying tasks, not to remove the necessity of knowing how to do them on your own.
*'''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 33: Line 36:


[[Java Roguelike Tutorial Lesson One]]
[[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 39: 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

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.