DnlWhlrGms's Forum Posts

  • My latest release is up on Google Play for FREE. Hope you can check it out!

    "It's the classic fun of a brick breaker game mixed with the challenging

    elements of pinball on a field of rainbow-colored gems."

  • My latest release is up on Google Play for FREE. Hope you can check it out!

    "It's the classic fun of a brick breaker game mixed with the challenging

    elements of pinball on a field of rainbow-colored gems."

  • Thanks, TiAm I'll check those out and find a good middle ground. I looked at this mesmotronic full screen Cordova plugin, but didn't know how, or even if it would work. It's such a bummer the letterbox scale thing is not happening on canvas+. If it had that, along with its already great performance and apk size, I'd be in heaven. I'm no coder, so I'm sure if it was easy, they'd have it...

    So, basically a game with finite wall needs like mine is gonna need some floating tricks. Thanks again!

  • ludei I am still having a problem with full screen in New cocoon.io. I've read through this thread and several others trying to figure out what I'm missing.

    I've done:

    1. The code patch for the retina IsCocoon thing.

    2. Removed whitelist from installed plugins.

    3. Switch physics from .js to the .web one.

    4. Tried WebGL on and off. (Off made it zoomed like, 300% in upper left corner)

    5. I'm exporting as Cordova, deleting config file, zipping the rest and uploading, choosing full screen, portrait, canvas+.

    6. I'm using the new cocoon Cordova plugins (updated from formally named ATP).

    7. Using Letterbox scale, even though its not supported by canvas+, I have yet to read others using a different scale. I'm assuming C2's scale choice is ignored as cocoon configs it it's own way.

    In the end I continue to have this weird strip on the right side:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I purchased your "Advanced Menu" and it's great. Can you tell me how to add a "Next Level" button that records the score and stars. Right now you play a level and have to go back to the main menu and I'd love to have a button that goes right to the next level. I just don't know how to code it so it remembers the stars and score without going back to the main menu.

    Thanks!

  • Thanks for the advice and example! If i'm not gaining any noticible performance or decrease in app size, then snapping to grid the levels seems best for me.

  • Hi,

    I'm working on a breakout style mobile game that will have at least 20 levels. So, that means 20 levels of different brick patterns to layout in a grid. I can make a layout for each level and hand-place the brick pattern, or I'm guessing I could use some code to do the grunt work.

    Questions:

    1. Would it even save on app size/performance to do it dynamically?

    2. What would be the best way to do it dynamically? I've looked at Rex's csv2array plugin and kind of think that would work, but not being a coder, I'm not sure.

    Here's a pic of what I mean if the question is confusing. Thanks for any help.

  • You RULE korbaach! Thanks for the help. It's perfect!

  • *bump*

  • I'm still missing something ASHLEY. I put the (4) text choices in a family and added the family to your expression. I hoped it would choose a random family member like it does when you use family in create. Unfortunately, nope - it just kept using the first text in the family.

    I guess I don't understand your suggestion, [quote:1iigc0rf]put the expression in a "pick random" event

    The endgame is a random answer generator that uses the typewriter effect

    I've included the C2 file if my description isn't clear.http://www.danielwheeler.net/SB/random_text.zip

    Thanks!

  • Ashley

    Love the simple code for typewriter effect. I have one request that I can't figure out with my limited code knowledge.

    How can I add the random function to this code:

    left(text1.Text, len(DestText.Text) + 1)[/code:1ui5m44i]
    I have text1, text2, text3... text50 and I need the above code to choose one of the 50 randomly. I tried [code:1ui5m44i]left(text(random(50).Text, len(DestText.Text) + 1)[/code:1ui5m44i] but it errors.
    I'd appreciate any help!
    
    Thanks!
  • Hi C2 Community,

    Please check out my new game that's just hit the Google Play Store.

    Just click the signature below, Thanks!

  • Hello,

    I need the user to push a button and a text box become populated with a random phrase. I'm guessing it would be a string of phrases with separators of some sort with the random function. Anyone have example code or .capx?

    Thanks!

  • Thanks Grigrizljac,

    I'm going with using the browser events "is online", and "is offline" to cover it. I guess that's the best option.

  • I have a full-screen ad that pops up when the player dies. The person playing has to dismiss the full-screen to continue the game. I was wondering what happens if there is no WiFi to load the ad? Will the game be stuck with no ad to dismiss?