sqiddster's Forum Posts

  • Obviously it will depend on the game.

    Keep in mind that layout size does not effect performance, but number of objects does.

  • System actions.

  • Nah, it's definitely a limitation of the editor. I don't even know if js supports them.

  • Ribis Webstorage is not deleted when the cache is cleared afaik.

  • I don't think there's a way to do this within Construct 2 itself.

  • I'm pretty sure C2 (Or maybe the browser itself) does something internally to *stop* what you're trying to do, from happening. Basically, if it's a different C2 project, it won't read/write to webstorage values from another project, even if they have the same name. It makes sense when you think about it in the context of browser gaming - if I'm playing 2 different games at different times in the same browser, and they both have a key called 'score', you obviously don't want that value to conflict.

    In order to do what you're trying to do, you'll either need to find where NW is saving the values (I haven't looked into this, I think it's somewhere in appdata) and do something with that, or, you'll want to create your own save file using the NW plugin's file i/o features, and monitor where users are installing each 'episode' so they can all access that file.

    There's probably another way to do it, but those are the options that first come to mind.

  • Do you know what calculations you want to make, you're just having trouble implementing them? Or do you not actually know what calculations to make (in which case I don't think anyone will be much help, since it's your game )

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's definitely non-trivial, and I haven't looked at your capx. But basically you'll need to lay down a series of points as you're drawing, and have the character follow those points one by one.

  • I really wish you could more fancy stuff like texturing a curve.

    Here's how I do it, it's just hand placed elements.

    The middle sections is just a solid colour, so it was easy to fake it by just underlaying a bunch of stretched rectangles. The rocks are also just sprites with 'bundles' of rocks placed manually.

  • I really wish C2 had these

  • Are you looking for elliptical motion, or motion along the path in your image there? Both are very different

  • I'd say just use 2 or 3 repeating tiledbackgrounds moving across at different speeds.

  • When an object is created, its instance variables are set to the default values. So if I follow correctly your code won't work, since you'll be only adding to the values of the existing monsters.

    To solve the problem, add some globals called enemy_hp, enemy_exp, enemy_dmg etc and add to those. Then, when spawning an enemy, set it's instance variables to those globals.

  • Make the camera scroll to a point below the character? Scrap the scroll-to behaviour on the player and scroll manually using the 'scroll to position' action.

  • Well, you won't want to scroll to the player, you'll want to scroll to a point above the player. Scrap the 'scroll to' behaviour and use the 'scroll to position' event. Then do something like, scroll to X (player.X) and scroll to Y (either Player.Y - SomeValue, or simply a constant SomeValue, depending on what you're after.)