check

Published October 23, 2005
Advertisement
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 the script and try to use newly-defined code on that object. The object hangs on to references to the old script's structures. So I actually got an error that said "Error: Cannot cast class BlockType to class BlockType", because one of the BlockTypes was the new version and one was the old version, and it didn't figure out that they should be the same just cause they have the same name. Oy.

I've been playing the game Psychonauts. The art is amazing. The animation is amazing. The level design, and the entire premise of the game is delightfully weird and great. If you take everything that was great about Grim Fandango and multiply it by 5 then that's what the game is like.

It's just too bad you need to endure hours of annoying platform-jumping to enjoy all that great stuff. The gameplay mechanics are the least revolutionary thing about the game, so much that they drag down everything else.

Overall I think that the whole "jumping" mechanic just needs to die. It was silly to begin with, and it's been overdone to death, so maybe as an industry we can all just collectively move on.
Previous Entry I have a logo!
0 likes 2 comments

Comments

H_o_p_s
Make a wrapper object. And then have it update/get the object for you. For example:

//myWrapper.bsh
public class myWrapper {
    private BlockType bt;
    public myWrapper(BlockType new) {
        bt = new;
    }
    public BlockType getBlockType() {
        return bt;
    }
    public void setBlockType(BlockType new) {
        bt = new;
    }
}
wrapper = myWrapper(new BlockType());


see if that helps you at all.
October 23, 2005 01:14 PM
pinacolada
That could work. I guess the important thing is that any class definitions are somewhere else, where they won't be recompiled every time.
October 28, 2005 09:54 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

check

1138 views

I have a logo!

1119 views

wooo

1070 views

scripting

1182 views

tool overload

1273 views

java svg code

1152 views

svg in java

1149 views
Advertisement