Ah thank god.
My family recently got a cabin in the middle of freaking nowhere of NY state. So I've been staying up here for a week as it's a much better environment to get work done. But the internet hasn't been hooked up until today. I was doing pretty well surviving for the first few days, but th…
My family recently got a cabin in the middle of freaking nowhere of NY state. So I've been staying up here for a week as it's a much better environment to get work done. But the internet hasn't been hooked up until today. I was doing pretty well surviving for the first few days, but th…
Status check:
My dream of interactive programming continues to elude me. I've gotten it to work in special cases, but I want to be able to do it everywhere, without too much set-up work. BeanShell seems to have problems if you a) load a script, b) create an object with that script, then c) reload th…
My dream of interactive programming continues to elude me. I've gotten it to work in special cases, but I want to be able to do it everywhere, without too much set-up work. BeanShell seems to have problems if you a) load a script, b) create an object with that script, then c) reload th…
Astute readers will notice that the test code I posted 2 entries ago is the same code that renders the yellow spikey things in a circle. Except that the final version used 300 steps instead of 70, and the other values were tweaked too.
And, by the way, since the rendering was script code, I was able…
Woooo, just finished evaluating BeanShell. It's great!
The BeanShell version of that last test ran at 8 fps (where the pure Java version runs at 12 fps and the JRuby version ran at 3 fps). So the slowdown isn't too bad, plus the clincher is that I can copy-paste any performance-critical BeanShell co…
The BeanShell version of that last test ran at 8 fps (where the pure Java version runs at 12 fps and the JRuby version ran at 3 fps). So the slowdown isn't too bad, plus the clincher is that I can copy-paste any performance-critical BeanShell co…
Yeah I change my mind a lot.
After evaluating Rhino, I came to this conclusion: really no scripting language has a very fluid way of passing Java objects to a script.
So with that knowledge in hand, I went back to JRuby because a) I have a crush on that language, and b) I do know a roundabout way to …
After evaluating Rhino, I came to this conclusion: really no scripting language has a very fluid way of passing Java objects to a script.
So with that knowledge in hand, I went back to JRuby because a) I have a crush on that language, and b) I do know a roundabout way to …
Okay, I'm coming to terms with the fact that I am suffering from tool overdose.
Batik? Cool, but it doesn't really help me.
JRuby? The language looks fun, but the Java->JRuby interaction really has been a pain. I can't get it to work the way I want, plus there's something about the implementation …
Batik? Cool, but it doesn't really help me.
JRuby? The language looks fun, but the Java->JRuby interaction really has been a pain. I can't get it to work the way I want, plus there's something about the implementation …
I figured someone might be interested, so here is my java code for getting a simple SVG-backed sprite up and running:
import org.apache.batik.gvt.renderer.StaticRenderer;
import org.w3c.dom.svg.SVGDocument;
import org.apache.batik.bridge.*;
import org.apache.batik.gvt.*;
import java.awt.geom.*;
import ja…
So I thought it would be cool to use SVG in my java games. The standard library to do this is Batik. The library is pretty sweet, but damn is it huge- 4mb of class files. 1mb of this is from the included XML reader Xerces. Damned if I know how an XML reader can take up 1mb.
It works well, but you ca…
It works well, but you ca…
Okay the time has come for some RAD. I'm looking into scripting engines to use in conjunction with Java, because I feel like I can really tear things up if I get a nice scripting engine with an interactive mode that lets me edit scripts while playing the game.
So I checked out what's available and I…
So I checked out what's available and I…
Well that's it, I'm quitting my job and going to attempt to become self-sufficient selling games on the internet. Why not, with all this indie hype (like Greg Costikyan's highly publicized move to indie), it just seems like the thing to do :)
I already got a company name: Fuzzy Games. It's a nice fr…
I already got a company name: Fuzzy Games. It's a nice fr…
Yeah, I've never been good at keeping a blog updated regularly.
Anyway I have a new plan. The new plan is to quit my job and attempt to start a business selling games on the web. Anyone out there have any experience doing this?
I have pretty much all the logistics figured out. The games will be small…
Anyway I have a new plan. The new plan is to quit my job and attempt to start a business selling games on the web. Anyone out there have any experience doing this?
I have pretty much all the logistics figured out. The games will be small…
No updates for a while because I haven't made any progress in a while. The last week or so has been pretty busy. Last weekend I took a vacation to San Fran with my girl, that was fun. At work, the pressure has been up for the last few weeks to push the current game to release (similar to how the sp…
Although I haven't starting implementing training yet, I found an excellent training algorithm that will mesh really well with my app's design. It's called Cascade-Correlation (pdf). Basically, it adds one node at a time to the system, and trains a node as soon as it's added. Once the node is in pl…
Hey are you bummed by the fact that Java has no "friend" keyword? How would you like it if your function could assert that it was only being called by a certain class?
class MyUtils
{
static boolean callerIsOfClass(Class targetClass)
{
StackTraceElement stack[] = Thread.currentThread().g…
Running the network works! Also, it's all hooked up to the display, so you can watch nodes change color as their level of activation changes.
So far I have a simple repeater network running. It's a network with a chain of nodes, and the last node inhibits the first item. So these nodes alternate bet…
So far I have a simple repeater network running. It's a network with a chain of nodes, and the last node inhibits the first item. So these nodes alternate bet…
Nodes finally have names :)
This came at the end of a long struggle, which started with a simple desire for me to have a pop-up toolbar on the right side where you can edit details about a node (such as its name). During the process, I ended up having to learn way more than I ever wanted to know abo…
This came at the end of a long struggle, which started with a simple desire for me to have a pop-up toolbar on the right side where you can edit details about a node (such as its name). During the process, I ended up having to learn way more than I ever wanted to know abo…
Here's a pic of my project
It's not much to look at, but I figured it would help people better understand what the whole thing is about. You create nodes, you make connections between the nodes (the red ones are negative), and eventually you'll be able to run the whole network. That box in the lower…
It's not much to look at, but I figured it would help people better understand what the whole thing is about. You create nodes, you make connections between the nodes (the red ones are negative), and eventually you'll be able to run the whole network. That box in the lower…
Okay this is a resolution of the problems I asked about in this thread
The problem was.. well there were several problems. *One* of the problems was that I needed a good way to make undoable changes to the model. Saving the entire model state is a reliable way to do this, but this would make my undo…
The problem was.. well there were several problems. *One* of the problems was that I needed a good way to make undoable changes to the model. Saving the entire model state is a reliable way to do this, but this would make my undo…
huzzah! I was planning to get gd+ activated when my current project was ready to distribute, but that's taking a while. And I felt like getting started with the dev journal.
First, complaint #1. Why in the world does it take 3 DAYS to get gdnet+ activated? Come on guys. This is the internet. This i…
First, complaint #1. Why in the world does it take 3 DAYS to get gdnet+ activated? Come on guys. This is the internet. This i…
Advertisement
Popular Blogs
Advertisement