ForsakenBA's Forum Posts

  • en.wikipedia.org/wiki/Round-off_error

    This is very interesting! Thank You.

  • Hi,

    Why when I insert a label and put in the code the text 4400/1.1 it returns 4000 and when I insert a text box and do the same calculation it returns me 3999,9999999999995?

    Tagged:

  • I see, I'm not familiar with that, but I would try leaving the list object outside of the viewport and using the set focus action to see if it triggers the system list popup dialogue. Alternatively, you could use CSS to style a listbox however you like, similarly to how the system displays it. One more option is to use javascript to directly call and build the list in an android alert dialogue.

    I just did another test, and I left the list box visible, with the same size as the sprite and in the same position. But I left the text and background transparent.

    When tapping on the sprite, the list opens normally on my Android, I'm just not sure if it will work on other phones, because testing it on Windows the text of the list is transparent as the box, but on Android it doesn't.

  • + Mouse: On Left button Clicked on Sprite

    -> List: Set visibility Visible

    This is not ideal, because the list box (the gray box) appears on top of the sprite.

    It is an Android application.

    In other programming languages ​​this is called a "call dropdown list" where I can access the list without needing to touch the object.

    And after selecting the item from the list, I can write a result in a label for example. (This I know how to do).

  • What do you mean by 'call' or 'load'?

    Sorry.

    I'm using the default List object (dropdown list) to store some names, but I want to hide this object and access the dropdown list when the user touches a sprite object.

  • Hi,

    I'm using listbox to store some lists, but I want the list to load when I tap on a sprite (custom button). Is it possible to do that?

    Tagged:

  • Forget it guys, I already figured out how to do it.

    Just set the CSS Style property to "font-family" and write the name of the font you imported in place of the value.

  • The question is in the title. Is it possible to do this?

    Thanks!

  • Construct works offline - you have to make sure you wait for the "ready to use offline" message though, otherwise it's not finished saving for offline use.

    I just opened the editor in a Chrome tab and opened the Ghost Shooter example project, and after a while the memory usage according to Chrome's task manager settled on about 120mb. That seems perfectly reasonable to me. If other tabs or browser extensions use lots of memory, that's not due to Construct.

    I must be doing something wrong here because I can't use Construct offline. I can even open the app and load an existing project, but the preview doesn't work, and I can't create new projects.

  • If I want it to be compatible for both mobile phone, iPad and desktop? And for my assets, I made it rather big, eg. 500x500px for a small player on screen, and scale it to 30% in the layout. Would I have problem with game file size when I export my game in the end?

    Hi,

    "Target aspect ratios, not resolutions."

    Read this tutorial. it is excellent. I use 16:9 in all my projects.

    construct.net/en/tutorials/supporting-multiple-screen-17

  • I haven't had success with that yet. If anyone can help ...

  • I think I have a temporary solution to this.

    I noticed that if I resize the HEIGHT of the text to double the font size this problem does not happen.

    For example: if the font size is 35px, I put the text height at 70px.

    It cannot be bigger or smaller, it is exactly double.

  • I just made an update to the build service to keep using the older version for the time being until we get round to updating for v20. If you export again now it should work.

    Hi Ashley,

    I think this is the same problem, right?

    construct.net/en/forum/construct-3/general-discussion-7/error-exporting-android-159669

  • I have the same problem. Yesterday was fine.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • a rough guess tbh based on my past use of camera functions, but i don't think it would be possible due to security restrictions.

    internal camera permissions are pretty similar for most devices, so it is easy for construct to prompt the user permissions needed for camera access of that device. but it would be hard to adapt it to suit requesting permissions for so many different external devices out there such as otg cables.

    Best chance would be seeing if there's any way to use the javascript function to somehow recognise the otg, but again the permissions could be an issue.

    might be worth posting in the javascript threads, see if anyone has a solution.

    hope it works out.

    Hello GeoDev, thanks for answering me.

    I had already posted in the javascript area because I imagine that really the best way to solve the problem, but I haven't had an answer yet.

    I don't know the language, so I can't even try a solution, but I did a lot of research on the subject and found this link. Perhaps it can serve as a reference for something.