danlei's Forum Posts

  • Thank you so much for the reply!

    The documentation was just what I needed. Couldn't find it by myself. Global variables work already, which is nice :)

  • Been trying to fiddle with the new Javascript support in C3 but can't seem to understand how to reference Construct objects such as Browser, Geolocation, Keyboard etc.

    Anyone have any success getting those referenced in the JS? The "const" thingy used in the announcement blog posts just gives an error whenever I try to preview the game.

  • Thanks for the reply Eleanor!

    Love the character designs and animations on the example game you posted. Fiddled with it awhile on my laptop and an Android phone. Impressive work :)

    Unfortunately I could not find a way to rotate the camera though.

  • This is a bit tricky for me to explain but I would like to rotate my camera (Layout) around the playable character, instead of center of the screen. Would that somehow be possible in construct 3?

    Here's a picture to illustrate what I mean. Green circle is the player character and the origin point of the rotation :)

    Thanks in advance for the help!

  • I can't open any of my old C3 projects because apparently some of the addons I've been using since getting C3 are now "not found". Is it just me or is this a common occurrence?

  • Rex's C3 plugins stopped working now? Probably after some C3 update. They did work a month ago with the project I now tried to open again..

  • Might be a bit weird question but I was wondering if there's a way to know when a sound file has been preloaded? For debug purposes.

    I have different "sound packs" for different levels which are preloaded when player clicks to start a level. I'm calling the sound files using variables and FOR statement so I don't know how I would bug test to see if the sounds are preloaded or not.

    This is how it goes:

    1) Player starts the game. No level sounds are preloaded

    2) Player selects a level 1-> Preload sound files

    The sound files are named like this: "level1_1.ogg" "level1_2.ogg" etc. so I can dynamically load all the sound files using variables.

    I couldn't find any indication of preloaded audio when launching the project with debugger so I'm guessing there isn't a way to check preload status. "On Preload Complete" is of course something that works but that only tells if all the preloads are done.

  • The real raised question is IMHO "is C3 usable without Rex (and R0J0 etc.)plugins" ?

    No it's not. Unless you keep your games fairly simple. Anything more complex and you're gonna need those plugins or code your own.

    danlei looks like you only have half of what you need. there's still hope he comes around and decides to support his plugins. Or someone else ports them. Which raises the question, if he has abandoned them, is it ok for someone else to port his plugins to C3?

    Yeah I'm out of luck for now. Though I can work without firebase in the beginning. Just need to do a lot more manual work and make some very bad workarounds.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > To me, in order to be able to migrate to C3, I'd need rexrainbow's Firebase ItemTable and Firebase Storage.

    >

    danlei Rex ported two Firebase plugins. Not sure if they are the ones you need though...

    https://github.com/rexrainbow/C3RexDoc/ ... o/index.md

    Yes I need those both he has ported. Thank you for the link!

    In addition to those I need the ItemTable and Storage in order to reference data from the Firebase inside the App. But in the meantime I can use Construct 2 I guess.

  • It would probably be best to have the bot on a server and just call the answers from there. If you're making a mobile App, running the AI inside the device is really resource-heavy. You get faster answers but you'll have limited processing power and memory.

    Though getting C2 to work with a server or a cloud is not easy. I've gotten Firebase to work pretty well with 3rd party plugins though.

  • To me, in order to be able to migrate to C3, I'd need rexrainbow's Firebase ItemTable and Firebase Storage.

  • If you rely on rexrainbow's plugin, use C2. This is my advice for you before your project goes larger and larger.

    A solid advice. Especially since I'm using Construct to make PC-grade games and not just smaller mobile games.

    Though I have never been able to compile .apk's via cocoon.io for some reason. So any Android app I might want to make will have to be imported to C3. Not sure what I'm doing wrong there.

    Also one helpful user informed me that rexrainbow has left the Construct ecosystem and won't be "porting" any more of his plugins to C3. Only thing I needed that is missing is the Firebase ItemTable..

  • The ones I use most are already converted but some are still missing that I use in my newest project. But it's good to at least know that rex is converting the plugins. His stuff is awesome and would hate to lose access because of migrating to C3.

  • You can find rexrainbow's C3 plugins here...

    https://github.com/rexrainbow/C3RexDoc/ ... o/index.md

    I went to his Github but apparently went to the wrong place. These will work perfectly! Thanks!

  • Whatever I do with Construct, I've always relied heavily on rexrainbow's various plugins. Is there Construct 3 versions of those somewhere? They were never c2addons, just some .js files. Those can't be added via C3's Addon Manager.

    I can't make use of my C3 license until those are usable in C3. I was under the impression that C3 was very backwards compatible. Wasn't expecting 3rd party plugins getting obsolete, as those were the saving grace of C2 and by far its biggest advantage over other similar engines.