Drag And Drop Drag and Drop Platformer Series

Discussion in 'Tutorials' started by TheSly, Apr 5, 2019.

  1. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    GM Version: GMS2
    Target Platform: ALL
    Download: N/A
    Links: N/A

    Summary:
    A detailed tutorial series on creating a platformer using traditional hsp/vsp collision methods, but implemented in drag and drop. It will eventually cover collision code, states, enemies, basic tiling, parallax scrolling and one way platforms. This is just the first episode in the series, where I establish the movement of the player.

    Tutorial:
     
  2. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 2 - Horizontal Collisions - is now live.
    We discuss the structure of a character, add scripts to manage our DND more efficiently, setup our room, and finally add the horizontal collision code.

     
    Last edited: May 8, 2019
    Desert Dog and timartinelli like this.
  3. William Garrison

    William Garrison Member

    Joined:
    Apr 16, 2019
    Posts:
    62
    This looks great!!! Lack of DnD out there.
     
  4. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 3 - Vertical Collisions - is now live
    We dive into room dimensions, add the vertical collisions and give the player the ability to jump.

     
    Last edited: May 8, 2019
    Desert Dog and timartinelli like this.
  5. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 4 - Sprites and Parenting - is now live
    We add the idle, walk and jump player animations, and corresponding movements, and discuss the benefits of parenting.

    We're laying the ground work for easier enemy implementations, and setting up for the introduction of state machines next episode.

     
    Desert Dog and timartinelli like this.
  6. Toque

    Toque Member

    Joined:
    May 25, 2017
    Posts:
    1,178
    This will help a lot of users.
     
  7. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 5 - States - is now live
    We convert our code into a state machine, which afaik, is the first time I've seen an online tutorial do so in drag and drop.

     
    Desert Dog and Toque like this.
  8. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 6 - Enemies - is now live
    We are easily able to add a patrolling enemy, as he uses the same scripts that we have already established.

     
    Last edited: May 14, 2019
    Desert Dog likes this.
  9. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 7 - Tiles - is now live
    We bring the game to life by adding a jungle tileset and setting up the camera to follow the player.

     
    Desert Dog likes this.
  10. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 8 - Parallax Scrolling - is now live
    This episode we add a parallax background giving our game some much needed depth.

     
    Desert Dog likes this.
  11. DougM

    DougM Member

    Joined:
    May 23, 2019
    Posts:
    6
    Woah, kinda wish I saw this before I started working on my own platformer.
     
  12. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 9 - Damaging Enemies - is now live
    This episode we add the classic "jump on an enemies head" move.
    Be sure to comment if you want to see something specific in Drag and Drop, in a future episode.

     
    Desert Dog likes this.
  13. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 10 - Damaging the Player - is now live
    This episode we add the ability for the player to take damage, show it on a health bar, and add a player dead state to wrap it all up.

     
    Desert Dog likes this.
  14. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 11 - Juice - is now live
    In this episode we add the jump and land dust effect and the hit effect when we jump on an enemies head.

     
    Desert Dog likes this.
  15. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 12 - Screen Shake - is now live
    In this episode we add a cool screen shake effect when we jump on an enemy, but you can use it anywhere to give your game more impact.

     
  16. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 13 - Falling Leaves - is now live
    In this episode we give our game some more atmosphere by adding leaves that fall from the top of the screen, enhancing the forest feel. They interact with the ground and vanish after a set time.

     
    Desert Dog and Toque like this.
  17. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Episode 14 - Collectibles - is now live.
    In this episode we add a game defining feature, the collectible item. I show you how to burst them out of enemies, and make them interact with the ground, bouncing in a realistic manner. We then allow the player to collect them and show the collected coins in a GUI display.

     
    MaGicBush and Desert Dog like this.
  18. Nocturne

    Nocturne Friendly Tyrant Forum Staff Admin

    Joined:
    Apr 13, 2016
    Posts:
    7,076
    These are EXCELLENT, so I'm going to pass this on to YYG and see if they can't get the videos featured on their Learn pages, as we don't have enough devs doing DnD stuff. Thank you for making these and good luck with your projects!
     
    Last edited: Dec 6, 2019
    TheSly and mamacato like this.
  19. TheSly

    TheSly Member

    Joined:
    Jan 16, 2017
    Posts:
    1,017
    Coming from someone as skilled in GM as yourself, that means a lot. Hopefully it can be added to the learn pages, as I put a lot of effort into them, and the more new users we can get into Gamemaker via any means, well we all benefit from that.
     
    8BitWarrior and Nocturne like this.
  20. Thamanator

    Thamanator Member

    Joined:
    Oct 1, 2019
    Posts:
    11
    Impressive tutorials!
     
  21. SnortySnoopy

    SnortySnoopy Member

    Joined:
    Apr 25, 2018
    Posts:
    228
    How about making a similar version for GML?
     
    mamacato likes this.
  22. mamacato

    mamacato Member

    Joined:
    Nov 2, 2018
    Posts:
    70
    TheSly has a great GML platformer tutorial on udemy already.
     
    SnortySnoopy likes this.

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