I have been looking for an easy way to use Terminal in my programs. I tried using Perfect DOS VGA 437, but it didn’t support all of CP437’s characters. So I decided to find a bitmap version of Terminal, and ended up making one myself. First I pieced together a png image that contained all […]
June 25, 2011
I am in a very good mood because the midpoint displacement has finally been worked out. No problems any more! For those of you interested in how I found the answer, look at the related stackoverflow question. Can’t post a screencap because the project won’t compile at the moment. I’m moving on to using extended […]
June 21, 2011
EDIT: This post is no longer valid. The problem has been found to be unrelated to what is discussed here. It seems that ibus, a keyboard input utility for linux, isn’t compatible with Slick or Java(or both). I found that the game wouldn’t accept input from the keyboard while ibus was on. I reckon it […]
June 18, 2011
Perlin noise has been completed. That feels so good. Now to actually make use of it in the game.
June 18, 2011
Hi Josh, I think the including the types will help make it clear that integer division is used and help illuminate the lines that confused you (and others). Quickly looking at your code; I cannot see a problem. The cosine interpolation may be the culprit. Put in linear interpolation, and see if your interim […]
June 17, 2011
Snapshot of the current (faulty) state of Perlin noise : Generated by generateSmoothNoise(), octave 5.
June 8, 2011
I began to implement Perlin noise yesterday. I had no clear idea of how to use a single noise function for all the octaves, so I abandoned ImprovedNoise.java (by Ken Perlin himself) and copied the noise function featured here. If you happen to know how to use the same function over and over without it […]
June 5, 2011
Finished implementing midpoint displacement. It took a while to translate the pseudocode to Java. And a few inadvertent mistakes made the VM run out of memory. I’m setting my hopes on its integrity, so I won’t have to debug it anymore. Frankly, the pseudocode was hard enough. The iffy scrolling has also been assuaged corrected. […]
July 28, 2011
0