The Powder Toy App (with ideas to reduce lag)

  • pocketMAD
    25th Jul 2012 Member 0 Permalink

    Hello TPT community, i'm pocketMAD. I love TPT and I have been playing it for less than 3 months. Best powder simulator ever. And that's my introduction.

     

     

    The TPT app for iDevices would be a wonderful idea, but it would probably be the laggiest thing in the universe. So I have some ideas to reduce lag:

     

    • Dot limitation

    A dot limitation, like the one powder game has, would definitly reduce lag. Since the smallest iDevice out there has about 600000 pixles (right?), the dot limitation could range somewhere between 50,000 and 100,000.

    Unfortainetly, every element has different properties. And some elements' properties would cause lag. But instead of a general dot limitation, there would be a limitation for every element based on its properties' complications. 

    For example:

    Water: 10000

    Star(life):2000

    Etc...

    • Drop some elements

    That's right. Drop some elements. There are many elements that could be left out of the app version to reduce lag. A lot of the special and life elements could be left out. 

    However, this would mean that we would need to drop the option where we can look at other peoples' uploads. But I also have an idea to walk that con: there can be app-friendly uploads. In the TPT (the normal one that's on your computer) under the little checkmark picture, there can be a option where it would say "App-Friendly Mode." If you check mark it, it would activate the ideas I proposed. (dot limitation, etc.) 

     

    I hope you like my ideas! I would enjoy some feedback!

  • mniip
    25th Jul 2012 Developer 0 Permalink
    I've tried running tpt air stimulation on android
    4 fps
    and that's only air
  • pocketMAD
    25th Jul 2012 Member 0 Permalink

    Didn't you read my post? I had multiple ideas to reduce lag and I clearly said the app is for iOS.

  • MasterMind555
    25th Jul 2012 Member 0 Permalink

    @pocketMAD (View Post)

     Good ideas but you left out the obvious such as having bigger pixels, which would considerably reduce the particle count and make the elements much more visible. If we make the particles 4x4 pixels, the maximum we could fit would be 38400. So that would help alot. We would also need a menu, which would reduce the amount of space left.

     

    But even then, it would lag way too much. So we would need to cut some things such as air or heat simulation, or both. Of course it wouldn't simulate anything advanced. Then maybe it wouldn't lag too much without complex elements.

     

    But is it still worth it after all those cuts?

  • pocketMAD
    25th Jul 2012 Member 0 Permalink

    Well obviously YES! The menu can be made with something as simple as HTML. (you get my point)

     

    And would perhaps making the app internet-vital reduce lag?

  • Candunc
    25th Jul 2012 Member 0 Permalink

    Powder toy does not comply with Apple's App Store Rules, requiring a jail break to install. I like the idea though, but I think TPT would be great mobile, but more limited like the version before this started up.

  • PacBrad
    26th Jul 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • billion57
    26th Jul 2012 Member 0 Permalink

    Cuts are necessary, but...

     

    Why don't we start with an old version of TPT?

  • jenn4
    26th Jul 2012 Member 0 Permalink
    @pocketMAD (View Post)
    Your Apple product doesn't run TPT. It's too slow. @mniip enabled only air simulation on his android device, it ran at the speed of 4 fps, your iOS may be little faster, but it wouldn't be more than 6fps with only air. With elements, gravity, heat, etc... it wouldn't run at all.

    It wont run at sensible speed at any device, with any version of TPT. Even air, without anything else makes it too slow! Believe it.
  • boxmein
    26th Jul 2012 Former Staff 0 Permalink
    @pocketMAD (View Post)
    If it's internet vital, it spends way more time on requests and waiting for responses than it does doing something important.
    HTML can't be used in an iOS program unless you tag on a rendering engine for it. That's ~10-30MB extra code and lag.