GMS 2 [3D Tutorial] Importing .obj models in Game Maker Studio 2

Discussion in 'Tutorials' started by MilesThatch, Apr 7, 2017.

  1. MilesThatch

    MilesThatch Member

    Jul 12, 2016
    GM Version: GM:S2
    Target Platform: Windows
    Download: OBJ Importer Project file.
    Links: N/A

    You will learn the structure of an OBJ 3D file.
    We will go over each line of code of the included OBJ importer.
    We will make a custom 3D model, texture it, convert it using our importer and use it in a blank 3D GM:S2 project.

    By the end of this tutorial, You will know how Game Maker Studio 2 handles 3D objects and you will be able to code your own obj importer that can be built straight into your game.

    Last edited: Apr 27, 2017
  2. slojanko

    slojanko Member

    Jun 20, 2016
    This is great, will definitely finish watching the whole tutorial when I have some spare time. GMS needed a proper tutorial for obj models.
    MilesThatch likes this.
  3. Nadder

    Nadder Guest

    This was a very well put together tutorial :) Thanks for sharing.

    Just so you know, string addition in GMS 1.4 is as simple as

    str = "Hello";
    str += " World";

    I doubt it's changed between 1.4 and GMS 2?

    EDIT: Typo in the code...
    Last edited by a moderator: May 29, 2017
    Nice Touch likes this.
  4. Kenjiro

    Kenjiro Guest

    Wouldn't that be str += " World"?
    slojanko likes this.
  5. Nadder

    Nadder Guest

    Yep, just a typo lol. In the tutorial though he uses string_replace to do addition in strings and states that's just the way you do it in GMS.
    Kenjiro likes this.
  6. Kenjiro

    Kenjiro Guest

    Yeah, no. Your example is definitely the way to go! :)

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