GeometriX's Recent Forum Activity

  • Laurent, I'd suggest adding an event on ball collision with the wall, drop the drag and drop, and set the ball physics bullet property to true.

  • It's funny how often this topic comes up. Here's an example that I made a while ago for someone else: example capx.

  • The platform behaviour doesn't seem to like the way you've set your ground tiles. It's getting stuck between the tiles.

    EDIT: Just saw Tekniko's response. I guess it's a combination of the two issues.

    I recommend two things: first, use the tiled background object instead of individual sprites. Then, for the actual collisions of your player on the solid ground, use a single invisible sprite that's been stretched to fit the space. It can start off as small as a few pixels either way, then just use the handles to stretch it to size.

  • You need to share the capx for your project, not the caproj. File -> Save as single file.

  • When you pin an object to another one, the pinned object uses its current position relative to that object as its base position. You can move the pinned object to anywhere on that receiving object that you'd like, but once you pin it, it'll stay in the same relative position to that object, just duplicating the receiving object's change in position and angle, but not its actual position and angle.

    So, first move the object to exactly where you want it to be, then pin it. If you want it to move to an image point on that object, then move it to an image point.

    If the receiving object is animated in such a way that this image point moves or otherwise changes, then the pin behaviour is not suitable. In such a case you should rather use every tick -> set position to object, and specify the image point in the action.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is GPU/CPU overhead for running multiple instances of the same sprite, but in terms of memory usage it's treated as a single object.

  • It'd be the same thing, since sprites are fully loaded into memory (with every single animation and frame) as soon as the layout starts.

    Also, relevant. If you're really haggling for memory then you should probably just use one or two base layers as tiled backgrounds, then sprinkle them with sprites to add variety.

  • Pinning is pretty straightforward:

    1) Create the object to be pinned, and the object to be pinned to.

    2) Give the pinning object the pin behaviour.

    3) Either in the layout or the event sheet, set the pinning object to the correct position on the receiving object.

    4) In the event sheet, select the object -> set pin -> receiving object.

    If you don't come right, post your capx so we can take a look.

  • There are a number of touch tutorials that cover this topic in detail:

    scirra.com/tutorials/398/touch-stick-controllers

    scirra.com/tutorials/189/on-screen-touch-controls-for-button-games

    scirra.com/tutorials/202/touch-controls-and-a-trick-to-detect-input-method

    Also read this manual entry on the subject: scirra.com/manual/119/touch

    But basically, the easiest way is to use on-screen "buttons" (sprites) that the player taps instead of the physical keyboard buttons. And in this case, you'd then create events to simulate control of the 8-direction behaviour and shooting mechanism.

  • sosensible, we encourage people to post capx files that they're working on, purely so that people who do wish to help can download the files, have a look through them and give suggestions based on evaluating the project, rather than simply guessing as to the inner workings of it by playing it online.

    It also allows those who wish to help to simply edit the broken capx files and re-upload them, usually with an explanation of what was fixed and how.

    While people can share their capx through the Arcade, Dropbox is by far the simplest method to upload and share these files.

  • keepee, ah, cheers for that. Makes sense.

    sosensible, Dropbox is the de facto standard for sharing files around here.

  • sosensible, uploading to the Arcade is a waste of time for these quick fixes. People much prefer to download the capx directly from Dropbox - it's hardly a random site :P

    fassFlash, my pleasure.

GeometriX's avatar

GeometriX

Member since 23 Aug, 2012

None one is following GeometriX yet!

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