piranha305's Forum Posts

  • instances have a tesOverlap(wi) and testOverlapSolid() would it be possible to include these same functions with an overload for offset?

    as of now the way to achieve this is to manually alter the position of you object, check for overlap then revert the position back. is that how the check is performed for the equivalent actions in events? if it is, then it's not really a big deal, and just running that logic manually will be sufficient, but if you guys are doing something extra that might be faster, then the addition to this in the scripting api would be pretty helpful.

    Tagged:

  • OHHHH i know whats going on, I create the player instance through event. this sub instance ctor only gets called when it's created through script. as soon as i created the playerMask instance from javascript the ctor got called correctly. Is that a discrepancy between the event logic and js? will the create action call the subclass ctor?

  • is it possible to set multiple object types to the same custom class? for example

    runOnStartup(async runtime =>
    {
    	runtime.objects.PlayerMask.setInstanceClass(MoveableEntity);
    	runtime.objects.EnemyMask.setInstanceClass(MoveableEntity);
    });
    

    In the constructor of MoveableEntity i am logging the instance, and i am only getting back the object of type EnemyMask.

    so i am wondering if you can set multiple object types to use the same subclass.

    Tagged:

  • Would it be possible to expose the sprite image data in that interface? Also whats about the Sprite animation data? will those have a separate interface? or will they be added to the sprite interface?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Will you guys document the CSS Properties for users to be able to create custum themes around the background color & syntax highlighting for both inline JS and JS script files? That would be so great!!!!

    Tagged:

  • okay deployed a fix, sorry i was kinda careless with one of the previous updates and i impacted some systems which i did not account for, and i got lazy with my automated test, it should be working now (hopefully)

  • go for it it prob has tons of bugs, but if you find them i will fix them! no biggie.

  • ohh yeah, look at that, let me fix that, it seems my fix earlier had on impact on duplication, my bad i am fixing it now

  • Fengist

    Check out the source for some of the plugins i have made or tinkered with, they might be useful? I learned how the plugin sdk stuff from looking at other ppls plugins and reading the documentation. maybe this will be helpful?

    github.com/armandoalonso/Construct3Plugins/tree/master/c3IDE%20Projects

  • yeah no worries, let me know if you run into any more issues.

  • okay i found the other issue you mentioned, it was happening because you need to specify a description, but clicking save without one produced an error, then when you tried to switch window it got confused and thought you created a valid addon (save) but that never completed successfully because of the empty description. that should be fixed and deployed as well. thanks!

  • okay i re deployed a new version, clear that data.db file, restart the app, update, you should be able to re import that addon and compile just fine

  • depending on what is wrong that might not fix the issue reinstalling the app[ will not clear the cache. can you try going here C:\Users\%USERNAME%\AppData\Roaming\C3IDE_DATA where %USERNAME% is your username and delete data.db and restart the app? i wonder if some how corrupted data got saved?

  • okay found the issue, a few weeks ago i modified some of the behavior of the 3rd part files, but i forgot to set some of those property when you import a c3 addon... working on fix now

  • yeah so you tried to attach a file, it failed parsing that file. then due to that file being null, and sneaking past the exception handling it blew up? can you send me the 3rd party file you were attaching? so i can pin point what went wrong? armandoalonso1tjl@gmail.com or you can create a github issue and aattach it? or send it through me on the discord?