Temple of The Roguelike Forums

Development => Programming => Topic started by: lumpy carpet on June 28, 2014, 11:37:30 PM

Title: How to make a roguelike in java?
Post by: lumpy carpet on June 28, 2014, 11:37:30 PM
I found jcurses but couldn't figure out how use it.
I couldn't find any tutorials.
Is there any way to make a roguelike in java?
Title: Re: How to make a roguelike in java?
Post by: mushroom patch on June 29, 2014, 01:48:23 AM
No, unfortunately, Java lacks roguelike support.
Title: Re: How to make a roguelike in java?
Post by: lumpy carpet on June 29, 2014, 03:14:41 AM
No, unfortunately, Java lacks roguelike support.
Yes this is unfortunate...
It seems as though my only option is to learn C++.
Thank you for your help, mushroom patch.
Title: Re: How to make a roguelike in java?
Post by: mushroom patch on June 29, 2014, 04:16:00 AM
No problem, bro.
Title: Re: How to make a roguelike in java?
Post by: Kevin Granade on June 29, 2014, 05:40:57 AM
I'm a fan of c++ for roguelike development, but I do want to point out that Perl, Python, and Lua, along with a host of other languages have good curses support.  It's really just Java that's lacking.
Title: Re: How to make a roguelike in java?
Post by: mounta1nman on June 29, 2014, 04:02:14 PM
I'm writing a simple roguelite in java with libjcsi. There's also the more comprehensive libraries.. like squidpony, blacken.. Haven't tried them yet though.

There's also this libjcsi tutorial, but I can't vouch for it either:
http://www.roguebasin.com/index.php?title=Java_Roguelike_Tutorial_Lesson_One (http://www.roguebasin.com/index.php?title=Java_Roguelike_Tutorial_Lesson_One)
Title: Re: How to make a roguelike in java?
Post by: Raas on June 30, 2014, 03:48:25 AM
Java is a doable language for roguelikes. I'm making a simple Java roguelike game based off the code/tutorial from here:

http://trystans.blogspot.com/2011/08/roguelike-tutorial-01-java-eclipse.html

I found it to be very helpful. In fact his whole blog has been very enjoyable to read.

Title: Re: How to make a roguelike in java?
Post by: watabou on June 30, 2014, 10:31:48 AM
You will be surprised to know that some people make roguelikes without curses!  :)
Title: Re: How to make a roguelike in java?
Post by: Pickledtezcat on June 30, 2014, 11:43:40 AM
What's curses?  ;)
Title: Re: How to make a roguelike in java?
Post by: AgingMinotaur on June 30, 2014, 11:56:12 AM
Yeah, I don't think curses is very widely used for RLs anymore. Doesn't curses have some compatibility problems with Windows? Some Java RLs include Legerdemain, lots of stuff at slashland.co … Throwing together a system to display characters on the screen isn't very difficult. In short, mushroom patch is just pulling your leg, I think ??? :)

As always,
Minotauros
Title: Re: How to make a roguelike in java?
Post by: mushroom patch on June 30, 2014, 02:20:00 PM
Yeah, I don't think curses is very widely used for RLs anymore. Doesn't curses have some compatibility problems with Windows? Some Java RLs include Legerdemain, lots of stuff at slashland.co … Throwing together a system to display characters on the screen isn't very difficult. In short, mushroom patch is just pulling your leg, I think ??? :)

As always,
Minotauros

Guilty as charged, although the OP's assumption that roguelikes should be written using curses or other libraries suitable for the UNIX terminal or telnet connections is correct.
Title: Re: How to make a roguelike in java?
Post by: Eben on July 01, 2014, 11:07:26 PM
https://github.com/SquidPony (https://github.com/SquidPony) is a Java full-service text and graphical tile roguelike (or any grid game really) library. I've used it for all of my several 7dRLs and several other projects. Which is no surprise, I made it :D

You can see in my source for Assault Fish (at the link above) how to do some really cool things with it, like Perlin Noise and transparent overlays, and animations.

You can also see other things I've done with it at my site http://squidpony.com/ (http://squidpony.com/)
Title: Re: How to make a roguelike in java?
Post by: Raas on July 02, 2014, 05:53:27 AM
https://github.com/SquidPony (https://github.com/SquidPony) is a Java full-service text and graphical tile roguelike (or any grid game really) library. I've used it for all of my several 7dRLs and several other projects. Which is no surprise, I made it :D

You can see in my source for Assault Fish (at the link above) how to do some really cool things with it, like Perlin Noise and transparent overlays, and animations.

You can also see other things I've done with it at my site http://squidpony.com/ (http://squidpony.com/)

Dang, that is pretty cool. And with libgdx. I'll definitely be checking it out.
Title: Re: How to make a roguelike in java?
Post by: lumpy carpet on July 02, 2014, 02:10:47 PM
https://github.com/SquidPony (https://github.com/SquidPony) is a Java full-service text and graphical tile roguelike (or any grid game really) library. I've used it for all of my several 7dRLs and several other projects. Which is no surprise, I made it :D

You can see in my source for Assault Fish (at the link above) how to do some really cool things with it, like Perlin Noise and transparent overlays, and animations.

You can also see other things I've done with it at my site http://squidpony.com/ (http://squidpony.com/)

Dang, that is pretty cool. And with libgdx. I'll definitely be checking it out.
I will also be checking it out.

Yeah, I don't think curses is very widely used for RLs anymore. Doesn't curses have some compatibility problems with Windows? Some Java RLs include Legerdemain, lots of stuff at slashland.co … Throwing together a system to display characters on the screen isn't very difficult. In short, mushroom patch is just pulling your leg, I think ??? :)

As always,
Minotauros

Guilty as charged, although the OP's assumption that roguelikes should be written using curses or other libraries suitable for the UNIX terminal or telnet connections is correct.
Mushroom patch you lied to me?
Title: Re: How to make a roguelike in java?
Post by: lumpy carpet on July 05, 2014, 08:46:50 PM
https://github.com/SquidPony (https://github.com/SquidPony) is a Java full-service text and graphical tile roguelike (or any grid game really) library. I've used it for all of my several 7dRLs and several other projects. Which is no surprise, I made it :D

You can see in my source for Assault Fish (at the link above) how to do some really cool things with it, like Perlin Noise and transparent overlays, and animations.

You can also see other things I've done with it at my site http://squidpony.com/ (http://squidpony.com/)
I think i will be using this.
Title: Re: How to make a roguelike in java?
Post by: guest509 on July 06, 2014, 12:55:05 AM

Mushroom patch you lied to me?
[/quote]

Nah. He was just incorrect or spoke a bit vaguely.

Tons and tons and tons of roguelikes are written in Java.

Here is one partial tutorial:
http://www.roguebasin.com/index.php?title=Java_Roguelike_Tutorial

Here is another (seems pretty in depth, Trystan is pretty well known):
http://trystans.blogspot.com/2011/08/roguelike-tutorial-01-java-eclipse.html

You might also check out this thread:
http://forums.roguetemple.com/index.php?topic=2143.0

And of course you've seen Eben's squidlib already.

Good luck man!
Title: Re: How to make a roguelike in java?
Post by: mushroom patch on July 06, 2014, 01:20:17 AM
Actually, I was joking (or lying, if you like). Obviously you can write a roguelike in Java and it doesn't take that much thought to see the broad outlines of how it would be done.