onearmfrog's Forum Posts

  • 12 posts
  • Ok, quick update -

    it seems this has nothing to do with this specific function.

    This is related to the service worker. Once I bypass the service worker

    all works fine.

  • Hello fellow Constructors,

    I'm about to lose my mind with this issue, hope someone could shed some light -

    I'm running games on amazon's s3. I've never had any problems until two days ago where

    out of the blue this error started popping up and the game would stop working.

    It seems like something weird is going on with "this.animations" at onCreate function

    where no animations are getting loaded into the array (c2runtime.js of course).

    The weirdest thing is that it works fine when I use the Preview option in construct,

    but when exported and uploaded to S3, the error occurs.

    I double checked - All the files were uploaded correctly and no file is missing.

    Help?

  • I'd like to re-open this issue - We've been experiencing this mostly on FF/IE even on the latest c2.

    I'm currently trying to play with the texture mode/opacity and try out a sprite-font as an alternative.

  • Thanks for the answers guys. I really hope that In construct 3 they would implement a solution for this because in my opinion the copy-pasting goes against the DRY principle of programming.

  • We created a plugin that can handle cross-domain post-messages.

    So, let's say when the user presses the button in the modal window you send a post-message and the plugin condition (Cnd) catches it and updates construct.

    Works both ways - when construct finishes something, it uses an actions, say AwesomePlugin.update, and it sends a post-message to the browser window.

    Works flawlessly.

    Hope this helps somehow.

    We also use this plugin to handle iframes/cross-domain.. etc.

    (I don't have 500 rep so search for "porthole js")

  • Hey everyone,

    We have about 5-6 games with the same HUD logic, same tooltip mechanism.. etc.

    Every time we do a change on one mechanism, it's mightmarish to update the rest of the games.

    I've been using Global layers for a while but it's not the ultimate solution since we have a lot of eventsheet activities.

    Is there a way to copy the same game logic (touch events, objects etc.) to a plugins? Kind of like an external module that

    you can include in every project. Then you'll only have to update the plugin and not every project, every time.

    Thanks

  • rexrainbow - Just wanted to say thank you for all of the inspiring plugins. I've been using them for a long time now and they are life saving.

  • Hey LittleStain,

    Thanks (again) for the help.

    This is a solution I thought about, but it means I include all these assets in the final build and since I want to support mobile I can't have all these assets taking space in advance. I'm wondering if there's a way to import these assets dynamically and keep the objects the same (only change the graphic files)

  • Hey,

    Say I have a game that needs to have different themes for it, including different animations, graphics, sound but the same game logic.

    Is there a proper way of changing the themes dynamically or I'd have to have three different copies of the game?

    Thanks

  • Looks interesting, doesn't exactly solve my copy-paste problem but it's nice anyway. Thanks for the help!

  • Hey, thanks,

    It's not on a separate layout, it's in the game's layers.

    I do have an event sheet dedicated to the hud.

    Not sure what you mean about the global layer -

    The hud is supposed to be inside the game layout - how do I import the "global" layer? Create an object?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey folks, been using Construct for some time now and it's really great.

    I'm developing a few games that use the same design and behavior for a hud/moves counter/score board etc.

    The problem is every time I make a change in one of these layers or event sheets I have to copy-paste the changes

    to the other games and it gets frustrating.

    Is there a way in construct to treat these layers and event sheets as an external module, without having to develop a plugin

    that would render them manually in canvas?

    (hope this makes sense)

    Thanks a bunch!

  • 12 posts