sqiddster's Forum Posts

  • Yeah, apparently Node-Webkit has issues on Mac and Linux ATM but I can't imagine that continuing for too long.

  • Hey all,

    I've come to realize that C2 has a bit of a missing feature. If I select multiple different objects in the editor, and they are in the same family, their family instance variables can't be changed. This is a bit of an issue in my project and I can also see this being an issue in other large projects.

    What do you all think? Would this feature be useful?

  • Visually is is real full screen however apparently behind the scenes it isn't (i.e. it still renders background windows).

    There is an .exe file on export, however it uses some external files in the same folder. This isn't abnormal, most games do this.

  • I have noticed lag spikes with shaders in C2 - not sure if it's just my machine, or a more widespread issue. Of course, that's with many layer effects and at fullscreen resolution.

  • All black sprites seems like a graphics card driver issue. Try updating to the latest drivers.

  • I've also noticed lag spikes with excessive shader usage. It's probably your shader usage that's the issue, 1500 objects should present no problem to PC's today.

    Have you tried putting all the shadows on another layer and adding a layer effect? That might improve performance, but it might not.

    Your only other option is to manually recolor all the sprites and have a separate shadow object/animation frame.

    Otherwise, it's always possible the lag spikes are something Ashley can solve. Again, probably not.

    Sorry if this wasn't as helpful as you hoped :/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Arima

    I've been playing around with it for a few days. I can't really seem to find a solution - the problem lies with the 'on any touch end' condition.

    Here's a simple capx that shows the issue.

    You'll see that, often when you have two fingers pressed to the screen and release one, both TouchSprites are destroyed.

    Any tips?

  • Once you have a solid knowledge about arrays, something like this shouldn't be too hard.

  • Well I'm no artist - however some advice I can give regarding image size. Always draw your images as large as possible - you can always scale down but never up. However once in the game it's important too scale them as low as possible for memory reasons.

    Also, some examples of what you have done might help us offer some more advice.

  • Arima I think I see what you mean, however I'm having trouble destroying the sprites - if I use 'on any touch end' it destroys all of them, not just one.

  • You can do it with events and a bit of trig.

  • *Bump* This left the front page pretty quickly ;)

  • By a wrapper, I mean the 'guts' of the software is basically Chrome running your game, so performance will be like running the game in Chrome. However, to the user it looks just like a standalone exe.

  • 1. If you apply Pixel Rounding and Point Sampling on your project you should be able to resize without blurring. Keep in mind that C2's image editor is very basic, there are a variety of other dedicated tools out there that can do pixel art a lot better, which C2 can import very easily.

    2. Node-webkit is a Chrome wrapper that acts like an exe. This comes with the paid version of C2.

  • Hey all,

    I've been trying to implement Multi-touch in a game for a client. Basically, one finger is used to aim a turret, while the other presses various fire buttons.

    Here's my code:

    <img src="http://i.imgur.com/9XCKY4x.png" border="0" />

    The problem lies in event 326. Basically, you'd think the "Is not touching GameButtons" conditions should only apply to the touch I'm picking for the event. However, it seems to use it like a global statement - i.e. it will return true if any touch is touching a GameButton.

    Does anyone know a way around this? How can I tell if this touch is touching a GameButton or not, as opposed to any touch?

    Thanks!