Stweve's Recent Forum Activity

  • Hello Aekiro,

    Interesting and clean looking work. I hope to be to use some of it.

    I was, at first, hoping to use this along with the menu navigation piece, as a replacement for the settings menu in an existing app, using multiple pages of settings. Looks like the menu navigation works by loading a different layout for each menu so I think I lost that bet. If this is ever updated, I'd love to see the use of multiple menu pages in one layout.

    So then, of the menu layouts, I was most interested in this nice dropdown menu so I don't have to make my own from scratch. I couldn't tell exactly how it worked from the project file, so I went straight to the .pdf instructions and there isn't anything about "dropdown" in the instructions. Do you have a doc on this?

    -Steve

  • Howdy.

    I'm looking to make a simple sprite font text editor, starting with Dop2000's "Old Terminal Typing" example. I want the user to be able to edit and scroll through pages of sprintfont text.

    It should have the feature where the user taps on the screen somewhere to place the cursor in that part of the spritefont text, so that subsequent typing that can begin from that position.

    Spritefonts don't seem conscious of where their individual characters are on the screen, so it's seeming like I would want to create a separate spritefont object for each character.. And, each character would have a property of line and character number. Then, clicking that sprite font would move the cursor there (and the string and/or array that is holding all of the cursor text would have to be updated to show where the cursor now is). That might be a pain for managing character spacing and and font-change features, though.

    I could use one spritefont object and build some sort of array that keeps track of the x,y position of each character.. Based upon individual character spacing.. But that may be more difficult to manage.

    I'm curious if anyone else has some theories on how this would do down.

    I guess it would be much easier if it only supported fixed width fonts. Maybe I'll just roll with that first.

    I'd also like to use the native phone keyboard, which I believe means that I need a text input box. Right now, I'm just using a small white text box as a button that invokes the native mobile keyboard.

    Thanks for any ideas. -Steve

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • GameSoul Thank you so much.

  • Thanks for giving it a whirl, Chadori. I know there probably isn't much need for this feature in a C3 framework, so that was appreciated. Cheers!

  • Thanks Chadori, I'm still curious from our last exchange if Mobile Background allows for background audio in iOS. Is there a way for one to confirm this before owning the collection?

    Cheers,

    -Steve

  • Thanks for your reply, Chadori! I look forward to hearing if it works.

    The Audio object's Run in background property doesn't work in iOS. On Android, yes (somewhat).

    The only workaround I've found thus far for iOS is to use PhoneGap and cordova-plugin-background-audio.

    Cheers,

    -Steve

  • Hello! Does the Mobile Background plugin login allow for background audio on iOS? Looking for something where the audio from the C3 app still plays when the phone is locked, in another app or screen is off.

    Thanks! -Steve

  • Greeting! I'm working on a mobile app which allows you to mix different droning noises/sounds that loop. I'd want the sound running in the background. The "Play in background" toggle on the stock audio plugin works somewhat in Android but, as some may know, does not fly on iOS. I've also tried this addon for the heck of it but no dice.

    Since the build service only allows certain cordova plugins, I'm trying to weigh all of the options here. The two plugins supported by the build service that seem to apply here are:

    I see current options as the following. Any other ideas?

    1. 1. Use an alternate build service, with cordova-plugin-background-audio. This plugin is enabled by default, so perhaps it would not require an addon.
    2. 2. Request cordova-plugin-background-audio be added to Scirra's whitelist
    3. 3. ($$$) Buy the suite containing chadori-mobile-background if I can confirm it would fit the use case.
    4. 4. (I've been down this rabbit hole before and don't want to go back) Editing index.html config.xml and config.json to add the cordova-plugin-background-mode-2 plugin and Javascript to enable it. Is there a way to talk to a plugin like this in C3 just to toggle enabling it, without using an addon?
  • +1 Script Type to classic solved the hang. Thanks for the time saver.. that was ponderous for a moment..

  • After a few more tests.. Just extra notes for anyone coming across this thread

    The takeaway is that I'm not sure what the use case is for "any purchase success" but I'm going to avoid it.

    On Restore Purchases

    When a user does not own the IAP in question

    - "+ MobileIAP: On any purchase success" = TRUE (weird)

    - "+ MobileIAP: On product <productID> purchase success" = FALSE

    - "+ MobileIAP: On any purchase failed" = FALSE

    - "+ MobileIAP: Has product <productID>" = FALSE

    When a user does own the IAP in question

    - "+ MobileIAP: On any purchase success" = TRUE

    - "+ MobileIAP: On product <productID> purchase success" = TRUE

    - "+ MobileIAP: On any purchase failed" = FALSE

    - "+ MobileIAP: Has product <productID>" = TRUE

  • Thanks. True. It was tested, but the restore function should have been retested more thoroughly before the last app update. The behavior changed at some point.

    Yeah. I can't tell who has a legit purchase flag unless I force a purchase check to make the user

    log in. Not doing that to my paying users' experience.

  • This is happening specifically on iOS (just edited/added that to the original post).

    There is only one IAP available to purchase, which is a non-consumable "unlock" for the Full Version of the app, which expands features and disables a timer. For that reason, the app assumes that any successful purchase means the user owns that full version.

    What I did not anticipate was that the "restore purchases" action seems to be meeting the "on any successful purchase" condition, even when the user does not own any IAP.

    I should probably test "On purchase success" for the specific product ID and see if that also triggers on "Restore Purchases" as well when the user doesn't own anything. I would expect either "successful purchase" check to fail, though, if the user does not own the product.. unless the criteria for a successful purchase has changed in C3 to now only mean "successful purchase attempt". Maybe "on any successful purchase" is operating with the scope of any product ID at all.. e.g., another app vendor.

Stweve's avatar

Stweve

Member since 14 Feb, 2014

None one is following Stweve yet!

Connect with Stweve