mongoose665's Recent Forum Activity

  • Hi everyone, I've literally just got close to finishing my game after many months and I've come across a game-breaking bug and have no idea how to fix it. Basically every time I boot the game up, after about 10 seconds it just changes to an end-game layout. Some playthroughs I've managed to make this happen, and when it does, it happens every time after you boot the game up, and some playthroughs I can't. I've tried disabling entire event sheets, changing layout names, layout orders, deleting hundreds of events, everything. The ONLY thing I've found that stops it is deleting the layout it keeps switching to, which is definitely not ideal.

    Of course it's a big crazy to send an entire project over, so my question is this: is there a way where every tick it can check if you're on the current layout, or if you're on the current layout it cannot switch to another no matter what?

    What would you guys recommend so that it continually stays on this original layout and can't switch to another?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • These are perfect! Thank you so much.

  • Can you try change your layer background color to red or blue? This is to see that the preview does indeed draw the game correctly.

    Also, I have a feeling that you might be using Letterbox Scale. See

    https://www.scirra.com/tutorials/73/sup ... reen-sizes for more info. Because right now, your layer backgroundcolor is black which is the same as Letterbox Scale's filling color.

    [quote:2h4ltsma]Letterbox scale mode simply scales the game to fit the window. If the aspect ratio does not match, black bars appear down the sides of the window.

    Is this indeed the case?

    The letterbox scale is definitely what's causing it, having tried it with a few different colour backgrounds. The problem is that the letterbox scale is essential to make the game properly full-screen, all the other ones don't really work as well. So I guess it's a trade off huh?

  • Hi guys, every time I place a Text Box object or an Advanced Text Box down on any of my layouts, they seem to be cut off at certain points.

    You can see two examples on the image link, on the left is what the text box sizes look like in layout, and on the right are what they look like when test ran.

    postimg.org/image/i9lh33s2p

    I seriously can't work it out, am I doing something wrong here?

  • Thank you! Very much appreciated !!

  • bump

  • You set up the tags in a configuration action usually during on-start event. Using the tag action you give your sound clip a "name" that you can then refer to anytime you need to grab or adjust this sound clip via an event action.

    What is the tag action called? I'm a little confused on what a configuration action is and how to start it, as I can't find any options to tag under a System event or Audio event?

  • How do audio tags work? I'm trying to get it so that when I click one box, the music from the first one stops playing. However, I can't find a stop sound event, just a stop tagged sound one, and I'm not sure how to assign Tags to audio files. I've looked and construct looks to have no tutorials on this, only explaining what they are and not how to implement them?

  • NWjs is a wrapper and includes the chromium browser embedded within, so the size is going to be large regardless, but as it is for a desktop, size is not usually an issue.

    The only problem really is that if I wanted this on a platform such as steam or GOG, the file size is going to be huge when it's done, and for such a simple and small game. Just unsure of what to do about this is all, but thank you!

  • So I'm currently exporting a project to the NW.js format (as that's the closest to an exe I can get), and it's throwing out sizes of 150 mb for windows, 250 for mac.

    Bearing in mind, I have no videos, very few seconds, all images are low quality gifs and Jpegs (most images are under 100 kb). All my images are compressed for export to JPEGS, a good amount are at 1 quality. As a test, I deleted all my sounds, all my textboxes, a load of my JPEGs, exported and it still came out to the same size, minus a mb or two... Not sure if this is a bug or not. The entirety of all the used assets in my windows folder don't even come up to this amount.

  • scirra.com/forum/how-do-i-search-text-on-a-page_p1027535

    Ah man that looks useful, thank you, but I've spent the last hour trying to even figure it out, let alone apply it somehow to my own project. I guess I'll just have to leave it and find another way around it

  • Hey, basically I'm trying to get a textbox to search itself for a word, and if it's there, the event proceeds. I looked on other forums and people suggested find(text.text,"yourword"), but using this on a compare text condition for a textbox object (instead of just Text) it comes up with the "yourword" being a parameter that requires a string, not a number. Surely this is a string? Perhaps I'm missing or something, or maybe this does not work on textbox objects. Any ideas?

mongoose665's avatar

mongoose665

Member since 12 Jun, 2015

None one is following mongoose665 yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies