sqiddster's Forum Posts

  • Yes, in a general case, (angle + 360)%360 is nice to quickly convert angles to positive.

  • Yeah, but that's a bit fiddly because the function would only work for one specific array or a family of arrays. The other way to do it would be to use the .asJSON as the function parameter.

  • You could always write a function for this... although it would be a bit fiddly since functions can't take arrays as parameters.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In my opinion, using Construct 2 is coding, just doing it in a different way. You will learn many coding concepts etc but without the hassles of syntax errors, memorizing syntax, etc

  • I'd perhaps change the rules slightly - you mentioned that the game should be played by only one player. In such cases, most of the dev time would go towards creating a fair AI for the other player, but AI fairness is rather hard to measure.

    It would probably be better if the Pong game was made for 2 players.

  • Good question - I'm not sure if it represents VRAM, RAM, or both. I think it's just VRAM.

  • Depends on the type of game, how many objects you want onscreen at once, texture resolution, etc. Very hard to say.

  • Yeah, the only way to do this really well is with the canvas plugin, or the paster plugin. Canvas if you don't use webGL, Paster if you want to use webGL.

  • 1. Maybe, but doesn't that handheld run PC games too?

    2. Yes

    3. No, you can just make your images at the highest resolution and C2 will automatically scale the game down based on your chosen fullscreen mode.

    4. Yes

    5. Yes (within reason)

  • Great to hear!

  • Perhaps you misunderstand - webstorage saves specific variables, and is a separate mechanism to the system 'save' and 'load' actions.

  • Use webstorage.

  • The way I'd do it is:

    for each element:

    local variable choice = 0

    Set choice to random(1)

    if choice < 0.6, set current value to component A

    else set current value to component B

  • If you don't want to do any programming, but still want a good amount of freedom, C2 is probably the way to go. Keep in mind that on mobiles ATM there's no memory management which could cause a problem if you have lots of full-screen or large images.

  • Unfortunately C2 doesn't have object-specific masking ATM, so the only solution to put the player and the trees on different layers. Of course, as you have stated, this leads to other problems so it probably isn't the best solution.

    I'm stumped. There's probably a way to do it, but nothing comes to mind.