klkitchens's Recent Forum Activity

  • So I've created my app (very simple app, but does what I need)... and I export to PhoneGap (Cocoon and EJecta won't work for me as I'm using Textboxes and XML plugin -- found THAT out after the fact)

    Fortunately PhoneGap works great for the most part. It's not a complex app at all and doesn't require much speed.

    However, when I run on the iPad, it looks just fine.

    When I run on iPhone 5, the fonts in the textboxes are all too large. I tried changing from pixel size in the CSS settings to "em" sizes, to no avail. On the iPhone the fonts are just too huge for the smaller screen.

    Anyone know of a good solution for this? I'm essentially looking up data in an XML database and displaying in various text fields on the screen.

    I'd also like the iPhone to not put the black bars on the right and left of the app (landscape only), gonna try some of the other "Fullscreen in Browser" options now to see what that does for me...

  • Is this possible?

    I'd like a control where I can post text using basic HTML markup like BOLD, underline, fonts, etc...

    Have some pre-formatted text I'd like to display.

    Thanks!

  • How did you manage to do this?

    Did you do it all in C2?

    Yep. Add a TextBox and then in the properties set its type to TextArea.

    Then in the event page for the sheet, there is an action for setting CSS... basically you just set "color" to "white" or "background-color" to "purple" or whatever you like. "font-size", "font-weight", "border"...

  • Is there an HTML object/plugin, where I can add HTML-formatted text for display?

  • never mind...

    TextBox

    Type: TextArea

    Then set all the CSS properties for font, color, etc. in events.

    Scrolling happens automatically. Thanks!

  • I want to create a help page layout like most iOS games I've seen where the user can simply scroll the text up and down inside a view port on the screen... or the whole screen if need be.

    Is this possible?

    I don't need the whole layout to scroll (like an arcade game), just let the user scroll up and down the text as they read.

  • Thanks both... got it figured out with your help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I must be brain dead but cannot figure this out...

    When something scores points, I want a bubble/cloud/points to appear in that spot, float a little upward, then fade out. I have the images I want, just cannot figure out how to get that to work.

    Create a copy of the object

    Move it to the right layer

    Set it to the right x,y position...

    then what to make it sorta animate upward for a second or two, then disappear... bullet?

    Thanks!

  • So, just create a new global variable for each layer and layout?

    Sorry, no...

    Create one global variable. When you create your layout (or load it), create a new copy of the button and set its on/off value to whatever the global variable is. When you change to an existing layout, update the copy of the button there to the same value.

    When it's time to play sounds, you don't check the button, you check the value in the global.

  • Create a global variable IsMuted and when it's set on any layout, it sets the global variable... and then all your code to play sounds/music whatever includes the condition IsMuted = false (or 0), then play the audio.

    Nevermind... you're looking for the actual control, not the effect.

    Can't you just create a new copy of the control on the current layout when it's loaded and then copy the settings from the original on or store them globals?

  • Can we have a screenshot of the concerned events then?

    Also:

    "System - Pick Eggs by evaluating Eggs.UID = GameFunctions.Param(0)

    System - Pick Basket by evaluating Basket.UID = Eggs.BasketUID"

    you can do :

    Eggs - Pick by Unique ID : GameFunction.Param(0)

    Basket - Pick by Unique ID : Eggs.BasketID

    Solved it... the method was getting called just fine, but it was not finding the Basket (I was checking my own variable incorrectly) so it resulted in nothing getting fired thus the error.

    To debug, I reduced the event to a basic call with no params, then slowly added pieces back in... and voila...realized my mistake.

    THANKS!

  • Good tip... and yep, it's in the same event sheet. And I confirmed the spelling was the same too...

klkitchens's avatar

klkitchens

Member since 15 Jul, 2013

None one is following klkitchens yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies