Powder Toy in Java Open Source

  • moehtr
    13th Apr 2011 Member 0 Permalink
    @meep2000 (View Post)

    What Op system are you running?
    Also, shipping from New Zealand can be quite cheap depending on our economy at the time.
    after christchurch (a tourist hotspot, and city) earthquake, the $NZD dropped real low...
    shipping was cheap too. i live in Nz and on our bidding website www.trademe.co.nz
    ,I scored a hexa-core 18ghz-all-up, with 12gb ddr3 RAM, 4 terabyte HDD and NVIDIA GTX580 1536MB graphics, with X58/ICH10R LGA1366 mainboard...

    Yeah, scored it all for $657 NZD (worth about 6000), which is the equivalent to $525 USD, and it runs crysis 2 in complete full, twice. runs 2 instances on full at the same time. so yeah... GREAT SCORE FOR ME
    Round up only like 1000 USD if you wanna custom build, and build a pc :)
    You can get your hands on a QUAD-Core for under a grand in the US..

    or you can buy my quadcore :)
    1000 $USD
    ship it to you for free :D
    comes with razor death adder mouse too :)

    anyway....GOOD LUCK!
  • tian110796
    13th Apr 2011 Member 0 Permalink
    I tried to make Powder Toy in Java before (a special project that would make my computer science grade the highest possible if I can do it). It lags so much it cannot even create particles by click-and-drag smoothly. The specifications were:
    1. No gravity, no interactions, it just looks like a pixel art drawer.
    2. The only element is dust.
    3. screen refreshes only when new particles were made.
    4. Screen size is the same as the original
    5. Two dimensional particle array, like you said. Drawing is one-by-one.
    6. it is object oriented.

    Due to this, I deleted all the source code and made my grade at least near to the highest possible in conventional means.

    Not here to lose your hope, but the end-product might be very laggy.

    Note: I am not good at explaining myself, so...
  • WashingPowder
    13th Apr 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • meep2000
    13th Apr 2011 Member 0 Permalink
    ... I haven't run it yet but I've done calculations and determined that it should run at about 20 fps which is about the same... the screen is much smaller in my version. The main thing is that the electronics will work more sensibly.
    I have (on paper) designed the 4 basic gate types OR, NOT, AND and XOR. These SHOULD work
    only when I actually put them on TPT, a few things happened. First of all, semiconductors don't seem to conduct to
    NSCN. And a bunch of the other rules are nonsensical. And PSCN does weird things with semiconductors and insulator.
    And ARAY should propagate heat : BRAYs spawn with the ARAY's temperature.
    And HETR should be added (like HSWC only it tries to be the temperature it was at when it spawned)
    There should be ECND, which is electrical conductor. you may say "uhhh yeah that's already been done"
    but ECND doesn't conduct heat. I still don't get why they say having more elements laggggggs it.
  • Finalflash50
    13th Apr 2011 Banned 0 Permalink
    This post is hidden because the user is banned
  • meep2000
    13th Apr 2011 Member 0 Permalink
    It would be worth it to me. Just posting it here because I agree, it is interesting.
    I already said that FPS won't be very good. The primary advantage would be
    that I could mod it. Though I will try Code Blocks. The Ubuntu thing wouldn't work on this comp.
    Code::Blocks (I think it was?), here I come!

    side note : I did some testing and now I've fixed the 4 gates. They're all in 4x4 pixel squares too
    which is pretty good I think. They're saved as stamps now :)

    side note : Code::Blocks is working and it be compiling nao :D
    side note : it says it can't find bzip2.dll
    ... dang it.

    uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
    uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
    that can't be good. It says it cannot find "DecodePointer" in "KERNEL32.DLL"
    this is bad. this is very bad. Dwarf Fortress complained about that too...
    @-@

    can I just say that my computer REALLY SUCKS?
    anyways I found a really easy way to make ARAY about 1.2 times as useful.
    you add one line in this one spot in aray.c that says something like this

    parts[np].temp=parts[i].temp

    so nao the temperature is copied
    so if ARAY is at like 600 degrees it will burn through wood :D
    if I could get it to run D:
  • jamesoleruster
    13th Apr 2011 Member 0 Permalink
    My computer sucks not because of the BSODs and stuff like that, but it weighs so much! The stuff in it's bag is like maybe 3 pounds, and the computer itself is 11-12 pounds! When I set it down to get up, it makes a bang on the desk.
  • meep2000
    13th Apr 2011 Member 0 Permalink
    my computer weighs at least 40. :)
    and could this thread PLEASE STAY ON THE SUBJECT of having TPT in Java
    and not how our computers suck?
  • Plasmoid
    14th Apr 2011 Member 0 Permalink
    This post has been removed: Necro
Locked by Lockheedmartin: Nevro