korbaach's Recent Forum Activity

  • I have a player with the physics behavior and i have a platform with the solid behavior

    Physics behavior

    .. Physics won't respond to objects with the Solid or Jumpthru behaviors. These behaviors are totally redundant when using Physics and have no effect. Instead, use the Immovable property...

    so..you nedd to add Physics behavior to platform also...and set to Immovable...

  • really nice find

    I'm totally overlooked this very useful rexrainbow plugin...rex_XMLWriter

    array

    "{""c2array"":true,""size"":[5,2,1],""data"":[[[""width""],[150]],[[""height""],[200]],[[""zi""],[3]],[[""dx""],[400]],[[""e""],[""true""]]]}"[/code:1cwliotr]
    to:
    [img="http://lookpic.com/O/i2/618/lOIPwhJu.png"]
    
    [url=https://app.box.com/s/3nmv5sg88or3q64wwrat61thq2bc0c7e]arrayXMLWriter.capx[/url]
  • Don't be...

    I do not know the meaning of all tags..and it is not very complicated

    [quote:3s3q6sxs]{"c2":true,"w":{"x":7093.726399997016,"y":204,"w":151,"h":151,"l":8722530541249526,"zi":0,"hX":0.503311276435852,"hY":0.503311276435852},

    "behs":{"8274350867031877":{"acc":0,"g":0,"dx":400,"dy":0,"lx":7087.059999998659,"ly":204,"lka":0,"t":6879.726399997016,"e":true},"4769858671535691":{"r":10000,"c":6.283185307179586,"t":[]}},

    "data":{"a":5940657200540929,"f":0,"cas":5,"fs":0,"ar":0,"at":0,"rt":0}}

    "x"=X

    "y"=Y

    "w"=Width

    "h"=Height

    "l"=?

    "zi"= Z Index

    "hX"=OriginX

    "hY"=OriginX

    .....

    "behs"=Behavior

    "acc"=Acceleration

    "g"=Gravity

    "dx"=SpeedX

    "dy"=SpeedY

    ........

    "data"(Animation)

    "f"=Frame

    "cas"Animation speed

    "rt"=Reapet to

  • Lets say i have the following JSON string of a simple object.

    this is the Sprite with bullet behavior?

  • If you use more than 9, then you can't write variable like this

    sequence =0348

    because it is now impossible to determine your squares IID

    0348=

    0-3-4-8

    0-34-8

    0-3-48

    so,, you need to use separator between numbers..and if you use separator ,

    you need to use tokenat

    [quote:1qyrncz8]tokenat(src, index, separator)

    Return the Nth token from src, splitting the string by separator. For example, tokenat("apples|oranges|bananas", 1, "|") returns oranges.

    tokencount(src, separator)

    Count how many tokens occur in src using separator. For example, tokencount("apples|oranges|bananas", "|") returns 3.

    I think it is much better&easier to do with arrays..but for now..

    sequence_tokenat.capx

    Edit:

    sequence_Arrays.capx

  • Browser

    Browser actions

    Vibrate

    Vibrate the device with a given pattern, if the device/platform supports vibration. The pattern is given as a comma-separated list of times in milliseconds, alternating between vibrate time and waiting. For example the string "200,100,200" specifies a 200ms vibration, 100ms pause, then another 200ms vibration. This allows a single action to specify a whole vibrate pattern.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
korbaach's avatar

korbaach

Member since 9 Sep, 2014

Twitter
korbaach has 3 followers

Trophy Case

  • 10-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies