dop2000's Forum Posts

  • 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

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you only want to have 1 character of each type on the screen, then you can "recycle" them. Instead of destroying characters, move them off-screen. When you need to spawn, pick all off-screen family members and pick 1 random instance from them. You will also need to modify all other events, make sure that they are only picking active characters.

    It can also help to disable collisions for inactive characters, so that they won't trigger any "On collision" or "Overlapping" events.

  • It depends on how advanced you want this AI to be. Please send the details to my email doperst2006 (at) gmail.com and I'll let you know if this can be done.

  • For visual effect only, use blend modes. Or you can do this with Drawing Canvas.

    .

    If you need to change the collision polygon of the terrain by making holes in it, see this post:

    dropbox.com/s/pvsdzodh8qfffah/RandomSpawnNoOverlap.capx