pacosaurus's Forum Posts

  • 8 posts
  • Problem Description

    Text from textbox.text is object is copied/displayed backwards to text.text object.

    I only experience this problem on my mobile phone (Galaxy S7 Edge, with Chrome and also Samsung Internet browser). PC's have not exhibited problem with backwards text .

    Attach a Capx

    (Capx shared on onedrive)

    https://1drv.ms/u/s!AI52mP5sdD-E7UI

    (URL with app)

    input-demo.bitballoon.com

    Description of Capx

    Toggle between displaying text from one text box or another.

    The only difference is the size of the two text boxes.

    Steps to Reproduce Bug

      On a mobile device (but oddly not my PCs):
    • Type something "normally" with the keyboard (textbox 1 starts in focus). Everything seems fine.
    • click the number icon to switch focus to text box 2 (which is very small)
    • when you type is the very small textbox the text is copied backwards

    Observed Result

    The text gets displayed backwards if the text box is too small

    Expected Result

    The test should be in the order it is entered on the keyboard

    Affected Browsers

      (Mobile problem only)
    • Chrome: (YES/NO)
    • Samsung Internet (only ones I have)

    Operating System and Service Pack

    Win10

    Construct 2 Version ID

    r255

    Thank you for your help. I am not, by any means, a programmer. I am a teacher who is writing educational software and Construct 2 gives me abilities I never thought possible. Thank you!!!

  • This just really helped me, thanks!

  • Thank you both for your replies, Ramones, I really appreciate your expertise in knowing that about chrome, as I am still at such a beginning phase I wouldn't have even thought to address it at the "browser-level." Strange that it only started happening recently, as I have been using chrome for quite a while.

  • A very simple example is here: http://1drv.ms/1QzRcvd

    An educational game I have been developing little by little over several months suddenly started exhibiting problems, and I am perplexed as to why. I am using a Text box (form control, set to 'number' input) to accept keyboard input and then copying these numbers to a text object for displaying on screen. Everything displayed and behaved normally until recently.

    The problem that I think popped up in the last few days is that the 'text' of the TextBox disappears when the number being entered ends with a "." (decimal point). For example, as the user would type in the decimal value "3.42" the text field disappears as the user enters the decimal point after the three. If I change the Properties/Type to "text" everything works fine, but I need it set to "number" because I want the number pad to pop up for the user, not the keyboard. It appears that C2 is suddenly having a hard time recognizing it as a 'number' when it ends in a "."

    I appreciate any and all assistance and really hope to get back on track with my game. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> I apologize for wasting anyone's time if I am missing something obvious or overlooked a previous discussion on this matter. I am an educator, not a programmer, but C2 has really given me an exciting avenue to try to reach my students. I'm using this numerical entry for math-based problems in (what I hope is) a fun game for them.

    I have the user enter text in the TextBox, which is seen on-screen every tick as it's displayed in a TextObject. When it comes time to evaluate the user's response I copy the number into a global variable which is used in various calculations and compared to a correct value to determine right/wrong.

  • I just stumbled across this thread looking for how to print my event sheets.

    My reason to need to print them is that sometimes I do not have access to my electronics but I would like to still have my code to error-check during these times.

    Yes, there are actually times when I don't have access to a computer and, no, I do not live in the sticks.

  • Ok, big THANK YOU, Kyatric. I couldn't view your file because I didn't have your version of Construct 2 installed. Once I got connected to wi-fi I was able to download, install, and view your file.

    If, instead of choosing an animation frame of "Proj" object, is there a way you could demonstrate how to have different objects (Proj1, Proj2, Proj3, etc) created instead?

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks. Each ball has its own physics, so I cannot use different animation frames.

    I suppose my problem is that I can't figure out how to do RayKi's suggestion. I use the on overlap condition with ball_family, but what actions/means read that object's ID from the family, and how (when selecting to spawn later) do I reference that ID? It seems that whenever I try to create an action to spawn anything it only gives me sprites to choose from to spawn, and I cannot figure out how to get it to spawn an object based on some value in a variable. That, and I cannot figure out how to draw an ID of an object from a family. I'm admittedly a newb, thanks for any help.

  • Hello. This is my first post here asking for help. I'm new to programming, but Construct 2 is inviting and I love the wealth of resources posted to this site and youtube, etc.

    Here's my issue:

    I am creating a game where a gun shoots different types of balls (ping pong, basketballs, beachballs, etc). The ammo types (balls) are displayed in a column in the UI, and the player selects the ball type by moving a square sprite ("BallSelector") over the desired ball (the BallSelector snaps into place using the ball-obects x,y coordinates).

    My ultimate goal is to have the same gun spawn (i.e. shoot) whichever ball type is selected by the BallSelector. My thought would be that I could use the "on overlap" condition to have Construct 2 figure out what type of ball the BallSelector is on and then pass that info along to the gun to spawn this object when fired. However, I am not finding how to do this very intuitive. I have tried using families but only get the gun firing random objects from the family randomly. The core of my issue seems to be a general lack of understanding how the read an objects "ID" and then issue a spawn command based on that ID. Again, I am very new to this, and ANY help is appreciated. Thank you!

  • 8 posts