dop2000's Forum Posts

  • Are you planning to fill all 7000 rows manually in Construct editor? It would be much easier to prepare this table in Excel, convert to JSON and then import the file into C3. Have you tried that?

  • I don't know how it's actually made, but think of a 1 px wide line that starts at object1 origin point and ends at object2 origin point. Even if there is a very small obstacle blocking this line, the LOS will be considered blocked.

  • LOS "draws" a straight line between origin points of both objects, and checks if this line is crossing any obstacles. So the form and size of objects don't matter, only the position of their origin points.

  • I'm 3 minutes late, but here is my version:

    dropbox.com/s/s5zbbnglufo23zp/DotsGame.capx

  • "On Tiles clicked" event picks one instance of Tiles object. Inside this event Tiles now refers to only 1 picked instance, and that's why you can't check overlapping with other instances of Tiles. And TilesCopy acts as a different object.

  • Create a new family TilesCopy, change the event to this:

    Also, the origin image point in your sprites is way off, you need to set it in the center.

  • It will be much easier to help if you could share your project file.

  • This condition was removed in C3. You need to add "Platform info" object and use its conditions instead.

  • Create a blank project, add an array, dictionary and Browser object.

    Add some values to the array, some keys to dictionary, add actions:

    Browser Log Array.AsJSON

    Browser Log Dictionary.AsJSON

    Run the project, press F12 and see console messages. This will help you to understand what is JSON and how it works.

  • Ok, then make a copy of this family and use "Tiles is not overlapping TilesCopy"

  • If your tile is a sprite, and you need to check if it's overlapping another tile, you need to check overlapping between the sprite and the family. (this way they act as different objects)

    Tile is NOT overlapping TilesFamily -> Tile move...

    .

    Also, check out the Tile Movement behavior, there is a demo template in C3.

  • LonelyPear You are using Local Storage wrong. You can't just execute "Local Storage Get" and assume that it will read data from local storage and put it into your array. I made a few changes in your project, see comments in yellow:

    dropbox.com/s/gs7b5jfeydm586z/array_ls.c3p

    .

    If you need to save a dictionary in local storage, it's done the same way - to save "Set item to Dictionary.AsJSON", to restore "Check item exists, if exists, load dictionary fron LocalStorage.ItemValue"

  • jake13232 See this demo I made (you can open the file in Construct 3):

    dropbox.com/s/9dzjlzqj01dfb6a/SpawnBlocks.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On start of the layout: Audio play choose("mus1", "mus2", "mus3") with tag "music"
    
    Audio On tag "music" ended: Audio play choose("mus1", "mus2", "mus3") with tag "music"
    

    If you don't want the same music to repeat twice, this will be a bit more difficult.

  • "Browser -> Open URL", where URL can either be "market://details?id=com.game.my" or "https://play.google.com/store/apps/details?id=com.game.my"

    I actually tested this a couple of days ago and for me the "market://" url didn't work. "https://play.google.com/" link opens in Google Play app, if it's installed on the device.