Tag Archives: libjsci
You asked for it, you got it!
There is now an indicator of how much further you can jump while in mid-air. Now with the greatest of ease you can carefully plan all your jumping excitement.
Get Earl Spork 1.1 today!
Want to have a convenient grid world display in Java?
Freshly streamlined, SquidLib is the successor to SquidGrid, MonoSpaceDisplay, and libjcsi. With three great display libraries as ancestors, SquidLib has the refinement and tools to make any text grid work easy.
This library is meant to be an answer to ncurses for Java Swing, but goes beyond the tools of ncurses.
Current features include:
- Place characters on grid arbitrarily
- Set foreground and background colors for each cell individually
- Place strings on grid arbitrarily
- Place blocks of characters on grid arbitrarily
- Dynamic resizing of grid
- Dynamic changing of font
- Arbitrary fonts stay monospaced
- Select specifically what characters must fit in the cells
SquidLib is under active development, so please add any comments or suggestions to the issues tracker on the GitHub site.
And what is a SquidGrid? It’s a collection of rectangular cells of all the same size!
SquidGrid is a set of Java classes for displaying arbitrary image data in a regular grid. It’s based on interfaces, so how it’s displayed and what the images are representing are both up to the implementation. SquidGrid comes with a default implementation for displaying text image, and the system is flexible enough to handle any type of image.
Being a third generation product gives SquidGrid a solid background of real world usage. The experiences learned from creating and using TextAsGraphics and libjcsi have been put into SquidGrid and the included implementation. This allows SquidGrid to more directly meet the needs of both roguelike developers and others who want an easy yet flexible grid layout of images in Java.
While my early games Excitable Digger and EarlSpork used libjcsi and the more recent EmoSquid used TextAsGraphics, Epigon is using SquidGrid. Because it allows for more flexibility in the display of text and graphics, including custom built graphical tiles only requires the additional code to load the tiles and link them to the objects they represent. The actual layout of the tiles can be handled through the same interface the text display used.
SquidGrid is available at it’s GitHub home here.
Every year, the rogue-like development community gets together and puts the walk to the talk. It’s called the 7 Day Rogue-Like Challenge, and it is awesome!
My entry for the 2009 7 Day Rogue-Like challenge was Excitable Digger. Inspired by Dwarf Fortress, a notoriously complex Rogue-Like game, Excitable Digger focuses on mining in search of precious rocks and gems.
Excitable Digger was built using the libjsci library for all display elements.