Profile
None
Java programming, music, art and more!
383 comments
208 entries
Advertisement
H_o_p_s
February 24, 2005
Sprite Cache GUI
The Sprite_Cache class is responisble for storing images. if you go:
Sprite_Cache.getImage("tile_grass_01");
It returns the image stored under the SpriteCacheKey (Sck). It holds images for tiles, actors and verts... The preview is small right now, but I'm working on magnification :)

Eventually I'll re…
647 views
H_o_p_s
February 24, 2005
Multiple Keys
Well after working for a few hours I have now enabled the recognition of more than one key at a time. Instead of having to press the space bar for switching Camera and Cursor Mode all you have to do now is hold down the shift key while hitting the arrow keys.

By doing this I can have more keys be l…
258 views
H_o_p_s
February 23, 2005
New algo
Here ya go:

Diamond rendering :)

-=EDIT=-
and also a mind numbing highlight graphic with translucent and bordered graphic:
333 views
H_o_p_s
February 23, 2005
Refactor
Okay, I've been thinking about it, and I think that I'm going to do a massive refactoring of all my code. I have some classes that I don't need, and I want to change my general drawing algo.

currently:
00..10..20..30..40..50
..01..11..21..31..41..51
02..12..22..32..42..52
..03..13..23..33..43..53
04..14.…
302 views
H_o_p_s
February 22, 2005
GUI

GUI

Well, I've got the Load and Save working perfectly. But creating a New Map is giving me some difficulty. There seems to be a process that is not pausing when I erase the array of tiles and replace it with the default grass Tiles. I measured how long it takes to create a new Map and as long as it is…
347 views
H_o_p_s
February 21, 2005
Screeny


Stole a Range Finding algo from the forums today.... :D
268 views
H_o_p_s
February 21, 2005
Movement and scripting
I've been working on a move cue array. This allows me to create an array like {L,L,D,D,R,L,U} and then pass it to the actor and it does each move sequentially. I'm doing this because there was a problem if lets say you said move left twice within 100ms, the actor wouldn't complete its animation loo…
285 views
H_o_p_s
February 20, 2005
More GUI Screeny

Actor Graphics Dialog.
253 views
H_o_p_s
February 20, 2005
Screeny


More Work on the GUI... about 1/2 functional right now ;)
300 views
H_o_p_s
February 19, 2005
Blarg Eh!
I got more work done on the Map editor. I still have not figured out what was causing the focus problems. It only happens when I wait longer then ~5 seconds to hit a button... when I take out the GUI code I don't have the problem... don't know what is causing it.

I started to work on getting the mou…
266 views
H_o_p_s
February 18, 2005
Google fame, bass flute, and More Path crap
Google Search.
Well.... it is three words, but still pretty interesting.

On a side note yesterday I checked out a bass flute from school. The bass flute is about 3.5 to 4 feet in lenth and can reach a full two octaves lower than my flute. Very cool. The sound is darker and filled with more harmonics.…
288 views
H_o_p_s
February 17, 2005
Moving Characters and AI
Okay I've started coming up with how to move my characters. In FFT or Tactics Ogre when you select a character to move it highlights the maximum range that that character can move. I wasn't sure about how to go about this. What if there was a wall right next to the character and I highlighted a ran…
296 views
H_o_p_s
February 16, 2005
Focus issue and Scripting
Well, now that I have started adding the GUI stuff to the program there has been issues with getting focus. It only happens at about one out of five launches so I am sort of confused about why it is happening. Other then that I've been catching up on homework that I haven't been doing for the last …
264 views
H_o_p_s
February 16, 2005
Some Music
Some Music:

Flute Choir

Flute Choir - Strings

The second one is more enjoyable to listen to, as it is written in a better range for listening to... The piece is written for my flute choir. Enjoy!
466 views
H_o_p_s
February 15, 2005
X-Files... and saving maps
Weeee! I've got the entire X-Files collection on DVD... just started watching it on Friday, and now I'm on season 5. Wow, I can't believe how much of the series I missed when it was first running. You get so much more out of it when you can watch every episode.

I got some more programming done on t…
245 views
H_o_p_s
February 14, 2005
Drawing fun
305 views
H_o_p_s
February 14, 2005
Paths kind of working...
Okay the bad news first, the paths don't work when switching heights, and they don't work when you go on to water. Good news: Paths are working on flat land. It is a 900ms path and the animation is exactly 900ms, so the feet don't look like their skating. Also, animation is turned off when not movi…
244 views
H_o_p_s
February 13, 2005
Path Class flawed to the core
After trying to get my Path Class working for the last few hours I have to realize that I was using a flawed concept. I have each actor placed on the map by tile coords so that when I go to draw them, they get drawn at the right time for the layering process. Now the problem is that I want to move …
266 views
H_o_p_s
February 13, 2005
Map Editor
Well, its not all that easy to use, but the coding is there:

Now you can edit tile's graphics and height, as well as add actors.
And yes, I know that the date is.... out of date... just need to update the dang variable
282 views
H_o_p_s
February 13, 2005
Tool box
I've got the paths coded, but their acting funny... I'll fix that soon, but in the mean time I did some GUI work:


The scroll bar at the bottom is to select the FPS. All of it is functional except for the selectTile which will be used to dynamically change tiles during gameplay. The problem isn't the…
257 views
H_o_p_s
February 12, 2005
Poster

This is the poster I made for my last Orchestra Concert... I've got another one coming up late in April, and I'm making the poster for that one as well... Sorry for the crappy image, just scanned it in ;)
333 views
H_o_p_s
February 11, 2005
Animated Water & Scripting


Well, I think I just about have the water animation tiles done, I'll get a screenshot up later tonight. The other big thing that I have been working on was how to move a character between tiles. So I started work on my Path class which will handle all movements of my Actors.

Its going something like…
354 views
H_o_p_s
February 11, 2005
Another ARG!!
Well, after doing some more work with Thread.yield() I find that it makes that animation a little bit jerky. I think that this is caused by too many updates per second causing the garbage collector to be called and then one update taking longer than one of the frames in the animation... So for now …
330 views
H_o_p_s
February 10, 2005
Argg!! Windows needs a FLAG!
FOUND SOMETHING!!
-Dsun.java2d.translaccel=true
-Dsun.java2d.ddforcevram=true
I need to set this in Windows with JVM < 1.5!!!
**Goes to recompile...**

It looks like Java2D doesn't support graphics acceleration in windows of transparent images unless these flags are set... I guess I'll find out if it …
264 views
H_o_p_s
February 10, 2005
Demo now up!

Runs about 500fps average without the FPS limiter (press 'F'), with spikes maxing out my fps variable at 1000fps!
Now, I need windows testing!

CURRENT BUILD: JT_1-11-2005_0.zip[~300kb]
You also may need the JVM located here: JVM[~15mb]

Now, if you want to do some testing for me this is what I need for …
411 views
H_o_p_s
February 09, 2005
Screen Shots and more
On windows 98, Thread.sleep() is poorly accurate (minimum sleep is 50 ms, so Thread.sleep(1, 2, 3...) == Thread.sleep(50) ). The timer gets better on later versions of windows, but still under what we expect off of Linux Solaris, and macs.

http://www.mactech.com/articles/mactech/Vol.14/14.05/Writin…
370 views
H_o_p_s
February 09, 2005
OpenGL
Well... If there isn't a vast improvement int eh Java2D version of my engine, I'm switching to openGL. In fact, I AM switching to OpenGL.

Now, the problem that I've been having is this, when I change the display matrix to show everything isometrically, and then assign 1 to equal one pixel I get this…
345 views
H_o_p_s
February 09, 2005
Made the leap...
Yep thats right, now a paying member.
Well... to tell a little bit about myself...
I'm currently enrolled at Berklee College of Music, and I'm interested in programming. I've been working on an isometric strategy battle game, programmed in Java. It currently uses the Java2D API, but I believe that it…
461 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
9 Followers
15 Entries
10 Followers
johnhattan
Programmer
1,277 Entries
47 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
dgreen02
Generalist
338 Entries
56 Followers
Advertisement