EiLiF64's Forum Posts

  • Thanks for the tip. Unfortunately it doesn't seem to work for me. I am going to experiment a bit more.

  • I have build myself a basic tabbed object selector with buttons, sprites and list boxes.

    I'd like to control the font and background color of the selected element via CSS.

    I have tried various pseudo classes like :active and :focus but I am not getting the result I want. Does anybody know how to do this?

  • Email sent.

    P.S. I am based in Austin, TX.

  • Try this:

    CSV-Example

    It should get you started.

  • Great minds think alike ;) Here is the link to the feature request. Maybe you can upvote it or something.

    https://github.com/Scirra/Construct-feature-requests/issues/329

  • Like so but without having to disconnect the inspector and then rearrange the windows manually:

  • Very clean presentation. I am looking forward what other elements you will add. As a long-time World of Tank player and game designer I am thinking bushes for concealment, barriers for cover and possibly a couple of special helper tanks that can be called forward to deal with the enemy. Keep up the good work!

  • Very helpful, thanks!

  • Adding Wait for previous actions to complete after every Create and Destroy fixes the issue.

    Can someone confirm that Create and Destroy are asynchronous actions? I did not expect that.

  • I place instances of a power plant on a map. I collate some of their instance variables (power output) to know how much power is being produced in total.

    This does not work as expected with the attached version. What happens here is that the newly placed instance is not recognized. object.count/ is zero after placing the first object instance. After I place the second object it's 1 then 2 and so on... SO alway one behind.

    I get the proper result when I use a dedicated debug event which I start with a button.

    I suspect this issue is based on me using event and sub-event wrong or an async operation Create object that I need to wait for.

    I have attached the C3P file in case somebody wants to take a look.

    The offending code is on event sheet 51_Area in group Widgets Place Remove and function e_grid_update.

    I have .logged and debugged the hell out of this thing so any pointers would be appreciated.

    https://drive.google.com/file/d/1qyxwkb2nFV8Nnhl9xjJ60OlyVD524qcH/view?usp=drive_link

  • You need to head over here to report the bug and fill out the form as best as you can.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for taking the time to respond.

    This happens to me when I look at something too long. You absolutely right!

    Ashley Maybe we can have the Return type in a more prominent color than grey for old farts like me? :)

  • Good stuff and thanks for the response!

  • So I call these functions to convert a number to an Intl.Number() format. Currency, percentage, that sort of stuff. The functions are in a separate event sheet. This works great in my Sandbox project.

    The same is not true for my main project. Same code, same setup, but the functions only ever return a "0". Before leaving the functions I log the result to the console. And they are the correct strings. So the functions get called, calculate the correct string but return a big fat "0".

    I have tried include, although not required. Compared my two projects line by line. No joy.

    Anybody know what's going on?

    P.S. If I duplicate the functions into the event sheet they work fine, but that's beside the point.