logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Feature Request: For Each Object OnScreen

    Scheduled Pinned Locked Moved
    Comments & Feedback
    3
    5
    132
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Deeeds
      last edited by

      Just as the title says, an iterator of the objects currently visible.

      Not much use for single screen games, but anything using a "camera" benefits.

      KamdroidK Aidan_FireA 2 Replies Last reply Reply Quote 0
      • KamdroidK
        Kamdroid @Deeeds
        last edited by

        I agree, it’d be really good for making your game more optimised by only updating objects visible on screen.

        1 Reply Last reply Reply Quote 1
        • Aidan_FireA
          Aidan_Fire @Deeeds
          last edited by Aidan_Fire

          While it would make things easier, you know you can do this already? It involves a bit more than just an option on a behaviour though.

          D 1 Reply Last reply Reply Quote 0
          • D
            Deeeds @Aidan_Fire
            last edited by

            @Aidan-Oxley Almost every single time you come with the same approach.

            Yes, I know a lot of things I suggest can already be done. Some with the most massive work arounds imaginable, others rather more simply.

            It's not the point of these requests, and I didn't think it necessary to point out the obvious:

            -- much of my suggestions are for easier, more abstracted, less code, simpler, intuitive, painless features that game engines can benefit from and those making games can enjoy. They're empowering simplifiers, some of them.

            In this case... it's much more important to do lower. It's far faster if this is an operation done at a lower level within cocos2D than if it's done with a blend of positional detection and tagging/state/attribute changes in hyperPad.

            That should also be obvious.

            Aidan_FireA 1 Reply Last reply Reply Quote -1
            • Aidan_FireA
              Aidan_Fire @Deeeds
              last edited by

              @Deeeds Was just making sure you knew.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post