tecbug's Forum Posts

  • LittleStain - this makes no difference in this case. In both ways I'm not getting the result that I need.

    Please don't get me wrong - I'm grateful for your answers. I had also many theoretical solutions but they didn't work in this case.

    Could you open my CAPX and try to modify it so it works?

    Again - I'm not lazy and I don't want you to make work for me but theoretical solutions (that I had many) failed in this scenario.

  • So I made test for (main disk)/user/(username)/appdata/local/(yourgamesname.)

    Before save:

    \	Cache\		
    \	GPUCache\		
    \	Local Storage\		
    \	lockfile		
    \	Web Data		
    \	Web Data-journal		
    \Cache\	index-dir\		
    \Cache\	index		
    \Cache\index-dir\	the-real-index		
    \GPUCache\	data_0		
    \GPUCache\	data_1		
    \GPUCache\	data_2		
    \GPUCache\	data_3		
    \GPUCache\	index[/code:9j46dggx]		
    
    After save:
    [code:9j46dggx]\	Cache\		
    \	databases\		
    \	GPUCache\		
    \	IndexedDB\		
    \	Local Storage\		
    \	QuotaManager		
    \	QuotaManager-journal		
    \	Web Data		
    \	Web Data-journal		
    \Cache\	index-dir\		
    \Cache\	index		
    \Cache\index-dir\	the-real-index		
    \databases\	Databases.db	db	
    \databases\	Databases.db-journal	db-journal	
    \GPUCache\	data_0		
    \GPUCache\	data_1		
    \GPUCache\	data_2		
    \GPUCache\	data_3		
    \GPUCache\	index		
    \IndexedDB\	file__0.indexeddb.leveldb\	leveldb	
    \IndexedDB\file__0.indexeddb.leveldb\	000003.log	log	
    \IndexedDB\file__0.indexeddb.leveldb\	CURRENT		
    \IndexedDB\file__0.indexeddb.leveldb\	LOCK		
    \IndexedDB\file__0.indexeddb.leveldb\	LOG		
    \IndexedDB\file__0.indexeddb.leveldb\	MANIFEST-000002[/code:9j46dggx]
    
    Is there any documentation or explanation what those files are? Where are saved games etc.?
  • I've tried this also. Didn't work for obstacles that are close each other.

    With this code:

    (I had to add additional object (playerOverlap) that is players bounding box)

    I get this result:

  • As you mentioned, when configuring Steam Cloud Save you have show where save files are (folder or files). What folder/file should I point? There's no additional files created when I save game using

  • Tried this:

    and this:

    Unfortunately this didn't fix the problem.

  • I'd like to get back to this issue.

    Is C2's save system (tutorial: https://www.scirra.com/tutorials/526/ho ... -savegames) supporting Steam Cloud save? How to achieve this?

  • I want to make simple isometric game.

    When player is behind object (its.y<obstacle.y) it should be behind it:

    When player is in front of a object (its.y>obstacle.y) it should be in front of it:

    I've made simple code to achieve this:

    but this works only for one obstacle. When there's more obstacles it doesn't work.

    It works like this (please open in new window):

    https://dl.dropboxusercontent.com/u/17601731/forum/c2/behindandinfront/index.html

    CAPX:

    https://dl.dropboxusercontent.com/u/17601731/forum/c2/behindandinfront.capx

    Any ideas why and how to fix this?

  • Thank you for answers.

  • I'm wondering how to make save system in C2 that would work best with steam cloud saves. Of course I'm exporting game via NW.js.

    Localstorage/webstorage doesn't do the job. What alternatives are there?

  • I've just did this. Error still occurs for NW v0.13.0 alpha 7 (Chromium 47) and v0.12.0 (Chromium 41).

    ---edit---

    But now the error looks like this:

  • When I updated NW'js to v0.13.0 alpha 7 (Chromium 47), when I'm testing on NW.js my game gives this error:

  • Great plugin for NW.js games.

    But I'm experiencing problems on latest Chrome:

  • Do you mean you see this when using the C2 editor debug run mode?

    Yes. This error started to pop out when I updated to r217 (but in r219 it still exist). Before the update (latest working version was r216) debug mode was working fine.

    Do you see any errors in the browser console when previewing normally?

    I normally test on NW with no errors.

    But specially for this issue I launched project on Chrome and there were indeed errors that in NW doesn't occur. Those errors were connected to MouseLock plugin that I'm using. But when I removed this plugin from the project there was only those errors in Chrome console:

    but the NW debug mode still gives me the same error.

    What browsers are you testing on?

    On NW.js so I suppose it's on Chrome engine.

    Do you use any non-standard plugins?

    Rex MoveTo

    MouseLock v0.5 ()

    What version of C2 are you using?

    It's OK for r216

    Error occurs in r217

    What version of NW.js are you using?

    10.5

  • While trying to run debug layout of my game, I get this:

    But when I run in preview or exported game there's no errors.

    How can I find this error as there's no reference to my c2 code but to JS?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The gamepad plugin (https://www.scirra.com/manual/143/gamepad) is awesome. Is it possible to extend it's support to new gamepads?

    I'm explaining what I mean:

    I'd like to port my game Mooch (http://store.steampowered.com/app/398460) to PlayJam console (Android 4.4) - http://www.playjam.com/.

    I'm having issues with supporting PlayJam controller. Most buttons works fine but some of them doesn’t (marked red):

    D-pad, right analog stick and both shoulder buttons doesn’t react on players input.

    PlayJam Team provided me key mapping documentation: http://playjam.games.network/develop/guides/controller

    As far I see gamepad plugin is missing support for those methods:

    • MotionEvent.AXIS_HAT_X,
    • MotionEvent.AXIS_HAT_Y,
    • MotionEvent.AXIS_Z,
    • MotionEvent.AXIS_RZ.

    Is it possible to support them?