Temple of The Roguelike Forums
Development => Programming => Topic started 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?
-
No, unfortunately, Java lacks roguelike support.
-
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.
-
No problem, bro.
-
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.
-
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)
-
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.
-
You will be surprised to know that some people make roguelikes without curses! :)
-
What's curses? ;)
-
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
-
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.
-
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/)
-
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.
-
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?
-
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.
-
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!
-
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.