Hacker News new | past | comments | ask | show | jobs | submit login
Open Terraria Rewrite
3 points by egordorichev on March 16, 2017 | hide | past | favorite | 4 comments
Hello! I'm a creator of open-source Terraria rewrite in Java. Our project grows and already supports modding. Here is a simple example, that allows player switch to Ghost mode using 'g' key:

    public void onLoad() {
        ModAPI.addKeyBinding(Input.KEY_G, new Callable() {
            public void call() {
                enabled = !enabled;
                ModAPI.getPlayer().setGhostMode(enabled);
            }
        });
    }
Full code: https://github.com/egordorichev/LastTryMods/blob/master/GhostMod/src/org/egordorichev/ghostmod/GhostMod.java Here is the repository: https://github.com/egordorichev/LastTry

If any one is interested, please, join me! Thanks, George.




> LastTry is open-source Terraria clone in Java, written using Slick2D library. Our goal is to recreate original game with better perfomance, and old content.

im not sure if java is any better than c# (what the real thing is written in) for performance

don't you also need permission to use the game assets like that


I don't use terraria assets. We use a texture pack. I'm not talking about C# vs Java now. For me, because Java is crossplatform, it's better.


> For me, because Java is crossplatform, it's better.

i apologize for being a windows user but i somehow didn't think of that


I'm a linux user.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: