Rhindon's Recent Forum Activity

  • I'm asking just to see if there's anything I can learn...

    I'm confident that I know that C2 files are not compatible with Unreal or Unity editors given that C2 is HTML5-based and the others are not, but my teammates are more adept at the latter two while I am more familiar with C2's workings. Is there any possible work-around to open the files in the more advanced editors?

    As I said, I'm sure the answer is that they are not at all compatible...but it doesn't hurt to ask.

  • OOOOOOH!!! ... I get it now.

    I thought they were getting confused about my mentioning how some enemies will have their own light source.

    Apparently, I'm (also?) the one confused.

    However, one problem remains, I plan to have the shadows defined by the height property of the shadow/light. So the shadows will not extend forever into the distance. That's why I need a way to test if the character is literally in the shadow that is cast.

  • I'm not sure I follow...

    Whether or not enemies are around or not, ultimately I just need to detect if a character is in the shadow cast by an object.

  • Sorry for the confusion. Not all light sources will be attached to enemies. Some will be static cameras or enemies who have no light affixed to them. Some light sources will be stationary, too.

    Basically, what I am looking for is how to detect when my character is in a shadow area as cast by an object with the shadow caster behavior.

  • I'm working on a top-down game within a similar vein as the original Metal Gear game.

    There will be objects and enemies that have light sources and thus incite objects to cast shadows. My spy character will use these shadows to hide from immediate detection via line-of-sight.

    As enemies move about with their light sources, the shadows, of course, will adjust and what was once darkened by shadow will be cast in light.

    What I want to find out is if it is possible to test if a character - namely, my main character - is overlapping/colliding with a shadow as it is cast from an object with the shadow cast behavior.

  • ...so how does one set up "Chrome dev tools and a wired connection with port forwarding" anyway???

    I don't suppose it's possible to do a mobile app preview via a USB cable, huh? (I know the answer is likely no, but I've been surprised before.)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In both C2 and C3, you open the instance variable list window and it, obviously, brings up the list of variables for that object. Adding a new variable opens yet another window. No big deal.

    But in the C3 list window, it's displayed in a kind of Excel-style grid. What if, instead of clicking to open a new window and filling out each field, you simply enter the new variable info directly into that list window - just make the bottom-most entry blank, ready to be filled in. Upon creating a new variable, a new blank entry field in that list is automatically made available in the "grid" list.

    One less window to pop up and, hopefully, more efficient.

    ALSO, it means you can clearly see - without the other window to obstruct it, at first (and yes, it's easy enough to move aside) - the whole list of existing variables. (Trust me, when you get a lot of variables as many of us do, it's easy to forget if we've created a needed variable for "this" or "that". Seeing the list readily at a glance makes it all that much easier...

    Additionally...

    • make the notes info that describes what each variable is for also show up in the variable list and not just in the drop-down list in the event tab.
    • right-click in Properties window on an instance variable to bring up mini-window to be able to edit name or delete variable.

    What do you think, Scirra Bros?

  • I'm having a bit of an issue with this, too. Upon the original unveiling of the light/shadow caster feature (which I loved!), I seem to recall being able to create penumbras as well. I've reviewed both manual entries for the light object and the shadow caster behavior, but I can't get penumbras to appear (it might be the limitations of my computer...which is why I can't load the new Construct 3...

    A test site reveals that I can run WebGL 1, but WebGL 2 is possible to run on my computer but is either disabled or my processor (I don't have a dedicated graphics card on this laptop) isn't able to run it.

    Simply looking for more info that might help solve this issue. Anything I'm overlooking?

  • Thank you, both. I'll look up those links.

    The main issue with disabling collisions is that I still need a collision detection of sorts, regardless of which layer the player is on.

  • I realize it's not easy. That's why I'm asking for help.

    I know there is a solution - I can almost see it in my head. I just need help sorting out the details.

    I already figured out part of it but I can see there's still more to account for. It can be done.

    Already someone on one of the FB C2 groups suggested a workaround that doesn't involve using the Platform behavior for the enemies. So while more work, it potentially can solve my problem.

    So, while I appreciate your advice, as I said, it's not the answer I'm looking for.

  • Not really the answer I'm looking for.

    I don't have time to learn a new game editor...

  • I'm working on a game where you can switch between the foreground and background to avoid detection by guards. Doing this also allows the player to go behind or in front of solid objects (ie: a stack of boxes in the background can be passed in the front).

    Regarding just the player, this is not an issue.

    In order to avoid stopping the player from walking passed the boxes (or other objects that would normally have the Solid behavior), I can simply test if the player is on the same layer as the boxes. If not, I turn off the Solid behavior and the boxes are nothing more than sprites.

    The problem is when I include the enemies who also will use the Platform behavior and will need to be able to interact with objects that are supposed to be solid (regardless of the layer the player is on). Because if the payer is on a different layer than the solid object, then I'd have to turn off the Solid behavior. But if an enemy is on top of those solid objects, they'll fall through the sprites due to their Platform behavior...no Solid to hold them up.

    So I need to work out a different system of collision detection AND, more importantly, how to make "solid" objects act like solid objects without the solid behavior.

    So far, I have figured out, for example, how to use Overlap or Overlap At Offset to place the player on top of the boxes when he jumps up and falls to land on top of them. Problem is, if I walk up to the boxes from the side, the conditions still puts the player on top of the box. Part of that, I'm sure, just requires a couple extra conditions to test for the X position as well as the Y position of the player.

    Still, even with that understanding, I'm struggling to find the best way to test for these conditions in the same vein that the Solid + Platform behaviors do. May I get some input on this, please?

Rhindon's avatar

Rhindon

Early Adopter

Member since 8 Jan, 2013

Twitter
Rhindon has 2 followers

Connect with Rhindon

Trophy Case

  • 13-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x2
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • Email Verified

Progress

21/44
How to earn trophies