lpmndc - Cập nhật thông tin hay về âm nhạc, công nghệ, giải trí
  • Home
  • Công Nghệ
No Result
View All Result
Friday, December 17, 2021
  • Home
  • Công Nghệ
No Result
View All Result
lpmndc - Cập nhật thông tin hay về âm nhạc, công nghệ, giải trí
No Result
View All Result

🔴Game Maker Studio 2 | Advanced – Metroid style minimap part 2

admin by admin
July 20, 2020
in Game
4
🔴Game Maker Studio 2 | Advanced – Metroid style minimap part 2



This video tutorial shows you in the second part how to setup a mini map in gamemaker studio like you see in metroid/metroidvania games. The trick is very simple in its nature, simply take one big map and just show a small snipped of it.

Here we get to the second part. Here you need to understand what datastructer are and how to setup a query on them.

The setup is quite easy to understand:
1. Create ds_map and fill it up with all possible cells
2. Draw the whole map and cut the part needed (first video)
3. Then draw a sprite on each cell,

Depending if it is discovered use a diffrent image index for the sprite used. That image index (0 for transparent, 1 for “empty” cell) is being stored in ds_map.

4. When changing the level, update discovered “key” of the ds_map entries. Update the position of the player

Part 1:www.youtube.com/watch?v=suxFlzaYs-Y

▶ Gamemaker Studio:

▶ Trial limitations:

♥ My free game Clunky souls:

♥ My assets:
Get some assets at itch.io

♥ Support me and get fresh game art and game maker projects every month:

Follow me on:
Instangram:
Twitter:
Discord:

Nguồn: https://lpmndc.org

Xem thêm bài viết khác: https://lpmndc.org/game/

Xem thêm Bài Viết:

  • Lý do khiến bạn nhất định không nên bỏ qua game cây bắn zombie
  • GameMaker Studio 2: Complete Platformer Tutorial (Part 1: Basics)
  • NBA 2K20 – How To Use Player DNA (Tips)
  • "Gilligan's Island" DARK CINEMATIC COVER (feat. Nicole Serrano) // Produced by Tommee Profitt
  • Learn Colors with Soccer Balls and Funny Baby Elephant | Learning Videos for Kids, Toddlers
Previous Post

Hướng dẫn cách làm MÁY SỤC KHÍ OXY cho hồ cá - Đơn Giản

Next Post

Samsung Galaxy Tab A 7.0 (2016) Unboxing!

Next Post
Samsung Galaxy Tab A 7.0 (2016) Unboxing!

Samsung Galaxy Tab A 7.0 (2016) Unboxing!

Comments 4

  1. Matt Chatham says:
    1 year ago

    Thanks for the tutorial. I can fill out the ds_map with a 'visited' or 'blank' color, but I'm trying to draw room details like walls and doors. I have a whole map sprite I'm trying to just reveal cell by cell. I can reveal the cell I'm in using draw_sprite_part, but it only draws it while I'm in the room – when I leave, I can't see it on the grid anymore.
    draw_sprite_part

    (

    spr_map_walls,

    minimap_ds_map[? cell], //Set the cell as blank or filled

    minimap_left, //The column position (x) of the sprite part we want to draw

    minimap_top, //The row position (y) of the sprite part we want to draw

    24, //Width of the part of the sprite we want to draw

    24, //Height of the part of the sprite we want to draw

    minimap_x + 16, //The left edge of the overall map

    minimap_y + 8 //The top edge of the overall map

    );
    Any advice? It looks like your map has details on the walls.

    Reply
  2. Luis CHamp says:
    1 year ago

    interesante tutorial
    crees que pueda funcionar con game maker 8?

    Reply
  3. Cara Sem Nome says:
    1 year ago

    Nice

    Reply
  4. 1up Indie says:
    1 year ago

    This is a tough cookie: If you get lost I have in the small description in the info box what is being done here.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Chính Sách Bảo Mật
  • Liên Hệ
  • lpmndc – Cập nhật thông tin hay về âm nhạc, công nghệ, giải trí

© 2021 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Công Nghệ

© 2021 JNews - Premium WordPress news & magazine theme by Jegtheme.