codah's Recent Forum Activity

  • looks like I misinterpreted the OP He did want random equations!

  • Have you looked at using a container? That can help with some aspects of 'grouping' objects together.

  • Edit: ignore, misread the OP sorry

    [quote:3rmyn1y1]Local number MyVar = 0

    System:Every Tick -> System: Add 5 to MyVar

    Note you don't really want 'every tick', I used that as a 'placholder' event. The above will add 5 to MyVar about 60 times a second <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Edit:

    This is probably where you should start in the manual https://www.scirra.com/manual/83/variables

    And also the word 'random' has many connotations, maybe 'arbitrary' would be better. Also you'll see references to 'expressions' in the manual which is what you meant by 'formula'. Good luck

  • Generally you will add a new array for each different purpose. It's just a data structure, don't hesitate to use it.

  • You do not have permission to view this post

  • Sure. (This assumes you're previewing in the Chrome browser.) Add a 'Browser plugin' object if you don't already have it. Then at strategic places in your events (where you want to see if an event has been triggered, or what a variable value currently is) add a Browser;Log action, and log some text. e.g. "Variable1 = " & Variable1 or "Function xyz() has been called" or whatever. Preview your game (doesn't have to be in debug mode) and hit F12 in Chrome. Choose "Console" up the top and interact with your game. For more info look up "Browser" under Plugins in the manual.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Chances of a C2 bug, about 0.1%. Chances of logic error, 99.9% You could post the capx. Do you have any debugging stuff in there? Like logging messages/values to the debug console? You'd find it in about 10 minutes I reckon.

  • Sorry man no time now. Add a Browser object and Log something at each event (e.g. angle value).. you will work it out.

  • One thing, it's looking for touch events on layer "wheel". Change Layer 3 to be Wheel

  • Oh right. I wanted the one that you tried and the wheel wouldn't turn for you, but I'll have a look.

  • Post your capx

  • hmm Chrome told me the zip is malicious and blocked it

codah's avatar

codah

Member since 30 May, 2014

Twitter
codah has 1 followers

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies