Tokinsom's Recent Forum Activity

  • Subscribe to Construct videos now
  • This has been happening for me and my teammates since spritefont was added. You can 'fix' it by temporarily disabling WebGL.

  • "Properly formatted" I suppose. Check out Pyxel Edit - it's perfect for animating & formatting sheets like you want as it uses grid cels in place of animation frames.

  • Not sure what the point of this would be... If you're going for depth of field you should look into shaders or blurring your BG assets beforehand.

  • Er, well, as far as tilemap features Tiled offers a bit more, but C2's layout editor is significantly more powerful as a whole.

  • This is a fairly common and EXTREMELY useful feature that's been requested in the past. Not only does it allow you to "shift" large portions of the map, but lets you make complex patterns to be placed elsewhere and generally speeds up the entire tile-laying process as you don't have to move the cursor all the way to the tileset just to change tiles - you can pick up nearby ones. Suggesting you export your tilemap to an entirely different program, make one change, then import it back into C2, is pretty silly!

    Also instead of select,copy,paste,etc. it'd be quicker to have a tool where you click+drag to "pick up" the tiles and when you un-click it switches to the draw tool.

  • Oh yeah I forgot you have to use .ReadFile ^^; Like I said I was going by memory!

  • valdarko This can be done with a "zone" object and clamp() to restrict the camera. There is a good example in the .capx tutorial section.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • +1

  • Looks like Root is a number variable, but it should be a text variable! Double click it and change that in the drop-down menu.

    Also you might want to add more than just "C:\" but it depends...For example, if my project folder was on my desktop I would set Root, in preview, to "C:" & NodeWebkit.UserFolder & "Desktop\Project\"

    You might want to set a text object to Root to see exactly what it returns (or check it in the debugger) then look in that path to see if the file was created or not.

  • Very simple! You just use the dictionary's "Load" action, then enter Root & <FileName>. The dictionary will then be exactly as it was when saving.

  • If the plan is to write the files to the app folder then WebStorage is entirely useless; why are you guys pushing it so much?

    You basically want to do this:

    Make a global var called Root

    +Is in preview

    -Set Root to <Path to write files to>

    +Is NOT in preview

    -Set Root to NodeWebkit.AppFolder

    Then, if using a dictionary to store save data...

    +On Function "SaveGame" (or whatever)

    -Write file to Root & <File Name> with contents Dictionary.AsJSON

    The Root global var is used because, in preview, AppFolder returns the node webkit folder in the C2 install directory. More info here.

    (Note all this is from memory so you might want to check out the manual if there are any problems)

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