GeometriX's Forum Posts

  • Ashley, Sure thing, I'll try to recreate the situation in a simple example and will send through a report. This current project is for offline play so I've only tested on Chrome and NW.

  • Ashley, I'll give you the exact scenario in which I noticed it killing performance. I have a tiled background that covers an entire layout which is solid black and 128x128 and set to 50% opacity. When I switched to a 9-patch to do this same thing but with rounded edges, I found that performance was absolutely crushed.

  • 9-patch kills performance - it's not nearly as resource-friendly as tiled backgrounds.

    When importing art, test as you go. No point in dumping in everything in one go and then testing. Graphics are the biggest performance killer in C2.

    I spent a lot of time optimising my artwork as I got it in from the artist. You can't simply drop in whatever comes through and expect everything to be smooth. Battlefield 3 was built by a team of skilled engineers and artists who work to spec, and the art pipeline is one of the most complex parts of any AAA development program.

    The quality of the PNG won't make any difference at run-time, it only affects file size, but as soon as you have multiple transparent and semi-transparent images all on top of each other and/or moving around, you can expect performance to suffer.

  • You should rather export your song as .wav from Audacity, and then import that into Construct, which will then automatically convert the .wav to .ogg and .m4a formats, which covers all the platforms.

  • Pantaloons No problem. I've still got the example, just rearranged my Dropbox folder a bit since I originally posted. Here's the current link.

  • You could use something like rexrainbow's System Time Plugin - calculate the elapsed time between visits compared to a timestamp that's constantly ticking away. If the timestamp and the system time are different, you know some time has passed.

  • Sorry, I usually comment my examples but I was in a bit of a rush.

    So, there are a few ways to do this. The most simple way is with a single event, something like Touch -> Is touching object | Dial -> Rotate 5 degrees toward (Touch.X, Touch.Y).

    But that limits the player to having to keep their mouse/finger on the dial the whole time. I prefer to allow them to initiate the touch while on the dial, but then they can move their mouse/finger anywhere on-screen and the dial will follow the mouse/touch.

    To achieve this, I used a dummy object that is created when the user touches the dial, and is destroyed when they release the touch. But the dummy object will always follow the player's finger, no matter where it goes on-screen, and the dial will always point towards the dummy object, not the finger, which means the player can move their finger wherever they want and the dial will adjust accordingly.

  • <img src="https://dl.dropboxusercontent.com/u/14522925/Images/LOL.gif" border="0" />

  • I'm not sure whether or not the savegame system can be accessed by WebStorage. I know that it uses the system, but I don't think it does so in the same way as the WS object. I don't think you can access the keys, for example.

    Checking whether a save game exists is a matter of running the Load game action, which will either load the save game if it's found, or report back that it can't be found. In the latter case, you'd use the On load failed action to tell the player that the game can't be loaded.

    Clearing savegames seems to be a feature that's missing, frankly. I can only suggest that, to create the impression of deleting a savegame, you clear all global variables and WS data, then save over the current savegame at the game's main menu. Either that, or perpetually create new savegame names, and only ever make the last one accessible - although that'd get pretty messy over time.

    Personally, I don't use the savegame system, at least not for my current project. I much prefer to use WebStorage where I can focus on saving exactly the data that I want.

  • Easiest way would be to use three layers, with two images for the waves: one in the foreground and one in the background. Place the fish on a layer between the two waves.

  • Here's a fairly simple way to do it, although there are many other ways. Note, I'm using the touch object here, but you could replace it with the mouse object if necessary.

    Example capx.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'd suggest something like: If the player is overlapping the water, set platformer gravity to zero unless the item is held (check a variable). The bobbing motion can be achieved with the Sine behaviour.

  • Bit late to the party but I'll chime in here anyway: totally agree with the OP and pretty-much everything that's been said, especially about a few particularly rude or entitled newcomers. I'm a relatively new user myself - been here a year and have very little game development experience before C2 - but between the forums, manual and tutorial, and of course a lot of experimentation, I got to a point where I'd consider myself a pretty competent user.

    But then, and this is a weird thing that I didn't expect to happen, I found that helping others was perhaps the greatest learning tool I used. People would ask for a way to solve problem x, and I'd think "gosh, that's a good question, I wonder how that would be done," and then I'd go off and figure it out - often using bits and pieces of information scattered around the place - and return with a capx and an explanation.

    And the few time I've been completely stumped, there's been someone with a far greater knowledge of traditional programming and/or math to swoop in and offer me advice.

    Honestly, this community is the most helpful I've ever been a part of, and that includes another forum that I actually run :P

    Scirra forum is the perfect embodiment of that which helps those who help themselves.

  • This is getting very messy. You've got to find a proper way to do the voting (and judging). Don't rush it, just get it right. LD runs through five rounds of voting, which I think is a smart way to do things.

    Also, those nouns all conjure up pretty similar images in my head. Smash, war and blood especially, and then gold and earth. Bit seems far too arbitrary.

  • Personally, I'd love the option for adjustable beziers in the poly editing tool, but I can only imagine the toll it'd take on performance.