John Cutter's Recent Forum Activity

  • I apparently changed something and lost the event! Thanks for catching that ramones! It doesn't seem to be in perpetual "loading..." mode now! Will have to look at it some more tomorrow.

  • Well, Local Storage is working fine in Edge and Firefox, but still broken in Chrome. Unfortunately, those other two browsers don't support speech recognition OR speech synthesis... and I need those for my app so I have to get Chrome working again.

    Will try uninstalling Chrome and reinstalling it. Hopefully, that will work.

    UPDATE: Reinstalling Chrome was a failure. And to make matters worse Chrome is now ignoring the voice I picked for speech synthesis. It's trying to use an American voice for all my French words and phrases. (That feature has been working perfectly since day one -- not sure what changed.)

    I've been working on this app night and day for two solid weeks and I was just wrapping up the last few details today. Instead of taking a few small steps across the finish line I've taken two HUGE steps backward. Kind of frustrated at the moment...

    I'm pretty sure this is only a problem on MY computer, but here's my .capx file:

    http://jmcdesign.orgfree.com/BuggedStorage.capx

  • Thanks, Paradox. Tried renaming the app but that didn't work. In fact, I tried loading a version from a week ago and that isn't working now either.

    Went into Preferences and changed the Preview Browser to "Edge" but it's still using Google. (Finally got "Edge" working from the Project Properties. That's kind of confusing...)

    My Local Storage is fixed in "Edge"! Unfortunately, that browser doesn't support Speech Synthesis or Recognition... which I need. Downloading Firefox. Man, I hope I'm not locked out of Google for my previews. Seems like it's not going to work for *any* app or game I try to create... (Would uninstalling Chrome and re-installing it help? Guess there's one way to find out...)

  • My online app has been coming along well but today I added a button to reset Local Storage and now I can't seem to access it anymore. (At least when previewing with LocalHost.) I may have caused the problem by clearing storage and then immediately trying to save to it. (Unfortunately, I didn't find the "On Storage Cleared" condition until later.)

    When I look at Local Storage in the debugger I see "(loading...)" in both the Key and Value fields. Pressing the Reset button has no effect. I tried doing a Reset in my "Start of layout" event. That didn't help either, nor did rebooting my computer.

    I found out how to manually delete my Local Storage (using "F12" in Google and going to the Resources tab) and it was instantly removed, but my game still seems to think the data is there and is locked up trying to load it.

    Any suggestions on how to fix this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you, thank you, thank you! My sprite is a simple rectangle so I assumed the collision polygon would automatically match the shape. Nope, my poly looked like a Picasso painting. Appreciate the help, guys!

  • I am making a web app and I have several rectangular sprites that I use as buttons. ALL of my buttons work great... except one. At first it seemed to fire off randomly when I tapped it, but there are certain places -- near the middle of the button -- that will never register a tap or click. But there are other spots on the sprite that will register a Touch event every single time. The buttons are all the same so I can't figure out why one of them only works part of the time...

    I'm sure this is an issue with my code but I don't know even know where to begin to start looking. Any suggestions? I have some invisible text objects in the same area, but they are all on the same layer so clicks should pass through, right? I made my button opaque in case it was a transparency problem, but that didn't help either...

  • It's my understanding that, in order to host an HTML5 game on Dropbox, you need access to Public Folders. As of 2012 this feature is no longer available unless you pay for a Dropbox account. (I think anyone who started using Dropbox before 2012 will still have access.)

    Just FYI.

  • Good to know, Ashley! It's possible that I was looking at a subforum when I saw that there were only about 30 people online. Sorry about that. (I don't want people to see my thread title and get the wrong idea, so feel free to delete this thread!)

  • UPDATE (and a few final questions): I finally tracked down my array/dictionary issue above. Due to an export error from Excel there was a leading space in front of all my IDs. SUE (stupid user error).

    Okay, a few more questions: For my Flashcard app to be truly useful to the other people in my French class *THEY* need to be able to enter their own words and phrases. Sounds like that might be pretty tricky, since I'm already using Local Storage to track "scores". I'm also concerned about someone losing all their entries if they ever have to clear their web cache. (That would happen, right?)

    Is there any [easy] way for me to do this? There are only a few people in the class so I'd be willing to upload their vocabulary .json files to my server. In my flashcard program is there a way for me to bring up a directory of filenames? (Then they could simply choose their own vocabulary word and use that.)

    Special thanks to blackhornet for his help, so far. It's much appreciated!

  • Strange, I just tried to post in this thread but my message didn't appear. Apologies if I accidentally double post.

    Ignaci, I noticed that your example file is using the older version of Construct 2. (I can't even open it.) You may want to update your link. Or I can post an example file if that would be easier. Let me know!

  • Thanks to blackhornet's help I have dramatically simplifed my app (and it's much faster now, too)! But I've got one more bug to fix and I'm completely stumped.

    I'm trying to update my dictionary using a value in my array and it's just not working.

    Here's my code. (I've verified that location 0,3 = "0"):

    Dictionary: Set key Array.at(0,3) to 300[/code:4k9r7w3i] 
    [i]NOTE: I've tried using: str(Array.At(0,3)) but that doesn't help.  [/i]
    
    And yet THIS works:
    [code:4k9r7w3i]Dictionary: Set key str(0) to 300[/code:4k9r7w3i]
    What am I doing wrong?
  • Wow, thank you blackhornet! I really appreciate your help!

    I haven't had a chance to look at your updates, but your response made me remember why I was prompted to write my post.

    It was my assumption that the Sort and Reverse commands for arrays would finish execution before falling through to the next line of my program. But I was running into problems when I Reversed the Y axis, and then immediately Sorted by X. My theory was that the Reverse hadn't finished before I started the Sort. When I put the delays in between (Wait didn't work), everything seemed okay.

    I think I read that some Events need a "tick" to complete. Is that the case here? Would "Wait 0" work?