inejwstine's Recent Forum Activity

  • I suppose one way around it would be to use the Browser object's "Is downloading update" condition to send the user to a layout that resembled a sort of "loading screen" while it updates itself. That would probably help avoid confusion.

  • Yes, you need append a parameter/string to the file name in the c2runtime.js script tag and change it when your file changes.

    That didn't work for me. I uploaded a new version and appended the parameter like your example showed, but when I ran it it still showed the old version while downloading the new version.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way to prevent caching so it must download every time when playing in a browser? I saw someone ask this question before, but they didn't get an answer.

    I ask because I'm currently working on a prototype that I frequently share with others to get feedback. More than once we've updated it and then been confused when the changes we just uploaded are not visible. I now know that what was really going on is it was downloading the newer version in the background while displaying the older version, but during this prototyping phase I think it would be simpler for everybody concerned to just have it reload it every time; that way we KNOW that it's the latest version and don't have to explain to each new tester that they have to run it, wait a while for the update to download, then run it again.

    Offline mode is a nice feature and I wouldn't disable it in the final version, but during this prototyping phase when we're cranking out new versions on a daily basis, it would be handy to be able to turn it off. Is it possible?

  • Ashley gave a reply to the bug I wrote to any who are interested. Long story short, it won't be fixed because it's a cross-browser issue. The solution is to use a sprite font, which will render the same across all browsers.

  • I created a bug for this issue, because I highly doubt it's the intended behavior.

  • Problem Description

    When I create a multi-line text object in Construct2, the space between the different lines is different in editor than in browser.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/326 ... ement.capx

    Description of Capx

    I've got three text objects here. The paragraph of black text, and two highlights, one blue and one green. I've placed the highlighted words so that they cover up corresponding words in the paragraph (or as closely as possible). The font size, family, and style are all the same, it's just the color that's different. And as you can see, it's pretty close. Here's a screenshot of what it looks like in the editor:

    https://dl.dropboxusercontent.com/u/32626868/Construct2/textPlacementIssue/constructCap.PNG

    But once I run it in a browser, it looks like this:

    https://dl.dropboxusercontent.com/u/326 ... serCap.PNG

    The blue highlight is okay, but the green one is no longer lined up. There's a grid behind the text, and when you compare the two screenshots, you can tell that the second line of black text is higher in browser than it is in editor, causing it to no longer line up correctly with the green text.

    Steps to Reproduce Bug

    • Create a new project and create a text object that spans multiple lines. Place a grid background if you wish.
    • Create another text object that has the exact same font size, style, and family, but a different color. Choose just a word or two from the bottom line of the original text object, and position it so that it exactly covers up those same words in the original.
    • Run in any browser.

    Observed Result

    The colored text will not line up with the original text.

    Expected Result

    They should line up in the browser since they do in the editor.

    Affected Browsers

    • Chrome: Yes
    • FireFox: Yes
    • Internet Explorer: Yes
    • Opera: Yes
    • Safari: Yes

    Operating System and Service Pack

    Windows 8.1

    Construct 2 Version ID

    Release 173 (64-bit)

  • Ah, I realized what's going on, though not how to fix it. The multi-line paragraph isn't spaced the same in editor as it is in browser. I added a grid behind it so you can more easily tell. So the highlighted words are in the right place, but since the paragraph isn't spaced as much as it should be, they end up not being in the right locations to cover up the words.

  • That's true, but the problem is that it isn't the same between them. I end up having to nudge each one a bit at a time until they're all lining up, which is kind of a pain. Why aren't the positions the same in the browser as they are in the editor?

  • I'm having a peculiar issue. When I run my project in a browser, things aren't positioned the same way they were in my project. Specifically text. Here's an example of what it looks like in Construct2:

    I've got three text objects here. The paragraph of black text, and two highlights, one blue and one green. I've placed the highlighted words so that they cover up corresponding words in the paragraph (or as closely as possible). The font size, family, and style are all the same, it's just the color that's different. And as you can see, it's pretty close. But once I run it in a browser, I see this:

    One of the highlights seems to be okay, but the other one is completely off. It's as if the position changes once I start running it in browser.

    This isn't a resizing issue because I've turned off fullscreen mode (meaning it stays the same size no matter how I resize the browser). Any idea why this is happening? Is this the intended behavior, or possibly a bug?

    You can download the capx here if you'd like to take a closer look:

    https://dl.dropboxusercontent.com/u/326 ... ement.capx

  • A good convention to follow. I'll have to keep that in mind. Thanks again for the tips.

  • Ah, thanks For some reason I hadn't thought of that. Probably cuz I'm still pretty new at this.

    Of course, that means if you ever need to rename the audio file, you'd need to change all the events, so each approach has its pros and cons I suppose.

  • I recently found out that it is possible to replace audio being used in a Construct project without losing any event associations, but to do so currently you have to manually replace the .m4a and .ogg files in your computer's file explorer. If you try to import a file with the same name as an existing audio file, it just renames it, giving you two audio files, the newer of which wouldn't be associated with any existing audio events.

    It's not a huge deal to replace them manually, but it would be nice if when importing an audio file with the same name as another already in the project, that Construct would ask if you would like to replace the originals instead of just renaming it.

inejwstine's avatar

inejwstine

Member since 10 Feb, 2013

None one is following inejwstine yet!

Connect with inejwstine

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies