graham-s's Forum Posts

  • Can anybody provide a couple of examples on how to use the iframe plugin?

    I've tried throwing multiple URL's at it, but it refuses to load. Pretty much the only one that does work is construct.net

    I believe you're only to use secure pages, but I've not been able to get anything to work. I thought some people had youtube come up in an iFrame, but not for me. (The browser debug complains about the https I believe)

    Primarily I hoped to load some client websites and maps via google.

    I have been setting the URL on the iframe object. I also tried to use the event system with similar results.

    Input?

  • From what I see, it looks like you create a raindrop every tick (that's a lot of raindrops) but I don't see where you either destroy them, or set them invisible.

    Do you want to hide them or remove them?

  • You do not have permission to view this post

  • I can sympathize with your situation.

    One thing to be wary of is stagnating, its possible you will get tired of doing the same thing with little or no results. I'd recommend also scheduling, but also using a WBS (Work Breakdown Structure).

    List your tasks along with subtasks into manageable time blocks. Then you can try and schedule those blocks when you know time will be available.

    As a simple example, a high score table.

    Many will just list "-Create High Score Table"

    This you can breakdown into:

    -Create High Score Table

    1) Get graphic assets for display 2hr

    2) Get font for display 1hr

    3) Prototype display layout 2h

    4) Write save score event 1h

    5) Write Load score event 1h

    6) Write display score event (*MILESTONE) 2h

    7) Clean up display prototype 2h

    8) Source audio 1h

    9) Add audio 1h

    10) Test 1h

    11) Fix/Test cycle 2h

    12) High Score Table complete

    So, some will say you dont need the detail, but if you only have an hour, go get assets. You can then keep track as to what task you are up to which will make continuing easier.

  • The short answer is yes. Construct 3 shouldn't have any issues displaying text since there isn't a lot going on at once. Handling multiple text fields can be done with instances and cycling through.

  • Have you looked at Demonoire which comes with construct (Under Game Demos)?

    Its a pretty good starting point.

  • I would hazard a guess that you would need to publish the Construct app as a PWA, and then within Ionic you would make a call to a URL.

    This is how I did it elsewhere, simply made a web call to display a web page, which just happens to be a Construct app. Possibly using something like forum.ionicframework.com/t/how-to-open-link-externally/83880/3

  • RHG, thanks for the post. I was able to replicate your solution and return a value.

    I'll have to read up on the data handling however as I do confess that I have no idea how to pull out the fields for a specific product_no and their respective numbers.

    As a side note, from what I can tell there's no way to 'debug' and use any of the JsonManager fields etc to see if a JSON load worked. I couldn't see any data. No big deal, but for others who follow this trail.

    Thanks again

    Graham

  • Do you want to scrape data into variable, or literally have the app open a web link.

    If its the latter, you just need a browser control and use Goto URL.

    If its the former, I'm not sure. I don't think that AJAX will return URL data.

  • I've checked out the manual, tutorials, forums and JSON Manager plug in and I can't seem to get the data loaded. AJAX.LastData does have data, but I can't get it into an array or a dictionary.

    dropbox.com/s/qg66n6l7r7cvz2d/lcbot1.json

    I checked its validity as JSON and that's fine. I have it as a file in the project, as well as tried it from calling the API.

    If its the requirement for double quotes, then that isn't viable since this data is returned via an API that I don't control.

    Any thoughts?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HI folks,

    I understand that I can't open a PWA in a full screen without interacting with the browser first. (Although I get conflicting results when I do with FF/Safari/Chrome)

    What I do want to do is control how the screen is opened. Right now it appears to open in the window of the browser, leaving a huge white space as the window was bigger than the app display.

    Can I resize the browser window automatically to fit the app? Or how can I ensure it looks right when you launch it.

    Here's how it presents in FF: snag.gy/pIOUcR.jpg

    and if I go full screen I get: snag.gy/DQ0gz2.jpg

    Yet, if I use Safari its fine on full screen, using the exact same published PWA: snag.gy/o5iM2S.jpg

    Can anyone tell me how I can standardize it so it works across the board?

    Thanks

  • Click on the list object, near the bottom is 'ID', enter 'select'

    snag.gy/Ve5r1p.jpg

  • Thank you Dru. Perfect!

    https://snag.gy/Eykf81.jpg

  • Can I change specific list control items text colour?

    Eg: All lines are black text except...

    Item 1

    Item 2

    Item 3 <-- Want this text to be red.

    Item 4

    I took a look at the manual (https://www.scirra.com/manual/155/list) where we do have

    Styling List objects

    List form controls can be customised in a huge number of ways via CSS (Cascading Style Sheets). Rather than adding actions to set all of the possible properties, the List object exposes a Set CSS style action. Knowing CSS will of course be an advantage here, but it is simple to use for simple properties. A few examples are listed below.

    Make the text red: Set "color" to "red"

    I suspect this means the entire control, not one line. (Yes I tried it, but all the text changes.

    Thoughts?

  • Short answer - No.

    There are a couple in C2, but none in C3

    It stopped me dead on a few projects and made me wish (still do) that I should have gone C2 in a PC emulator :S