InvaderXYZ's Recent Forum Activity

  • On creating the object you could:

    - Set the X position to be random(RedSquare.X-(RedSquare.Width/2), Red_Square.X+(RedSquare.Width/2))

    - Set the Y position to be random(RedSquare.Y-(RedSquare.Height/2), Red_Square.Y+(RedSquare.Height/2))

    That way it picks a random position between both edges of the red square for both the X and the Y.

  • Still, it will be much easier if you post your capx. It's a guesswork without it.

    There may something wrong with layer settings, behaviors, image points etc.

    Here's a link to the download.

    The events in question are on Event Sheet E_Stage, which corresponds to any Layout with "Stage" as a prefix. You'll find that if there is an NPC on-screen but an item is not on-screen, you can not talk to an NPC. But if you disable "Item is not on-screen," then it works.

    Are Stage_NPC and Stage_Item family members ?

    They are not, no.

    Then, right away, in the second event, all instances of Stage_NPC that are on screen are picked and all instances of Stage_Item that are on screen are picked, and then whatever actions you do in the event are applied to those picked instances.

    That's what your code is doing.

    Then what would be a good event to use if I want to check if an object is not on-screen/visible to the player? I thought that the "Is not on-screen" event would have sufficed?

  • This code should work. There's probably something else that's causing this issue.

    Are these two events top-level? (not nested under some other events?)

    They're a sub-event to "On E Pressed" and that's about it. It should be noted when I disable the "Stage_Item is not on-screen," the first event triggers, but if I leave it it doesn't; and neither does the second event. Not sure what's up with it.

  • Any help would be appreciated, because I have absolutely no idea what's causing this; and I can't really move forward without a fix.

    It's completely confusing to me and it only applies to this CAPX. Stuff like this has happened before, issues that only occur in a single CAPX like actions not triggering, on created not working, HP comparison not triggering, stuff like that. I don't really use third-party plugins, either.

  • I am having trouble with two of my events in-game.

    You can see an image of the two events below.

    ( i.imgur.com/0joFQRU.png )

    The first one is supposed to trigger when you can see an NPC, but not an item. However, that is not the case. A bit of testing has shown that the event triggers when I disable:

    Is Not On Screen > Stage_Item

    Implying that there is an item on-screen... except for the fact that there are none. To make things even more confusing, the second event doesn't trigger either. If the only think stopping the first event from triggering is the second condition, why doesn't it trigger the second event? How can an object be both on-screen and off-screen at the same time?

    Can anyone tell me what's going on here, or how to fix it? I'm not using third party plugins, and I haven't been able to replicate the issue in another CAPX; which is why I haven't submitted a bug report. Is there something I'm missing here?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It seems that FRGen is too big - it's running out of memory. If I just drop it to 448x268, things start up. I didn't get further than that.

    Thank you so much! FRGen was part of one of the things I thought I had deleted, I guess I hadn't noticed it was still there and messing up the game.

  • Thanks for the suggestions.

    Well, as of now I haven't been able to find anything that's in an infinite loop, and I can't run it in the debugger because the game won't start at all, and as such that prevents the debugger from loading.

    Here's the URL to the CAPX.

    Hopefully somebody will be able to help.

    Please excuse how messy and poorly programmed the entire CAPX is, I made this back in 2012 when I was just starting out with Construct 2; hopefully it isn't too much trouble to navigate.

  • But if you are using Construct 2, then you have a chance to use Chowdren. construct.net/forum/construct-2/general-discussion-17/chowdren-fast-construct-2-runt-134395

    I didn't know about this, thanks for linking me!

  • Since I've been seeing a lot of ambiguity around whether or not the Nintendo Switch is willing and able to provide support for HTML5 Games and/or Construct 3, I decided to send an email to Nintendo of America Support to see if I could get a straight answer on the subject.

    The reply was:

    The Nintendo Switch does not support HTML5/JavaScript development. There are no plans to support it in the future. We apologize for the inconvenience.

    Here's the link to the image, not sure how to add images with the new forum format.

    ( i.imgur.com/ml3RVt2.png )

    So it would seem that the definitive answer would be no, there will be no support for Construct Games on the Nintendo Switch; unless one goes through the same process that The Next Penelope did, which may be a bit complicated for those of us who are inexperienced.

    If you don't know what i'm referring to, here's the link to the article:

    seaven-studio.com/bringing-the-next-penelope-to-switch

    Hope this helped clear some things up.

  • I think a more in-depth explanation would be that whenever I attempt to preview or export the game, it always get stuck while loading anywhere from 80% to 100%. After that, the page freezes and I am unable to open the console or interact with anything, and the game never starts.

    I attempted to use a loader layout to see what would happen, but the screen just stays black. I used Notepad++ to remove all mentions of the aforementioned plugins, and have checked multiple times. The CAPX loads up fine, it's just that the game is unplayable.

    Is this a lost cause?

  • All of RexxRainbows addons are still available on Github. Use Google to search this site for link.

    The ones in particular I need were for multiplayer before C2 had implemented it, something Rex doesn't make available anymore. I sent him a message but he says he doesn't support Construct anymore, so he can't help me out there.

    Anyways, I removed the plugins from my project, the issue is that the game wont start; both in preview and export. It gets stuck on the loading screen. Is there a fix?

  • I just did this, and was able to successfully open the old project; but now whenever I try to preview or export the game, it will no longer run. Everything works just fine in-editor.

    Been trying to open up and tweak one of the first games I ever made, been having a rough time since RexRainbow doesn't give out his old plugins anymore.

InvaderXYZ's avatar

InvaderXYZ

Member since 12 Mar, 2017

None one is following InvaderXYZ yet!

Trophy Case

  • 7-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies