silkc2's Recent Forum Activity

  • Put Alpha, beta and gamma into a textbox and see what it tells you.

    Like here

    dl.dropbox.com/u/116137178/Bugs/Construct2/Touch/TouchBug.capx

    I'm having an issue whereby an android tablet changes the gamma and an android phone changes the beta, so really no idea what to do to sort it.

    Have reported it with Ludei as smells like a bug.

  • All I'm doing on that if statement is making sure the frame number I set can't go above the max frames in the animation (3).

    The AnimationFrame property is 0 based so my three frames are 0, 1, 2.

    AnimationFrameCount, like any count field will return the literal number of items, so it'll tell me there are 3 frames. I can offset this by -1 to ensure I'm checking the last actual frame number has hit my max frames.

    In this case AnimationFrameCount-1 = 2.

    If my sprite is already on frame 2, I don't want to add 1 as frame 3 doesn't exist. So instead I go back to the start i.e. frame 0.

    In any other situation I'm happy to add 1 to the frame, so I just catch that in an ELSE.

    This approach means my code will work no matter how many frames are in my animation. I never use hardcoding if I can help it.

    You should also go through the tutorial if you haven't yet, it's a good start.

    scirra.com/tutorials/37/beginners-guide-to-construct-2

  • Physics are fun.. :D

    It isn't too hard, the main difficulty I had was getting my head around the quirks of c2 itself and how it behaves with newly created objects.

    See for your grapple I was thinking apply a solid physics push to the staple to send it flying with all the physics worked out for you, and the chains linked to it (dynamically created), also using physics (but not collisions).

    It's just theory crafting, I haven't done a grapple mechanism myself.

  • The Webstorage object itself supports two types of storage: "Session" and "Local".

    "Session" is just for the scope of that web page / session.

    "Local" is saved on the device until cache is cleared. This is the one you must use for CocoonJS.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On my work monitor it's a barely noticeable blur. I will try on my fancy gaming monitor at home tonight & let you know.

    I haven't used a separate player object in any of my games.. just check your bounding boxes are correct (on each animation frame they must be the same too).

    e.g. I can see on the "stand" animation the bounding box isn't on the bottom of the frame, where his feet are. So this causes the wobbling.

    Using a separate player object to peg to was hiding the real problem.

    I've saved over the file so you can check the link again to see what I mean. He is now smooth. :)

  • I think I see what you mean, but isn't that just the effect you get on older monitors, sometimes called "ghosting"? It would probably look worse on laptops.

    I think the blurry-ness is lessened by reducing his speed.

    Also I don't know if it was intentional but there's really no need for a separate / pegged player object.

    See here:

    dl.dropbox.com/u/116137178/Help/HelpWithPlatform.capx

    I got rid of the player object and fixed some of your animation (it was jerky because you had bounding box different on different frames of "running").

  • I think you are possibly over-complicating this. Have you considered using physics and revolute joints on your grapple and grapple chain?

    With help from ramones I built this "dynamic" rope creator where I work out the segments I need and chain them together using joints (Hold mouse to start a bridge, release on a diff block to build the bridge), I can see a similar thing working for your grapple.

    dl.dropbox.com/u/116137178/GamesDev/Bridge3/Bridge3.capx

    Just make sure you remember to turn collisions off between staple and chain objects. :)

  • Hello! Welcome to the forums. :)

    It could be that you are simply forgetting to "stop" the animation on start of layout?

    In either case here's an example of the full answer:

    dl.dropbox.com/u/116137178/Help/HelpWithAnimation.capx

    (I can't hyperlink yet, so just copy n paste it)

  • Hmm when I go click the "forum" button on Ludei's site I get a blank page. Might be work restrictions (bah) so will try at home later.

  • Good, just checking because I want to use width as a measure of "ink expenditure" if you like.

    Thanks both. :)

  • Hiya

    Yeah my game is Landscape.

    Cocoon cloud compilation settings are landscape left, landscape right and "Scale to fit".

    I've tried both using the zip file in the cocoonJS launcher, and also fully compiled as an APK.

    I haven't tried in a browser on either device.

  • Velo - Superb job so far. c2 is sorely missing the multiplayer aspect.

    I am surprised that there are no official c2 devs posting here..

silkc2's avatar

silkc2

Member since 28 Jan, 2013

None one is following silkc2 yet!

Trophy Case

  • 11-Year Club

Progress

11/44
How to earn trophies