DavidA13's Recent Forum Activity

  • Hi Ashley and/or Tom!

    Just a quick question, you added a new "Scroll to bottom" action in the latest beta release (for multiplayer chat) for text box (area).

    Could this action be added to the standard TEXT object too? It would be useful since this object is more easily customizabled and is not always on top.

    Thanks for your work!

  • I'm pretty sure those games use the "suspended/resumed" action to reconnect/refresh the info in the game like the time and all...

    Sadly like I said in another psot those actions don't work in iOS brwoser-based games, I tested them, worked in IE and Firefox but not in iOS (Safari)... : (

  • You must use the "AJAX" object...

    I'm not sure CocoonJD supports it...

    With the AJAX you do a "post" that send the information in a "cgi" file that you code, by using something like cfm or php, wich will receive your variables and send them into a xml file or database...

    That's the only way I know...

  • Is not there a "pin" behavior for this? Search for it in the manual, pretty sure it's can resolve your problem. ...no?

  • I tried the "on suspended" and "on resumed" with a simple textbox that set the text to "suspended" and "resumed" and it's works fine on IE and Firefox but not on iOS in Safari. :(

    It would be really cool if Ash or anyone from the Scirra Team found a way to make it work in a future build! :)

    Is there any other way to detects this, maybe something clever like getting the system time of the used app and comparing it with the time one second ago every second...?

    Thanks.

  • NorrinRadd:

    Thanks for replying to this thread and let people know I'm not alone with this problem!   :)

    Another solution to put the canvas back to his original position is to touch the black status bar at the top of iOS (with the houre at his center).

    So an inelegant solution would be to display a message to the user if he is on iOS that says something like "Touche the black status bar at the top if you want to replace the screen"...my english is not perfect so...

    The problem happens if the form object are not at the top of the screen so Ashley could retry with form objects at the center and at the bottom of the screen...

    Thanks in advance to you, Ash and Tom.

  • Hi all!

    On my iPad (4) and my iPod touch (4) when I use the keyboard in a HTML5 game the keyboard goes in from the bottom of the screen (wich is normal lol) and the whole game goes up to accomodate for keyboard space. ...but when I'm done the keyboard goes out at the bottom and the whole game screen try to return back to his place by going down a few notches but there is alway a good 1 cm missing at the bottom, a 1 cm black space so there is 1cm of the game screen missing at the top.

    The only way around for now is to rotate my iPad to make the game resize itself...is there an event/action combo that I missed to ask to my game to resize after using the keyboard or is it something that could be adressed in a future C2 release?

    Thanks in advance.

  • Hi Septeven!

    Awesome plugin by the way!

    Is it possible that the "on text changed" action doesn't work? Or maybe it's just on an iPad? (Let me test that on Firefox while writing this...no, doesn't work in Firefox on a PC either)

    Can you verify that? Because I replaced my previous text object with your multiline one and it's the only thing that don't work.

    Oh, and, one last question, do you plan on adding support for different "units" for text size like points in addition to pixels?

    Thanks for your work!

  • A BIG thanks for taking the time to answer me on this Ashley.

    I tried it with a text object containing the tickcount here and it doesn't work either on iOS (6 here) except on the first time but on other platforms the tickcount updates correctly everytime.

    In a browser:

    jeuxid.com/iHD/Test-iPad-LinkV3b

    Link to .capx file (required!):

    jeuxid.com/iHD/Test-iPad/Test-iPadV3b.capx

    jeuxid.com/iHD/Test-iPad/Test-iPadLinkV3b.capx

    I want to bring your attention to something that could maybe help you to find a way to work aroung this in C2...?? I understand this bug may appear on iOS only but maybe you still can adress it via a "workaroung" for iOS? The "something" is the fact that my 2 text object have text initially in them that are not "0" (zero) if you look at the first Capx, the text object that contains the tickcount contains the text "tickcount will appear here" as an example. But the "on every tick" "set text" action updates it to "0" before the browser tab "freezes" on iPad. Same thing for the other text object the 2 actions of the "on start of layout" put a zero in it but the "on every 0.3 seconds" actions doesn't "proceed".

    Thanks again for your time.

  • I finally made some simple files to show you my bug on iPad 4 (and iPod Touch 4) in wich I get "stuck" if I go from one html5 page/game to another directly.

    You can try it first in a browser:

    jeuxid.com/iHD/Test-iPad-Link

    Link to .capx file (required!):

    jeuxid.com/iHD/Test-iPad/Test-iPad.capx

    jeuxid.com/iHD/Test-iPad/Test-iPadLink.capx

    (this second one is just a line of text with a "Open URL in new window" action of the Browser object, nothing else.

    Steps to reproduce:

    1. You just click on the first file wich contain only one line with a link and then you are directed to the second file wich is just a number, starting from 0 (zero) that goes up by one every 0.2 seconds.

    2. On iPad (4 here) or iPod Touch (4 again here) the number doesn't add up, but it works in Safari on a Mac, in Firefox on a PC etc.

    3. If I hit refresh on the second page in iOS (iPad or iPod) then it works, or if I go to this file directly without using the first file. Its also "resume/work" if I touch the Adress Bar in iOS and then untouch it or try to zoom/unzoom, it seems I have to unfreeze the Safari browser window on my iPad/iPod.

    Observed result:

    The file is "stuck", those files are just an example, it's does the same with my 2 C2 minigames so far. (only on iPad/iPod/iPhone, not on others tablets I think)

    Expected result:

    The file should not "pause" at the beginning...

    Browsers affected:

    Firefox: NO

    Safari on a Mac: NO

    Safari on iOS (iPad 4 and iPod Touch 4): YES

    Internet Explorer: I don't know

    Chrome: I don't know

    Operating system & service pack:

    iOS

    Construct 2 version:

    Release 119 (Feb 13)

    Thanks for your time!

    -----------------------------------------------

    Here is my post in the "closed bugs" section, sorry for the double post.

    Sorry for being so late Ashley.

    I finally made some simple files to show you my bug on iPad 4 (and iPod Touch 4) in wich I get "stuck" if I go from one html5 page/game to another directly.

    So, you can test in a browser my simple thing:

    Those files are made with Construct 2 without touhcing the exported resulting files at all.

    jeuxid.com/iHD/Test-iPad-Link

    If you touch the only line in this page it directs you to:

    jeuxid.com/iHD/Test-iPad ...wich is another C2 html5 file that simply add 1 every 0.2 seconds to the black 0 in the center of the screen. It works fine in Firefox on a PC, in Safari on a MA...but not on my iPad 4 and iPod Touch 4 without hitting refresh OR touching the adress bar then untouching it...

    And so, here are my capx:

    jeuxid.com/iHD/Test-iPad/Test-iPad.capx

    jeuxid.com/iHD/Test-iPad/Test-iPadLink.capx

    (this second one is just a line of text with a "Open URL in new window" action of the Browser object, nothing else.

  • Sorry for being so late Ashley.

    I finally made some simple files to show you my bug on iPad 4 (and iPod Touch 4) in wich I get "stuck" if I go from one html5 page/game to another directly.

    So, you can test in a browser my simple thing:

    Those files are made with Construct 2 without touhcing the exported resulting files at all.

    jeuxid.com/iHD/Test-iPad-Link

    If you touch the only line in this page it directs you to:

    jeuxid.com/iHD/Test-iPad ...wich is another C2 html5 file that simply add 1 every 0.2 seconds to the black 0 in the center of the screen. It works fine in Firefox on a PC, in Safari on a MA...but not on my iPad 4 and iPod Touch 4 without hitting refresh OR touching the adress bar then untouching it...

    And so, here are my capx:

    jeuxid.com/iHD/Test-iPad/Test-iPad.capx

    jeuxid.com/iHD/Test-iPad/Test-iPadLink.capx

    (this second one is just a line of text with a "Open URL in new window" action of the Browser object, nothing else.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Question, bug or not?

    My pages need a refresh/reload on iPad if I go from one html5 game/page to another by typing the url in the adress bar or by touching on a link in the page or else they are stuck at the beginning...

    Maybe you (Ashley or other people here) can say me why if I say you that if i then touch in the adress bar on iOS without changing the adress (just to activate/focus on it) and then touch the page above the game "resume"...i.e. is not stuck anymore... It's really is a big problem for me. (I want to buy the business license down the road but I must get aroung 2 or 3 problems on iOS before...)

    Browsers affected:

    Chrome: no

    Firefox: no

    Internet Explorer: no

    iOS: yes

    Operating system & service pack:

    iOS on iPad 4

    Construct 2 version:

    Latest stable

DavidA13's avatar

DavidA13

Member since 21 Aug, 2012

Twitter
DavidA13 has 2 followers

Connect with DavidA13

Trophy Case

  • 12-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

14/44
How to earn trophies