Vestingpoint - Tin chuyên sâu về môi trường, xã hội, văn hóa
  • Home
  • Du Lịch
  • Môi Trường
  • Ẩm Thực
No Result
View All Result
  • Home
  • Du Lịch
  • Môi Trường
  • Ẩm Thực
No Result
View All Result
Vestingpoint - Tin chuyên sâu về môi trường, xã hội, văn hóa
No Result
View All Result

🔴 8 Direction movement + state machine [Game Maker Studio 2 | Basics]

admin by admin
July 18, 2020
in Game
5
🔴 8 Direction movement + state machine [Game Maker Studio 2 | Basics]



This basic tutorial shows you how to make 8-directional movement with a state machine in gamemaker studio.

What the hell is a state machine? Glad you asked, even if you didn’t 😀

A state machine is simply a standard way in programming to keep seperate units of behavior in so called states.

Image it like this: You have an idle state when the player or npc doesn’t do anything. Then you have hurt state when the player is getting hit. Or you have a movement state where the player is moving around. You get the idea. The same can be applied to 8 directinal movement with regards to what image to use in what situation. The player moves right so he should have an moving animation that turns to the right and so on.

This basic video tutorial will guide you through all necessary steps to do simple imputs to move the player around and cross over to other states like being hurt or even the death animation. Additionally, you will see a collision system to make this thing round.

▶ 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:

Nguồn: https://vestingpoint.com/

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

Xem thêm Bài Viết:

  • Bum88 Club – Cổng game nổ hũ đỉnh cao dễ chơi dễ thắng
  • Hướng dẫn lấy mã code nổ hũ đổi thưởng miễn phí đơn giản
  • Hướng dẫn tải game Bắn cá rồng vàng đơn giản, nhanh chóng tại Dabet
  • Game nhà cái nổ hũ nhận code cực hay và hấp dẫn tại Dabet
  • Brain Out Finding Santa Level 1 Walkthrough
Previous Post

Cát Bụi Cuộc Đời - Giọng Ca ĐỘC LẠ Mộc Mạc ĐẠT VÕ | LK Nhạc Vàng Trữ Tình Hay Nhất ĐẠT VÕ

Next Post

Anh không muốn bất công với em | Ưng Hoàng Phúc, Phạm Quỳnh Anh, Thu Thủy | Liveshow TÁI SINH Hà Nội

Next Post
Anh không muốn bất công với em | Ưng Hoàng Phúc, Phạm Quỳnh Anh, Thu Thủy | Liveshow TÁI SINH Hà Nội

Anh không muốn bất công với em | Ưng Hoàng Phúc, Phạm Quỳnh Anh, Thu Thủy | Liveshow TÁI SINH Hà Nội

Comments 5

  1. Jetterz says:
    1 year ago

    it works but the code allows for movement in both directions at the same time. This causes the character's sprite to change to diagonal animation at the same time moving up or down. How can I implement restrictions for this?

    Reply
  2. StreunerAG says:
    1 year ago

    Danke ! echt geil, wäre besser auf deutsch 😉 aber Englisch ist ja für alle besser.

    Reply
  3. Lucario says:
    1 year ago

    Hey 1up I'm a portuguese game developer, and would love if you tried my latest game, love your tutorials btw.
    https://luucario.itch.io/slimenator-demo

    Reply
  4. isaias libia says:
    1 year ago

    thanks

    Reply
  5. mythology100 says:
    1 year ago

    Another great tutorial for those interested in some top-down projects.

    Reply

Leave a Reply Cancel reply

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

Tin Hot

[Bí kíp du lịch] Cách săn vé máy bay giá rẻ chặng nội địa: Đà Nẵng, Hà Nội, Phú Quốc…

[Bí kíp du lịch] Cách săn vé máy bay giá rẻ chặng nội địa: Đà Nẵng, Hà Nội, Phú Quốc…

July 13, 2020
[dulichdubai.vn] Du lịch Dubai 6 ngày 5 đêm

[dulichdubai.vn] Du lịch Dubai 6 ngày 5 đêm

July 12, 2020
[Review] Khách Sạn Hòn Rơm 1 Mũi Né | Hotel Phan Thiết Bình Thuận – Dulich868.com

[Review] Khách Sạn Hòn Rơm 1 Mũi Né | Hotel Phan Thiết Bình Thuận – Dulich868.com

July 14, 2020
[Review] VINPEARL Condotel Riverfront ĐÀ NẴNG: KS tốt nhất gần SÔNG HÀN|View|Hồ Bơi|Phòng ốc|GYM

[Review] VINPEARL Condotel Riverfront ĐÀ NẴNG: KS tốt nhất gần SÔNG HÀN|View|Hồ Bơi|Phòng ốc|GYM

July 18, 2020
"Ngỡ ngàng" Kinh nghiệm du lịch Singapore 4N3Đ cực khác tại BestPrice | BestPrice.vn

"Ngỡ ngàng" Kinh nghiệm du lịch Singapore 4N3Đ cực khác tại BestPrice | BestPrice.vn

July 12, 2020
"Thủ phủ" quýt hồng Lai Vung hồi sinh đón Tết | An toàn sống 2019

"Thủ phủ" quýt hồng Lai Vung hồi sinh đón Tết | An toàn sống 2019

July 10, 2020
  • Liên Hệ
  • Chính Sách Bảo Mật

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

No Result
View All Result
  • Home
  • Du Lịch
  • Môi Trường
  • Ẩm Thực

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