• I need help with how to get parallax working

    4
    0 Votes
    4 Posts
    302 Views
    Aidan_FireA
    @Colymoly Not sure why @GameCRAZY didnt respond, so I made an example. Here’s the download link: http://bit.ly/2mUH3Rt The red object is the player controlled by the joystick, the green objects are objects on your layer that you can run into, the purple/pink/blue stars are the parallax background objects, each on their own layer creating a bit of a 3D effect. Parallax behaviours are in each star. (in case you don’t know how to use the download link: copy the link, paste into safari then the project will download so you can open it in hyperPad).
  • Rotational Paradox(?)

    4
    0 Votes
    4 Posts
    253 Views
    Aidan_FireA
    @Thecheater887 Oh I see what you’re doing. As long as the angle units (degrees vs radians) is the same as the units the sine and cosine use, it’ll work (hyperPad works in degrees, so if your angle was in radians it wouldn’t work).
  • Store and Modify a Colour with Code: Possible? How?

    31
    0 Votes
    31 Posts
    3k Views
    GameCRAZYG
    @Jack8680 Exactly!
  • Tips & Tricks

    11
    4 Votes
    11 Posts
    2k Views
    D
    Performance Tips: Put everything you don't need interacting with your main characters on different layers. Just do it. The performance gains are real. Make sure no images are stretched beyond 2048 pixels in any one dimension. Crop your images as tightly as possible in image editor to get rid of as much extraneous Alpha pixels as possible Use partial opacity sparingly, particularly on big images Try to make everything you can think of a spawned item. When in doubt, spawn and destroy the original Recycle particle systems by moving them to where you need them and restarting them instead of creating new ones Edit sounds in audio editor so there's absolutely no clipping. OpenAL/cocos2D tries to reduce clipping and does so in a very costly manner Don't be tempted to use the pitch change. It seems to be a live change and exasperates the clipping performance issue above. Record uniquely pitched sounds instead, and pick and play the ones you need Preplay your sounds, with silent volume if need be, so they're cached before they need to be played. I don't know why this works, but it seems to make a big difference. I thought we were beyond the time in history when we needed to do things like this for audio on iOS. Use Exponential eases on Colour changes with caution. They're costly. If at all possible, use Linear "eases". For colour changes, they're noticeably cheaper than others. Push everything you need to store into central arrays. Use them as global storage. Faster and lighter and more reliable than Value and Box Containers. Make everything you can into a Background image (not physics and not static/walls). Way less physics checking. If you can do this with things and not need to worry about them again, then you know these things are also suited to being put on another layer. So do that and forget about them. Use broadcast and receive for every single thing you can think of. All the time. This way you can centralise everything and find anything and everything you need in little managers. Animation manager, Sprite Manager, Sound Manager, Creation Manager, etc. Don't update labels frequently. They are unbelievably slow at any size that looks good.
  • HOW TO: Weld a tag group's members to a hub in gravity?

    23
    0 Votes
    23 Posts
    1k Views
    D
    @Aidan-Oxley btw, this is kind of normal for my experiences with hyperPad. I try something, and find something buggy, and then do a couple of restarts, and then move around it. Today's biggest accomplishment is that I figured out I can do this kind of rotation of a tag, so long as I don't do loops with Ease Out Exponential set as the curve type.
  • Two Receivers, inside one object, only one works?

    9
    0 Votes
    9 Posts
    404 Views
    D
    @Hamed no, no space. I duplicated the receiver to ensure it was exactly the same.
  • How to move Anchor Point with code?

    20
    0 Votes
    20 Posts
    762 Views
    Aidan_FireA
    @Deeeds Yes, I’m stupid. Didn’t look at what I was doing. Erm, maybe this doesn’t work for rotations, but it does for Move to Object, or Rotate to Object.
  • How to Set Pin Joint Motor Speed in Code?

    8
    0 Votes
    8 Posts
    260 Views
    Aidan_FireA
    @iTap-Development I always use set input field for things like this, rather than having a box container value inside the input field. Seems to be more reliable.
  • HOW TO: Ensure the sanctity of Actions?

    4
    0 Votes
    4 Posts
    181 Views
    iTap DevelopmentI
    @Deeeds yeah it was just off the top of my head...there is probably a better way, but i don’t have anything in mind right now🤷‍♂️
  • Collided Impulse?

    8
    0 Votes
    8 Posts
    250 Views
    D
    @Hamed In some cases, very rarely, I've seen massive numbers being reported. By massive, I mean those kinds that have "E" in them. Billions, or bigger. Further, I've tried checking both sides of a collision. Both doing the same, reporting zeros, 99% of the time. Sometimes the enormous numbers.
  • I can’t quite get this simple code snippet to work...

    1
    1 Votes
    1 Posts
    93 Views
    No one has replied
  • Sound Pitch Changes = Semitones/Tones ?

    1
    0 Votes
    1 Posts
    63 Views
    No one has replied
  • Array For Level Attempts

    12
    0 Votes
    12 Posts
    876 Views
    GameCRAZYG
    @Aidan-Oxley Yup, got it working.
  • Does save to file overwrite?

    4
    0 Votes
    4 Posts
    188 Views
    iTap DevelopmentI
    @Deeeds ok👍
  • When does a Set Input Behaviour Change a Box Container's Value?

    13
    0 Votes
    13 Posts
    956 Views
    KamdroidK
    @Thecheater887 https://hyperpad.zendesk.com/hc/en-us
  • How to import SpriteSheets and their plist?

    26
    0 Votes
    26 Posts
    5k Views
    D
    @Hamed In the most basic version, just force users (me) to use square images, in square values (64x64, 128x128, 256x256, 512x512 etc) as this is a pretty common limitation. Most designers and artists for games are used to this limitation.
  • Dictionary updated?

    8
    0 Votes
    8 Posts
    400 Views
    iTap DevelopmentI
    @Hamed 👍 thanks!
  • Is a dictionary or an array faster?

    3
    0 Votes
    3 Posts
    165 Views
    iTap DevelopmentI
    @Deeeds thanks!
  • Behaviour On: What does "Skip Events" mean?

    2
    0 Votes
    2 Posts
    93 Views
    iTap DevelopmentI
    @Deeeds if you turn a behavior on that has behaviors connected above it, it won’t trigger immediately. But if you turn on skip events, it will.
  • Forum formatting guide?

    2
    0 Votes
    2 Posts
    85 Views
    MurtazaM
    In the reply box there is a small text in the top right corner that says "Compose ?" click the ?. It will bring up a popup with formatting link. Or just go here: http://commonmark.org/help/