piranha305's Forum Posts

  • https://piranha305.itch.io/tanktrax has the c3p file for the tank game.

  • Ashley can that loading happen across layouts? so if i load an object on the first layout, will it have to be placed in to the next layout as well, or will it remain in memory?

  • i don't see why you have to limit yourself to a sprite? using a sprite might make thinsg easier in some case (animations, editable bounding box, solid collision) but using a tiled background is pretty valid if you have the right use case for it. i mean it's just a tileable sprite without some of the functionality ? just cause it has background in the name does not mean it has to be exclusively in the background? you can use it health bars and a ton of other stuff (non background) ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • if you really wanted to use tiles for this my not just just a tile map instead? tilemaps support collision

  • Never really used this myself, but if u really wanted linq there are alternatives. github.com/mihaifm/linq

  • no man, you got me wrong, that not how i intended to sound, I am also a professional dotnet developer, 7 years, not as tenured as you. I was just pointing out that that the standard dot net library will not provide you that much benefit, if you port it to wasm to use in javascript, not just will you face the interoperability cost, you will also not get much from most of the dotnet standard classes that deal with low level os calls, File system. Since c3 is run from a browser, you will hit the browsers sandboxed limitation, and even using 3rd party library (any unity api is out of the question since those are compiled to mono), but you will also have compile those down to wen assembly.

    on that note, one of the guys who use to work at microsoft started working WebWindow (https://blog.stevensanderson.com/2019/11/18/2019-11-18-webwindow-a-cross-platform-webview-for-dotnet-core/) which if it gets mature could be of interest to wrap construct3 games.

  • Dot net core has an upcoming web framework called blazor. Which hosts the dotnet framework in web assembly. I am not sure if that's coupled with the blazor framework. If they have it in separate wasm file you might be able to leverage it, but only the dotnet standard libs, 3rd party dotnet library won't work. and to be honest I don't really see alot of benefit adding the dotnet framework on top of c3. Any thing you think you need dotnet for will probably be easier in javascript

  • What if you don't make it a function that returns a value, but inside the function set a variable with output, that you can optionally use later if u want? Would that generate your desired result? It requires an extra variable but seems to behave how you want?

  • created issue about this here: https://github.com/Scirra/Construct-3-bugs/issues/3675

  • Example of what i mean

    drive.google.com/open

    drive.google.com/open

  • no not from a file from inside an event block, you can have inline javascript code inside events, internally c3 in wrapping those in a function.

  • So i am running into a issue with the syntax checker. the error message it's giving me is 'return outside of function'. which is a bit of untrue. all inline block of javascript are wrapped inside functions, in ScriptInEvents.js file, they are all wrapped in async functions.

    why are we not allowed to break out of the code block? it seems a bit unnecessary to wrap my logic in another function. I would also like to avoid as much nesting as a can.

    is this intended behavior? or should i file this as a bug?

    Tagged:

  • Would it be possible to add an interface for the JSON plugin. having the Json data exposed in js would be very useful. also being able to set JSON back into the plugin would be great as well. This will really help managing data structure across JS and Events. It would also help avoid having to create a bunch of wrapper functions just to move data around.

    Tagged:

  • Open Game Art might have a few farm game assets https://opengameart.org/art-search?keys=farm&page=1

  • Oh nice, yeah I just picked any element fb-root was just there. Thanks for the detailed explanation 👍. It's really helpful