Make Powder Toy larger

  • CatIsHappy
    14th May 2015 Member 2 Permalink

    Powder toy's game resolution is 611 by 383. This allow's 234,013 particles on the screen at the same time.

    Is there a way to increase the size of the screen to allow more particles?

    Edited once by CatIsHappy. Last: 14th May 2015
  • Hellome
    14th May 2015 Member 1 Permalink

    You can make the window larger by clicking on the tick in the bottom right of the screen and enabling large screen, but you cannot increase the amount of pixels, I would be very supprised if you get a decent frame-rate when you fill the screen with an element.

     

    Technically, you can increase the pixel count if you mod the game, but you will need to compile it yourself, this may break stuff and you won't be able to save to the server.

  • Lord_Bowserinator
    14th May 2015 Member 0 Permalink

    Yes. You can download the source code, create a mod, go to config.h, change the WINDOWX and WINDOWY (I think) and there you're done. Now just compile.

     

    Or you can download the versionsomeone already made

  • boxmein
    14th May 2015 Former Staff 0 Permalink
    @CatIsHappy (View Post)
    612 x 384 - the 0 coordinates count too :D

    But yes, as @Lord_Bowserinator (View Post) said, you can go change the XRES/YRES variables in the source code and make a mod. However, saves made with that can't really be saved on the save server, since most players will not be able to use saves that big. TPT will just display an error.
    Edited 2 times by boxmein. Last: 15th Aug 2015
  • boxmein
    15th Aug 2015 Former Staff 1 Permalink
    Here's a god-awfully large version of TPT that I said I would make :D
    (3672 x 2304)
    git diff: http://static.boxmein.net/bin/tpt/various/powder-90.2-3672x2304.diff
    Windows 32-bit (see note 2): http://static.boxmein.net/bin/tpt/various/powder-90.2-win32-3672x2304.exe
    Linux 64-bit: http://static.boxmein.net/bin/tpt/various/powder-90.2-lin64-3072x2304
    Linux 32-bit: coming maybe

    lag farm version, windows 32-bit: http://static.boxmein.net/bin/tpt/various/powder-90.2-win32-lagfarm.exe
    (This version also includes 1-pixel walls and air simulation :O)

    Note: this will be very slow :O
    Note 2 (Windows only): I didn't compile this statically. Stuff some of these DLLs next to the executable: Downloads

    edit: Dropbox -> S3
    Edited 6 times by boxmein. Last: 10th Jan 2017
  • oldmud0
    16th Aug 2015 Member 0 Permalink

    Static simulation size anyone can do with a simple setting.

     

    But Algodoo/Phun-like dynamic expansion, that I would be very interested in. It would require a great overhaul (abstracting the simulation display), but I think it would be for a good cause.

    Edited 2 times by oldmud0. Last: 16th Aug 2015
  • 12Me21
    8th Oct 2015 Member 0 Permalink

    Why was 612 x 384 chosen as the size anyway? It seems kind of random .

  • Lord_Bowserinator
    9th Oct 2015 Member 0 Permalink

    @12Me21 (View Post) It's because of the borders.

     

  • anakPelajarIndo
    29th Oct 2020 Member 0 Permalink

    that is the downside of this game

     

    @boxmein (View Post)

     most windows programs can run on linux

     

    Edited once by anakPelajarIndo. Last: 29th Oct 2020
Locked by LBPHacker: necro