Tokinsom's Recent Forum Activity

  • When retrieving a numerical value for a string you may have to add int(). Try int(worldarray.at(1,1,1)) instead :)

  • I cant check the .capx right now but Im assuming you didnt change the default size of the array, which is zero based, so try 1,1,0 or 0,0,0 and see if that fixes it! Right now you are writing to a z index which may not exist.

  • In theory. Long ago Ashley mentioned doing that to make collaboration amongst teams easier. I have yet to actually try it, though.

  • I was under the impression you have to save each project as a project (not .capx) then merge the folders, not copy/paste everything from one project to another inside C2.

  • Ah there it goes. Thanks!

  • Example .capx here

    Use Mouse Wheel (Up) To Increase Layout Scale

    Use Mouse Wheel (Down) To Decrease Layout Scale

    Notice how when the layout scale is different than 1.0, the black tile becomes misaligned with the mouse cursor. This didn't happen in CC - the black tile and mouse cursor would always be on the same grid cell. Any way to fix it?

  • I support this idea. I imagine most people's browsers are always maximized, so they probably won't even know they can change the canvas size by adjusting the browser window. Starting the game at 1,2, or 3x canvas size and allowing users to change it in an options menu would be nice, if not more intuitive.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah if your sprites are aligned to a grid then "Import sprite strip" should work just fine! CC also has a similar feature with a few more options.

  • Ashley's outline plugin has a "Thickness" parameter. Are you using something different?

  • Ah ok. I thought I tried starting with 0 but it didn't work, so I bumped it up to 1. Maybe I overlooked something! I will try it again here in a bit.

  • In my level editor you can place a tile on the grid and a value is written to an array in the corresponding cell. In this particular case, the value being written is

    "Tile" & "," & Tile.AnimationFrame

    To load the tiles I use the event:

    +[Array] For Each XYZ Element

    +[Compare Two Values] tokenat(Array.CurValue,1,",") = "Tile"

    -Create Tile

    -Set Tile animation frame to int(tokenat(TileArray.Curvalue,2,","))

    This loops through the array and checks if the current value's first substring equals "Tile". If so, it will create a tile in the appropriate spot and set the tile's animation frame to the second substring after being converted to an integer.

    For some reason it doesn't work. If the current value is just "Tile" then the tiles are loaded just fine, but when I write multiple values to a single cell and try to select a certain one with tokenat(), I get nothing.

    Any idea why?

  • I'm pretty sure you can do this by moving your player downwards a pixel or two (past the top of the platform). Make sure you also don't allow the player to jump while holding down on a jump-thru platform.

Tokinsom's avatar

Tokinsom

Member since 6 Jun, 2010

Twitter
Tokinsom has 11 followers

Connect with Tokinsom

Trophy Case

  • 14-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies