Ability to scale when pasting

  • lewster
    30th Jun 2013 Member 0 Permalink

    Hi,

    First off, I must say, I love TPT. I've had a bunch of fun on it, but probably one of the things that I have noticed which has been a slight annoyance to me is the omission of an option to scale things in size when, say, importing a saved stamp. I would like to see this option in future versions of TPT. I understand that when upscaling, some quality would be lost, as with downscaling. However, It would be really convenient for me, and hopefully a lot of other TPT users, as when I'm building stuff, and I think, "Hey, wouldn't that look great bigger?" (this happens a lot with me), It would be really handy to have such a tool. It would be similar to the Ctrl+R option to rotate, but with something like Ctrl+ +, or Ctrl+ -.

     

    If this could be implemented, I would be extremely grateful. Or if anyone knows of a mod for something similar, I'd really appreciate it. If this is already implemented, please tell me.

     

    Thanks in advance, Lewster

  • jenn4
    30th Jun 2013 Member 0 Permalink
    Well you could make this so every pixel is turned into a four-pixel block when scaling up, and if every four-pixel block is turned into one when downscaling. I am not sure if that would be helpfull at all...
  • lewster
    30th Jun 2013 Member 0 Permalink

    @jenn4 (View Post)

     It'd be helpful in some applications, such as if you wanted to scale up something, say a cannon or pixel art. But downscaling and electronics may cause some issues with the models and the functionality of said models

  • jacob1
    30th Jun 2013 Developer 0 Permalink
    breaking functionality in everything is the reason we haven't added this. We would have to somehow copy all the properties over to the new 3 particles, and if we weren't upscaling by exactly 2x, then there would be a lot of problems, it probably wouldn't work at all.

    downscaling could possibly work, but it has the same problems. We would have to pick the 3/4 of particles that would just disappear when doing it, and after that you wouldn't be able to upscale properly since you would have lost a ton of data.
  • lewster
    5th Jul 2013 Member 0 Permalink

    Would it be possible to have an adjustable resolution for the simulation? Because if that was so, then you could implement this feature. If you had a stamp created at a lower resolution, you could downscale it when in the higher resolution. Kind of in the way that one resizes a .JPG or similar. When upscaling, new pixels are created are around the source pixel, and when downscaling, merge 4 pixels into one. Is it possible to create a hybrid element for this to work? It would merge the properties of the other particles around it into itself. And btw thanks for responding so quickly, I'm a big fan of the work you devs put into this game. 

  • Oats
    5th Jul 2013 Member 0 Permalink

    It's actualy not that hard to do with current features.

     

    See save id:1116599

  • mniip
    5th Jul 2013 Developer 0 Permalink
    if you upscale linked soap, you'll get a lot of problems