AnD4D's Forum Posts

  • Ashley I didn't see it as a bug, just a missing feature. As I said, I've not really looked into mobile development really until recently.

    I've just done my own keyboard, but it's not ideal because if players make an error they have to delete all the characters after the error to fix it, rather than just edit the text.

    It's not a big deal, really, but it's not great.

  • >

    > > Seriously, I'd make my own keyboard out of sprite frames.

    > >

    > Hey Newt! Yeah, I've thought about that, but I'm also looking at allowing names to be entered, which would require all the letters added. Seems like a lot of effort just to enter names JUST because the enter key and focus don't work.

    >

    > I was hoping that I was missing something basic... rather than Construct missing something basic.

    >

    I've spent a lot of time battling this, and usually do either one of two things:

    1. Design my own keyboard.

    2. Make sure all HTML textfields are in the top half of the screen.

    The problem is that with Construct's screen scaling, browser manufacturers are too inconsistent to make sure things are always done the same way. The only surefire way to avoid these issues is to build your own keyboard.

    cjbruce Yeah... keeps coming back to that, but the fact that it appears to be a requirement is absurd. I originally used the "Scale Inner" scale, but when I put the texbox at the top, it vanished, and recentred my screen, no mater my scroll to point. In the end, I had to use "Scale Outer", which results in a teeny tiny layout when the keyboard appears. It's as though it zooms out.

    It's annoying, looks stupid is and unprofessional, but it works.

    I'm also aware that with my app exported with Cordova and built with PhoneGap, whenever I touch a textbox, the toolbar/status bar at the top of mine and 2 other phones I've tested it on appears it will never go away again. So if I touch the textbox, I can't get rid of the little clock. Even though I check the box at export.

    So that's 3 bugs with mobile development in relation to the textbox.

    1) The return button does nothing

    2) The soft keyboard vanishes if the keyboard overlaps it or if it goes off screen (often caused by scaling)

    3) The status bar appears and won't go away

    Ashley - Are you aware of any of these issues? Or do you not consider them issues?

    When the best answer is "Make your own keyboard", I struggle to believe that there's not a problem here. Are these things fixed in Construct 3?

  • Seriously, I'd make my own keyboard out of sprite frames.

    Hey Newt! Yeah, I've thought about that, but I'm also looking at allowing names to be entered, which would require all the letters added. Seems like a lot of effort just to enter names JUST because the enter key and focus don't work.

    I was hoping that I was missing something basic... rather than Construct missing something basic.

  • After using C2 for many many years, my wife asked me to develop a mobile app for her work. It involved entering some numbers into a textbox and it would do some calculations.

    The thing is, it's not acting how I expected.

    If the textbox ever goes off screen or gets covered up by the keyboard, the keyboard is immediately pulled down. This was caused by the scale not being perfect on the mobile device, so it would scale the screen appropriately. I had the textbox at the top, so it would sometimes disappear.

    However, I've seen a few examples where the textbox could be placed at the bottom, and if the keyboard was summoned it would slide the textbox up... but in my experience (and this thread I found: https://www.scirra.com/forum/problem-with-textbox-and-mobile-keyboard_t185196), the keyboard just overlaps the textbox and, as I said, that causes it to close the keyboard as the textbox is no longer in focus. Strangely, in the linked experience, their keyboard remains, but they can't see what they're typing.

    In addition to this, I can't press the enter button on the soft keyboard to confirm that I'm done entering details. Why is that exactly? The enter button does nothing at all. People have to press the back button or onto the layout in order to close the keyboard.

    Is it possible to have events for the software keyboard?

    Construct 2 has typically been promoted as being great for mobile development since my time here, and finally when I do decide to make use of that functionality, it's missing what I consider pretty basic functions? Colour me very surprised.

  • Well this sucks...

  • Seeing this as well. Just in the process of downgrading to VS2015 to see if that helps.

  • Looks like the capx is incorrectly linked as the program.

  • > ggibson1 I finally (carefully) created my array, and created the JSON... but Construct 2 doesn't accept the JSON when using the load JSON action. Why is that?

    >

    > I found I had to create a capx from the program, then heavily edit it just so I could get my data. The generated CAPX doesn't even create the array. It does, however, generate 139 random events I have no interest in, but understand some people might like them.

    >

    > In the end, it just generates the array in the exact same way I would have needed to within C2... which is what I was trying to avoid.

    >

    > The whole reason I got the program was so that I could use the load JSON command.

    >

    > For me, it's just broken and cumbersome.

    >

    If you carefully read the manual you will see how to export in various ways.

    You can even just copy and paste the generated JSON directly from one of the editing screens into a file to read into C2.

    Yeah, I did that. AJAX or something, right? I ended up making my own Data Editor using Construct 2 itself, and set it so you generate text that gets loaded as JSON directly into an array. Much better.

  • I've spent the past 2 weeks making my own Array Editor. Maybe worth releasing/sharing?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • While using Construct 2, I constantly select text using a double click of my mouse. For example, if I have an expression that reads:

    "sprite.physics.mass"

    If I want to quickly change mass to something else, rather than drag select the word mass, I will simply double click the word to highlight it, and replace it with something else.

    In the current build of C3, a double click will select the entire expression.

    The same goes for text variables. You need to surround the text with quotation marks, and I used to double click the text to make quick changes to it. Now I find myself double clicking it, then having to either drag select, or constantly add the quotation marks back in.

    Apart from that, it's all normal. I'm just finding it a little more cumbersome to use at the moment.

    Anyone else experiencing this, or is it just me?

  • ggibson1 I finally (carefully) created my array, and created the JSON... but Construct 2 doesn't accept the JSON when using the load JSON action. Why is that?

    I found I had to create a capx from the program, then heavily edit it just so I could get my data. The generated CAPX doesn't even create the array. It does, however, generate 139 random events I have no interest in, but understand some people might like them.

    In the end, it just generates the array in the exact same way I would have needed to within C2... which is what I was trying to avoid.

    The whole reason I got the program was so that I could use the load JSON command.

    For me, it's just broken and cumbersome.

  • Does this program have an undo function? I spent ages building an array, then dragged a single cell to the far left column to see what would happen, and it suddenly replaced the entire row above, meaning I just lost loads of data. Not realising what happened, I tried again, and just lost another row of data.

    Why is that a feature?

  • After many many months of waiting, I finally bought this.

    I'm getting bugs every couple of minutes.

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at System.Data.Index.CompareRecords(Int32 record1, Int32 record2)
       at System.Data.RBTree`1.SearchSubTree(Int32 root_id, K key)
       at System.Data.RBTree`1.GetNodeByKey(K key)
       at System.Data.RBTree`1.GetIndexByKey(K key)
       at System.Data.Index.RecordStateChanged(Int32 oldRecord, DataViewRowState oldOldState, DataViewRowState oldNewState, Int32 newRecord, DataViewRowState newOldState, DataViewRowState newNewState)
       at System.Data.DataTable.RecordStateChanged(Int32 record1, DataViewRowState oldState1, DataViewRowState newState1, Int32 record2, DataViewRowState oldState2, DataViewRowState newState2)
       at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Boolean suppressEnsurePropertyChanged, Int32 position, Boolean fireEvent, Exception& deferredException)
       at System.Data.DataRow.EndEdit()
       at System.Data.DataRowView.EndEdit()
       at System.Windows.Forms.CurrencyManager.EndCurrentEdit()
       at System.Windows.Forms.DataGridView.DataGridViewDataConnection.OnRowValidating(DataGridViewCellCancelEventArgs e)
       at System.Windows.Forms.DataGridView.OnRowValidating(DataGridViewCell& dataGridViewCell, Int32 columnIndex, Int32 rowIndex)
       at System.Windows.Forms.DataGridView.CommitEditForOperation(Int32 columnIndex, Int32 rowIndex, Boolean forCurrentCellChange)
       at System.Windows.Forms.DataGridView.ScrollIntoView(Int32 columnIndex, Int32 rowIndex, Boolean forCurrentCellChange)
       at System.Windows.Forms.DataGridView.ProcessDownKeyInternal(Keys keyData, Boolean& moved)
       at System.Windows.Forms.DataGridView.ProcessEnterKey(Keys keyData)
       at System.Windows.Forms.DataGridView.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
       at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
       at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)[/code:o0xlg9av]
    
    How do I stop this?
  • I've never been a fan of the current version of sprite font in Construct 2, but I was hoping C3 would be a little different.

    And I wasn't disappointed! The fact that we can now see changes we're making to the font in real time is wonderful! Thank you for that!

    However, my concern is with individual characters. Will we be able to make changes to them during runtime?

    For example, if I want to have a sentence, but have 1 word a different colour than the rest? I see you've used the replace colour effect in some of the example games, but that will change everything.

    Also, might we be able to change individual character positions during runtime, allowing us to get wobbly or rippling text?

    I don't currently see much difference between SpriteFont in C3 and SpriteFont+ in C2.