1. Hey! Guest! The 34th GMC Jam will take place between August 22nd, 12:00 UTC (Thursday noon) and August 26th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

Question - IDE [SOLVED] Can't figure out how to add objects to extensions

Discussion in 'GameMaker Studio 2 Community Tech Support' started by hippyman, Nov 13, 2017.

  1. hippyman

    hippyman Member

    Joined:
    Jun 20, 2016
    Posts:
    565
    Exactly as the title states, I can't add objects to extensions. What happened to being able to export IDE resources to extensions? I didn't think I should have to mention this since it's in the 2.x forum but this is pertaining to GMS 2.x.
     
    Last edited: Nov 13, 2017
  2. kburkhart84

    kburkhart84 Firehammer Games

    Joined:
    Jun 26, 2016
    Posts:
    463
    I just updated my FHInput extension today. The IDE where you update stuff for the market has 2 columns with tree structures, with a few buttons in the middle so you can select stuff on the left(including objects) and then use the buttons to add them to the right. Then whatever is included on the right is what gets put into the file for the marketplace.

    Now, I know this isn't exactly what you wanted. The exact thing you want I'm not sure how to make happen. But, an option would be to set yourself up as a publisher on the marketplace and create a new asset, even if for free. You technically could set it up and never actually publish it, and the developer side of the marketplace let's you download your uploaded assets too.
     
  3. hippyman

    hippyman Member

    Joined:
    Jun 20, 2016
    Posts:
    565
    You are talking about using 1.x. I'm talking about using 2.x. If I'm mistaken please point out where you're finding this.
     
  4. kburkhart84

    kburkhart84 Firehammer Games

    Joined:
    Jun 26, 2016
    Posts:
    463
    No...I'm talking about using GMS2.x. The thing though is that it isn't using the "extensions" that are part of the resource tree. It is working with the dialogs that come up when creating marketplace assets. That's why I mentioned above that it isn't exactly what you wanted...though it does work, putting objects in there as part of the file.
     
    hippyman and acidemic like this.
  5. hippyman

    hippyman Member

    Joined:
    Jun 20, 2016
    Posts:
    565
    Oooooh sorry for the misunderstanding yet again. This is exactly what I was looking for!
    No idea what their logic was here but they definitely did move it so thank you for pointing that out.
     
  6. kburkhart84

    kburkhart84 Firehammer Games

    Joined:
    Jun 26, 2016
    Posts:
    463
    No problem...the issue is that I DO remember that originally the only thing allowed in extension was gml code and d&d actions. Then with GMS they added a system to actually add objects, and even call a specific script when initializing the extension, so you could have it just work, creating it's own objects. With GMS2 you can't add objects to extensions, but you CAN do it with asset packages, along with rooms, fonts, and everything else.

    I remember at one point, you couldn't add objects to extensions right? But you could make objects, including defining code for events, all in GML. This was before the compiler was removed from the runner itself. So I had my extension(kbinput at that time) totally defining the control object in GML code, and then creating an instance of that controller object. This was the only way to work around objects not being able to be included in extensions. It was quite an interesting thing to work around though.
     
    hippyman likes this.
  7. hippyman

    hippyman Member

    Joined:
    Jun 20, 2016
    Posts:
    565
    This is something I didn't know either. I didn't get into making extensions until I started using GMS 1.x regularly. I guess it makes more sense that extensions are only language based and then you can now create asset packages. It makes more sense it would just be nice if they pointed that out a little more clearly for people transitioning from 1.x to 2.x.
     
  8. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,327
    I have actually brought up the same issue in another topic:
    Since Russell mentioned it, I'm going to tag @Mike for this one. There's a genuine need for the ability to add resources to local extension packages, and removing it from GMS 2.x just to force us to use the Marketplace cloud sounds kind of fishy.
     
    Carloskhard, KurtBlissZ and hippyman like this.
  9. hippyman

    hippyman Member

    Joined:
    Jun 20, 2016
    Posts:
    565
    This is something I can agree with entirely. I get the idea of separating language extensions from asset packages, but we should be able to create local asset packages that aren't required for the marketplace. Some things I don't intend to release to the public but still use regularly through out projects. No reason to have the marketplace be used as a glorified cloud service which is mostly what I would use it for if this is the only way to handle asset packages.
     
  10. Mike

    Mike nobody important GMC Elder

    Joined:
    Apr 12, 2016
    Posts:
    2,289
    We are aware of the need for "local" libraries (which I guess this is really), and have plans to rectify this, but aren't in a position to do it just now I'm afraid. But I do agree...."local" packages would be great.
     
    Carloskhard and hippyman like this.
  11. kburkhart84

    kburkhart84 Firehammer Games

    Joined:
    Jun 26, 2016
    Posts:
    463
    Yes Mike, "local libraries" describes what we want pretty accurately. I'm glad to see something is in the works too.
     
  12. gnysek

    gnysek Member

    Joined:
    Jun 20, 2016
    Posts:
    1,305
    It's on roadmap! Which means it should be added in next 100 years :)
     
  13. Carloskhard

    Carloskhard Member

    Joined:
    Mar 13, 2017
    Posts:
    184
    Please make this someday
     
    Last edited: Aug 16, 2019
  14. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,327
    It's already in IDE 2.2.3.
     
  15. Carloskhard

    Carloskhard Member

    Joined:
    Mar 13, 2017
    Posts:
    184
    how?I've been trying to find it
     
  16. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,327
    Carloskhard likes this.
  17. Carloskhard

    Carloskhard Member

    Joined:
    Mar 13, 2017
    Posts:
    184

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice