PIJ: Powder In Java

  • firefreak11
    17th Apr 2015 Member 5 Permalink

    Welcome to P-I-J: Powder In Java!


    P-I-J Icon

     

    This is my attempt at cloning The Powder Toy in Java, my favourite programming language. Since 2012 I have been modding, and now that I think I have a good enough grasp of how TPT works, I am seeing if I can make my own working version.

     

    The Unrealistic Science Mod

    The Unrealistic Science Mod Revamped

    The Realistic Science Mod

    The Realistic Science Mod Revamped

    The Psyence Mod

    The Science Toy

     

    Releases

    1.0.1 (April 25, 2015)

    1.0.0 (April 23, 2015)

     

    Source

    Github

     

    P-I-J Will run on Windows, Mac, Linux, BSD and Solaris, as long as you have JRE 1.7 or higher!

    Edited 15 times by firefreak11. Last: 14th Jul 2015
  • firefreak11
    22nd Apr 2015 Member 2 Permalink

    bump

  • Jokersona
    22nd Apr 2015 Member 0 Permalink

    Ehhh, powder in Java? Sounds like lag to me.

  • firefreak11
    22nd Apr 2015 Member 0 Permalink

    @ChargedCreeper (View Post)

     Yes, but how much lag depends on the efficiency of the code

  • nucular
    22nd Apr 2015 Member 1 Permalink
    It depends even more on the efficiency of the environment you're using (and the complexity of the problem obviously). While C/C++ adds small to almost none (asm inlining) overhead, the JVM adds tons of abstraction and safety layers.
    You could try to use the JNI to call native code, though the call overhead is rather large and data sharing isn't really fast either.
    Edited once by nucular. Last: 22nd Apr 2015
  • firefreak11
    22nd Apr 2015 Member 0 Permalink

    @nucular (View Post)

     Indeed, which is one of the reasons I chose Java

  • boxmein
    22nd Apr 2015 Former Staff 0 Permalink
    The JVM is kinda awesome though. Cool of you to use a platform that most things support natively, I wonder if you can port it into Android that way :O
  • Jokersona
    22nd Apr 2015 Member 0 Permalink

    boxmein:

    The JVM is kinda awesome though. Cool of you to use a platform that most things support natively, I wonder if you can port it into Android that way :O

     

    It would be easier to, thats for sure. Might be some slight differences in how the GUI is done, and OpenGL vs OpenGL ES though.

  • LightningStudios126
    22nd Apr 2015 Member 1 Permalink

    Looks like a great idea, good luck!:D

  • firefreak11
    22nd Apr 2015 Member 0 Permalink

    @boxmein (View Post)

     Perhaps, I haven't ever made anything for Android despite my long history in Java

    @LightningStudios126 (View Post)

     Thanks!

     

    If anybody wants to try an early version of what I have so far, go here

    Edited 3 times by firefreak11. Last: 23rd Apr 2015