jgordos's Forum Posts

  • Jase00,

    That's exactly what I'm looking for!

    Thanks for this!

    -john

  • Yes, that's what I'm currently doing...

    I was just hoping that I could do it globally, in a single manner, using the System somehow.

    I keep wanting to make "re-usable" functions and layouts.

    The problem with a lot of the construct built-in stuff is that it's object name dependent... even if I move the problem out to families, I can't import the function I wrote because a family by that name doesn't exist.

    Yes, I can get around it by creating the family and trying to keep track of what names need to exist where, but this seems like a lot of non-productive work.

    Generally, I like the tool, and a lot of what's been added to support javascript directly is wonderful.

    Code re-use is still too hard.

  • I'm trying to write a bunch of functions that can operate generically on objects.

    We can only pass Numbers and Strings to functions, so I was using the UID to emulate a pass-by-reference function call.

    It's seems like a simple enough idea: Pick the object by it's UID, and do what you need to do to it, but needing to know the "kind" of object it is means I need to implement this same function a bunch of times.

  • In the documentation about objects (here: construct.net/en/make-games/manuals/construct-3/plugin-reference/common-features/common-conditions), under COMMON CONDITIONS, PICK, it says "pick by UID".

    How do I actually do that without knowing which object it is?

    Can't the System object just do a generic Pick By UID?

    -john

  • Guys,

    I'm getting this warning in the console log when a peer connects to my game.

    peer.js:40 Don't know which object corresponds to NID 1

    I'm not certain what is causing this. The code is looking for a registered object, but it can't find it.

    I'm not clear what a registered object is... is this an object that is "sync"ed?

    It seems to run okay even with this warning, but I'm concerned about the overhead of this message. It's spitting these out at about 15Hz.

    Thoughts?

    Suggestions on how to proceed?

    Thanks!

    -john

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I kill them?

    WASD just seems to move me around.

  • Still, removing WebKit and support for web apps is a big deal.

  • I think this is "bad" for us... isn't it?

    Link here: 9to5mac.com/2024/02/15/ios-17-4-web-apps-european-union

    Is there an alternative?

    -john

    Tagged:

  • Wow.

    Thanks.

  • Friends,

    I've been lurking a long time, and I see/read many things.

    I see a lot of discussion that essentially boils down to: C3 isn't a new thing with features we needed... It's a port of C2 to the browser.

    I can see your point; it does feel that way right now.

    But I was thinking about it, and I'm wondering...

    Would this make it easier/possible for multiple people to work on the same project at the same time?

    In other words, can I be building the event sheets for the project using placeholder art, and magically, as my artist buddy updates the sprites with the right artwork, it just appears in my project?

    Can I work on layout 1 while someone else is working on layout 2?

    If so, this could simplify the work flow for a multi-person team a great deal, especially when we're geographically separated by distance and time zones.

    Just a thought.

    -john

  • Just to finish up, I updated my graphics driver, and it works fine. It's hard to tell with some effects, but others, like emboss, certainly are visible.

  • Thanks, I'll try that. It's odd, honestly. The alpha-blends all work fine, just not the effects.

  • I can use the built in effects on layers just fine, but it seems the GUI lets you add effects to sprites, too!

    Only... I can't see any of the effects on the sprites.

    For instance, in the "Ghost Shooter" demo, the Player sprite has two effects on it: "Glow Horizontal" and "Glow Vertical".

    They start at 100, but it doesn't seem to matter much; I can change the values as often as i'd like and I see no real effect.

    Any suggestions?

    Anyone else see this?

    -john

  • You've literally given zero information about what's working, and what's not working.

    I've used the AJAX Object successfully, quite a bit.

    If you give a more concrete example, I'm sure we can all help.

    -john

  • Did you add it to all the places in firebase on the OAuth tab?