Bhutanjournals - Báo điện tử tổng hợp nhiều tin hot nhất hiện nay
  • Home
  • Công Nghệ
  • Kinh Doanh
No Result
View All Result
  • Home
  • Công Nghệ
  • Kinh Doanh
No Result
View All Result
Bhutanjournals - Báo điện tử tổng hợp nhiều tin hot nhất hiện nay
No Result
View All Result

🔴Game Maker Studio 2 | Advanced – Surfaces – Light system

admin by admin
July 6, 2020
in Game
18
🔴Game Maker Studio 2 | Advanced – Surfaces – Light system



This video tutorial shows you how you can make a light system in gamemaker studio 2. This code is based on the original yoyo site in the link below.

▶ 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://bhutanjournals.com/

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

Xem thêm Bài Viết:

  • Chia sẻ cách chơi bài ma sói đơn giản cho người mới
  • Hướng dẫn toàn tập cách chơi quay slot diablo đổi thưởng tại Manclub
  • Xổ số siêu tốc là gì? Cách chơi ra sao xin trả lời rõ
  • Top 5 nhà cái uy tín xem trực tiếp bóng đá hiện nay
  • Game bắn cá H5 hấp dẫn với nhiều tính năng mới nổi bật
Previous Post

Bài hát quê hương ai nghe cũng nhớ nhà - Nhạc trữ tình quê hương chọn lọc nghe 1 lần nhớ cả đời

Next Post

PIN DỰ PHÒNG SAMSUNG CHÍNH HÃNG 10000MAH GIÁ RẺ NHẤT THỊ TRƯỜNG | XOĂN SALE

Next Post
PIN DỰ PHÒNG SAMSUNG CHÍNH HÃNG 10000MAH GIÁ RẺ NHẤT THỊ TRƯỜNG | XOĂN  SALE

PIN DỰ PHÒNG SAMSUNG CHÍNH HÃNG 10000MAH GIÁ RẺ NHẤT THỊ TRƯỜNG | XOĂN SALE

Comments 18

  1. Dotus Larkin says:
    2 years ago

    Hey 1up! Love your tutorials, learning a lot! Just a question: the light I setted in my game passes through the wall. How can I get it not to do so?

    Reply
  2. Said Uludağ says:
    2 years ago

    Nice video but i didnt understand 7:46 why we used x-_cx

    Reply
  3. Derek Davis says:
    2 years ago

    Is it possible to have objects drawn so that the lighting effects apply? This works great for the tiles, but much of my environment consists of objects.

    Reply
  4. Nejc Podlipnik says:
    2 years ago

    First of all I would like to say thank you for all your videos they are the best! Keep up the good work 😀
    Now I'm not sure if this is just me since noone else commented on it, but when I put 2 sources to close to each other, they clash and make this wierd line like this: http://prntscr.com/s2p2bb
    Is there any work around this that you're aware of?

    Reply
  5. Mysterow says:
    2 years ago

    You really needed to press Ctrl+- or Ctrl++ because your font looks very blurry

    Reply
  6. Edgar Gutierrez says:
    2 years ago

    i am trying to have the light not affect certain layers for example in a sidescroller the background is not affected by the light but another layer on top is, the layer on top is not covering everything so there're holes where you can see the background like a window when you hold a candle next to it, it lights the window frame but everything you can see through the window shouldn't light up if it's far away… i managed to get it work the way i wanted by manually drawing the shape of the layer which the shadows must affect and creating a background layer with the alpha to cover everything else that i don't want the lights to affect, so they will still be dark. I used the code here to instead of drawing a rectangle to draw that new shadow sprite. The problem i encountered is dealing with objects that move around, since if they pass through the window they will light up so i had to change the code to also draw the shape of that object so they will stay in the dark, if the object is holding the light then is all good but if it's not then it leaves a trail of his shadow in the windows, if anyone has any idea of how this is properly done or how to remove this trail i would very much appreciate it

    Reply
  7. Miblan 2 says:
    2 years ago

    Works perfectly, thanks!

    Reply
  8. 1up Indie says:
    2 years ago

    I got some people where their light surface isn't working properly, so here is a link where you can find the a cookie cutter project or just the local import for a surface with a light cone/radial light:
    https://www.patreon.com/posts/youtube-light-32843368

    Everything is totally free here, CC0 made by me.

    Reply
  9. Lylian _ says:
    2 years ago

    Sorry but i don't understand :
    what does the surface variable correspond to?

    Reply
  10. Matthew Morris says:
    2 years ago

    How would i specify an area that has no darkness, but isn't attached to an object? I ask because in a side scroller that has an open sky, the sky would have no surface for shadows to gather on. Seeing as this area is so huge and is shaped differently depending on the layout of the level (mountains in my case), i'm not sure how this lighting system would apply to it. Would it be possible to have the darkness shape contour to all objects/tiles beneath it, that way leaving the sky blank and simulating what i'm after? If not, are there other methods that would achieve this?

    Reply
  11. Matias F says:
    2 years ago

    If I put that light on my player, how can I do to follow me around the room?

    because I have the light but when I am moving along the map the darkness is gone along with the light

    Reply
  12. Ben Victim says:
    2 years ago

    Hey, thank you for doing these tutorials.

    Reply
  13. Emo Josh says:
    2 years ago

    This is awesome! I do have a question though. In my day/night cycle, I have a black wall of darkness that moves across the screen to simulate the sunset. As it moves across the screen, I would want any light sources to be drawn one pixel at a time until it's completely covered by the darkness. At that point, the entire light would be drawn. How would I do this? Should I use draw_sprite_part and add to the x value over time?

    Also, how did you create the light sprite exactly? Could you send the sprite?

    Reply
  14. Sergey Sh says:
    2 years ago

    Hi!
    I have a problem! if I did for oPlayer in Draw – Draw_self();
    those lights don't work for him? how can this be corrected?

    Reply
  15. Cara Sem Nome says:
    2 years ago

    obrigado, ajudou demais

    Reply
  16. Arthur Assis says:
    2 years ago

    Nice! I m going to use this system NOW
    🙂

    Reply
  17. Paul Dolton says:
    2 years ago

    Keep the coming, love seeing these videos!

    Reply
  18. Taco Bell Official says:
    2 years ago

    thank you! loving these tutorials

    Reply

Leave a Reply Cancel reply

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

Tin Hot

VinFast VF 8 là mẫu xe “ngập công nghệ” (Nguồn: Sưu tầm)

Ấn tượng của khách hàng sau khi trải nghiệm lái VinFast VF 8

July 29, 2022
Cần lưu ý gì khi sử dụng máy đùn xúc xích?

Cần lưu ý gì khi sử dụng máy đùn xúc xích?

September 20, 2022
Anh em đã biết đến gói cước cảm ơn của Vietnamobile chưa?

Gói cước cảm ơn của Vietnamobile và những ưu đãi hấp dẫn

September 13, 2021
Kinh nghiệm lựa chọn mua zippo chính hãng HCM

Kinh nghiệm mua zippo chính hãng HCM uy tín, chất lượng nhất

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

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

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

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