gibbon's Forum Posts

  • Hi, I'm a paid user of C3 and for the first time playing the the new Animate version, however, its very limited and I just keep running into the "Cannot do this as its only the free version"?

    But as far as I'm aware there isn't yet a paid version? So is there currently no way to use it to its full potential despite being a paid user of C3?

  • One thing to remember is (regardless of export) projects are HTML5 based. With the HTML Element object you can create any UI with some very simple HTML (for example a list or table with images ETC). This is far better than any built in object to do the same job.

    I am a web developer so its easy for me to say. But with the (lets be real) unbelievable amount of free HTML resources online I highly recommend learning some HTML/CSS (if you don't already) and playing with the HTML element for such UI controls.

  • I have done all of the above in apps using construct.

    The two best things that came to construct to aid in "app" design and development is JS and the HTML Element.

    True responsive app UI's can be done quite easily now.

  • It is very specific which I fully understand. I'm not asking you to change it for this case as the work around is working just fine.

    I think the point I'm trying to make is; if the software (construct 3) does something (in this case detect key presses when input has focus) and there is a request to change this (in this case to NOT detect if input has focus), make it an option for both scenarios and not just change it the other way.

    To answer your question, unfortunately not, it is a laser measurement device that simply sends the data via bluetooth, the proprietary software receives it and "pastes" it, more so for use in Excel.

    I guess I could try using the Bluetooth object and receive the data directly..

    Will see how I get on.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I use construct for application dev, its excellent since having JS capabilities. Missing features like this which are not "game specific" are always limiting its use for such market (non-games).

    In this instance, it is an application where there is no mouse or touch, just a large screen which is receiving data (numbers) from a Bluetooth device using proprietary software, this proprietary software receives the data and pastes it into what ever has focus. So my application needs to always have focus inside an input box.

    However, if the data looks incorrect (which it can do) the user is required to go back by pressing left/right keys...

    I know its quite specific, but I (and I'm sure I'm not the only one) use C3 for non-gaming dev and had I not found a workaround I would have had to go back to other dev platforms...

    Although a small minority, please keep application dev in mind and not just game focused.

    Thanks

  • I see, I think when it is designed one way and demand is there for another way, surely its reasonable to make both options available?

    Can there not be an option for this on the input object?

    Andy

  • This is obviously quite an isolated issue, but I cant seem to get an answer from anyone so here is a work around for anyone who might one day come across it (which is bizarre as from what I can see in the inspector, it is exactly the same...)

    Add in a html element, add the exact same input code (you can even copy and paste it from the "actual" text input element using inspector).

    This then allows you access to Document regardless of input focus...

    You can then bind keydown using JS and isolate the keydown using keycode.

    Andy

  • I don't understand why can this can be done very easily on a standard HTML page using JS, but no matter what I try in construct 3 (including using JS) it doesn't allow?

    Ashley any hint as to why or a work around?

    It appears (even with worker off) when an input has focus I no longer have access to the document, yet standard HTML and JS I do...

    Andy

  • Hi, I have this annoying issue whereby if an input has focus the arrow key presses are not detected.

    Is there any work around for this? I obviously cant "always" unfocus from inputs, and the having input focus at all times is pretty much mandatory of the app.

    Any ideas?

  • With the export facility of NW or Webview which allows for standard desktop execution, surely there should be a way to load in local files at runtime.

    I can see that NW.js has the option to open local files via dialog, However:

    A) this doesn't seem to work with videos...

    B) I don't want to open dialog, just load a video from a file location and play it...

    Andy

  • Here is an example of the difficulties faced:

    SCENARIO

    1. Fullscreen set to Outer scale.

    2. HTML Element with Anchor Behaviour on all sides so it scales with viewport.

    3. HTML Content contains a scrollable DIV with a set height.

    4. Using JS I want to set that CSS Height property to the height of the HTML Element

    ISSUE:

    HTML Height Value doesn't go below the height set at editor time, yet it definitely scales down very small. I cannot find a anywhere what this scale factor is?

    When the window is scaled with "Outerscale" set, clearly objects get scaled but there relevent width/height values don't change?

    EDIT: Think I have managed to find a way, but not confident, will continue on and see where I get.

  • I know you are determined to have us use one of the full screen modes, which I'm sure work great for games, but for apps (which lets not forget C3 is really good for) I have tried every possible way to have true responsiveness but I have come to the unfortunate conclusion that its really not possible?

    A simple, standard app layout where the header and bottom menu bars simply adjust to the width only and the ability to then centre and resize the content too just doesn't seem possible.

    To do the above, you have to have the fullscreen mode to off and resize the canvas, but resizing the canvas to something LESS that the initial layout size shifts everything off screen. There is no way at runtime to resize the layout (only scale)...

    I am very surprised but this, it really does take away that native app feel as none of the standards fullscreen modes are suitable for app designs.

    EDIT: I believe I have found a way but its not great, I have to have the layout size set to something very small (10x10) at edit time. - Not working correctly - also not viable.

    EDIT: Am I wrong in thinking a Layer with its scale rate set to 0 shouldn't scale? It still scales down when I resize the window?

  • So has support for this plugin been dropped?

    Doesn't appear to be much activity on here from the developer?

    I have issue but seeing as my last issue wasn't addressed I don't hold out any hope.

    I want to create objects at runtime and add them to the content of the "scrollview content" object. At design time you would have your scrollview object which you assign the content object to which you can then parent other objects to.

    I am trying to therefore do that last bit at runtime (parent the created objects to the scrollview content). However, I could find a "parent" action, I could however find an action to set the children to the "scroll view content". This works, however, doing so the scales the children to the parent, and there are no available actions to set the local scale or just not have this happen.

  • In your screenshot I see two things that could be an issue.

    1. You only really need the ‘post’ and not the request. You post the data to the php file, the php file executes and outputs any data that you want returned. That returned data will be in ‘Ajax.lastdata’. The way you currently doing it with two php files can work if preferred but you will still need to check the lastdata from the first post request in order to validate it was successful before doing the 2nd request.

    2. The post request appears to be sending the parameters via a GET, are you receiving them via GET or POST in the php file?

    If you use chrome, hit f12 and look at console & network, console will show any errors and network will show the two requests, the parameters and the returned data (if any)

  • Because there is no way to "save/extract" a "loaded in" image from a sprite I am having to do the usual way of "Canvas Snapshot" the sprite, save to binary, then push as a Base64.

    However, the images are loaded in using the file chooser (multiple) and I don't want to "show them" before uploading. However, I do want to resize them, hence having to load them into a sprite, resize, snapshot and upload.

    When I do this outside of the viewport I get white snapshots... Is there a way to snapshot outside the viewport? OR a better way to load in an image, resize/reduce it before uploading.