dop2000's Forum Posts

  • You can try something like this:

    Bird on collision with Bird
    System for each Bird ordered by Bird.width
    .. Bird destroy
    .. System Stop loop
    

    This should destroy the bird instance with the smallest width between the two.

  • Two methods:

    1.

    Bird on collision with Bird
    For each bird
    ... If loopindex=0 : set instance1 to Bird.UID
    ... If loopindex=1 : set instance2 to Bird.UID
    

    Create a family, then:

    Bird on collision with BirdFamily
    ... set instance1 to Bird.UID
    ... set instance2 to BirdFamily.UID
    

    And I suggest you move events 2 and 3 on your screenshot inside the "On collision" event, as sub-events. Then you won't need to use the variables. Also top-level events are running continuously on every tick, and you probably want them to only run once.

  • Do you check for overlapping with fire sprite?

    Check collision polygons and origin image point location. If this doesn't help consider sharing your project file.

  • What exactly doesn't work? Can you share your project or a screenshot of event list?

  • You mean Layer bar?

    Menu -> View -> Bars

  • Firstly, you are using "Wait for previous action to complete" wrong. It's supposed to be used with asynchronous action, they have a little clock icon on the right. You don't have them in your code. If you want to wait to the end of the tick, use "Wait 0".

    When you are creating an object by name and then want to do something to it, the common method is using a family. Add all sprites to a family. After the "Create" action add a sub-event with this condition: "Pick last created Family". And in the sub-event you'll be able to change the animation.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Make sure you can see file extensions:

    autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-enable-hidden-file-extensions-in-Windows.html

    Then rename .c3p extension to .zip

  • Not sure I understand the question, but you can achieve the same result with Pixellate effect. Try adding it to the layer or the entire layout.

    Also check out this demo:

    howtoconstructdemos.com/simulate-an-ultra-low-resolution-dot-display-capx

  • Try renaming the file to .zip (but make a backup copy first). Then unpack to an empty folder and try opening it in C3 as a "project folder".

  • You need to import your fonts into the project. After that you will be able to select them.

  • Thanks for the detailed answer!

    Yeah, with the new File System plugin the NWjs kind of becomes obsolete. I would switch to WebView2 if it had Steam support.

    EDIT: I just realized that File System plugin only has access to "picked" files. This is a big limitation. I haven't seen games which display a system file picker dialogue in ages, it will look very unprofessional!

    I'd be interested in thoughts on using Windows WebView2 for Steam publishing, assuming we got it to work - would the lack of macOS or Linux support be significant?

    I think it is significant. Large publishers want to cover all platforms, it will be a big problem if the game doesn't work on MacOs. There is also a growing number of Steam Deck players, so Linux support is pretty important.

    I'd add it should be possible for third-party developers to step in too

    Yeah, I was going to ask - maybe you could team up with someone like Chadori or Mikal to develop a new Steam addon?

  • Ashley

    The latest Greenworks addon for C3 works with NW.js version 0.71 and Steamworks SDK 1.50, both of which are pretty outdated. And looks like the Greenworks project has been abandoned, so there will probably be no new versions.

    It's quite worrisome that in order to make games for the largest gaming platform we have to rely on a bunch of old libraries which may stop working with any new C3 or Steam update.

    Do you have any plans on releasing an update to Greenworks or making a new Steam addon with more features?

    Tagged:

  • Because the numbers contain commas, they are sorted as text, alphabetically. For example "209" goes before "21", because as a character "0" is less than "1".

    You need to remove commas in the array, then they will be treated as numbers. And then format these numbers before displaying them. For example:

    Set text to int(number/1000) & "," & (number%1000)