GeometriX's Recent Forum Activity

  • Not all browsers support ogg, so it's best to let C2 do the conversion. Take your MP3 and convert it to wav, then import it. Construct will make two versions: an ogg and an m4a. Between those two formats you've got all your bases covered.

  • Put this in the layout event sheet:

    System: On start of layout -> System: Set TotalKeys to Keys.Count

    It'll automatically set the total keys the player needs to collect to the number of keys.

  • You left out the http://, and don't forget to put the address in "".

  • Using any tool incorrectly, knowing what it is and how it works, is simply the wrong way to do things.

    Particles work as well as they do because they're so light in terms of CPU usage. If the engine has to track UID, position, rotation, animations/frames, collisions and all the other things that people would want (and, trust me, I'd love these features too), then the particle object as a whole would become useless for everyone else.

    Admittedly, having optional toggles for these various things would be handy, but I wouldn't say this is a mandatory feature.

    Making your own emitter using a spawn object and bullet-based sprites really doesn't take that long anyway.

  • There's nothing to solve. The physics behaviour doesn't play well with anything else that sets position/rotation, including all movement behaviours.

    It's possible to get something passable with a lot of tweaking, but the results will very often be unpredictable. Ideally you should stick to either all physics (using forces, torque and impulses for movement), or no physics for each object in question and the objects with which they interact.

  • Not sure why you're using a distance joint. Revolute is what you want. Also, don't use the rotate behaviour; it'll mess with the physics stuff - rather apply torque. Also be sure to tweak your angular damping accordingly - that's their rotational friction, so to speak.

    Here's an example (r136).

    Damnit, now I want to make a physics puzzler :P

  • I haven't played around with audio that much, but it seems to have that feature automatically, as seen in this example.

  • Paradox, Sure, you'd think so, but on a logic level the objects are still in the same place. Rotating the layout/layer is simply a visual change presented to the user.

  • This is why you should test as you go along. Never assume that everything will be fine after you've made loads of changes.

    I don't feel like trawling through your entire game, but I'll tell you where I'd start: cut out massive chunks of the game and see how performance is affected. Then narrow it down until you find the culprits.

    It's probably physics, though. Or particles, if you've got those. Particle effects murder performance on mobile.

  • You've got a lot of mixed things going on there, which breaks the physics behaviour. Don't use set position, don't use 8-direction, don't use anything that manually overrides the physics behaviour.

    Instead, rework your project so that any object involved in the physics interactions is set to use physics forces, impulses and/or torque. Anything else that doesn't directly affect the positioning of physics objects (like the box front) should not have the physics behaviour.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I don't see that as likely to happen. Rotating layouts/layers only affects the visual representation of the game, not the logic. No behaviour, like bullet or 8-direction movement, is affected by the rotation.

    Depending on your purpose, you might find that simply rotating a central object that the audio sources are pinned to, to be sufficient, as seen in this example.

  • Thanks, that's very useful. I do wonder if the ton of extra permissions that come with a CocoonJS game will have an impact here. Sure would be nice if we could slice off the permissions that we don't use.

GeometriX's avatar

GeometriX

Member since 23 Aug, 2012

Twitter
GeometriX has 1 followers

Connect with GeometriX

Trophy Case

  • 12-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies