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…
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…
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…
By doing this I can have more keys be l…
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.…
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…
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…
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…
I started to work on getting the mou…
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.…
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.…
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…
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 …
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!
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!
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…
I got some more programming done on t…
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…
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 …
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…
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…
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…
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 …
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 …
-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 …
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 …
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…
http://www.mactech.com/articles/mactech/Vol.14/14.05/Writin…
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…
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…
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…
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…
Advertisement
Popular Blogs
Advertisement