Doc Ai's Forum Posts

  • Learn to read the manual and tutorials before anything.

  • Use sine behaviour

  • the question was too vague.How did you interpret it shinkan?

  • hmm.I think you should use Drag and Drop. and make some actions restricting the movement to up/down AND left/right.

    (^ is that what you want?)

    Let me think about something.

  • Hey post the capx so we can help you.

  • I have this capx(See attachment).Oh New forum has attachments posting available?Thank you scirra.

    At the start of the layout,global variable "next" chooses something from 0 to 30.

    Then the Sp1 is created on Map.TileToPosition(next).

    What I want to do is,If there is an object Sp1 already in that Area(Overlapping area),Create it in the nearest possible Map.TileToPosition without overlapping.

    I can't find any way around this.Any help?

    [attachment=0:1gx51eqa][/attachment:1gx51eqa]

  • Nope.

    0 is both a number and the numerical digit used to represent that number in numerals. It fulfills a central role in mathematics as the additive identity of the integers, real numbers, and many other algebraic structures. As a digit, 0 is used as a placeholder in place value systems.

    I don't know about Programming though.

  • If it's for Ashley's eyes only,how did you see it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What kind of game are you talking about?

    To make the sprites move up AND down OR left AND right ,use sine behavior.

  • CC had a feature to change it.Not sure of C2.

  • Just reading the manual and making things is not very easy.

    source:My experience

  • What's the need of such a large background image?It made the game 1.5mb larger

  • You are dealing with x on the infinite runner template.Here, you should deal with y.

    Note that the background height should be 2X the original image,So that it works correctly.Think for yourself.

    Also no need of bullet behavior for the player.

    https://dl.dropboxusercontent.com/u/260 ... inggg.capx

  • I will assume like that,

    In game over layout,Make another Global variable called totalcoin

    Webstorage Local key "Coin"exist -Set total coin to webstorage.LocalValue("Coin")

    Coin>totalcoin - set totalcoin to coin

    trigger once, - Webstorage Set local key "Coin" to ""&totalcoin

    -Set text coin to Your total coin is: & Webstorage.LocalValue("Coin")

  • What coin thing are you talking about?

    I will assume that you are doing this:

    When the player touches a coin,Global variable Coin increases by 1.

    When do you want to save?Game over?