GameMaker - Introduction to Shaders

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 220

  • @naruto-4990
    @naruto-4990 8 років тому +219

    Hes back, the hero we deserve

    • @HiroTheHunter
      @HiroTheHunter 8 років тому +10

      the hero we GML noobs need

    • @ScibbieGames
      @ScibbieGames 8 років тому +4

      Shaders are pretty advanced tho.

    • @HiroTheHunter
      @HiroTheHunter 8 років тому +4

      but they look so good *drool*

    • @BranoneMCSG
      @BranoneMCSG 7 років тому +14

      Truly: _the hero we GML noobs need but not the one we deserve_

    • @alienx818
      @alienx818 7 років тому +4

      he said on twitter that he will return make indie games and tutorial... :)

  • @SayadoMC
    @SayadoMC 8 років тому +17

    Always a good day when Shaun uploads

  • @1wolfcubb
    @1wolfcubb 8 років тому +7

    yay it's Shaun! great to see your channel growing to support intermediate to advanced tutorials! Looking forward to learn more on creating shaders in GM.

  • @Faygris
    @Faygris 8 років тому +77

    Shaders are one part of Game Maker I would really like to understand well, but it's hard for me to even get started, since it's a different programming language and all. I'd love to see some tutorials that teach some very basic shader options, at least.

    • @kekkekkington1900
      @kekkekkington1900 8 років тому +1

      xor has good tutorials on the glsl side and gml side of shaders

    • @Faygris
      @Faygris 8 років тому +1

      kek kekkington Cool, thank you!

    • @clintosss
      @clintosss 8 років тому +2

      Faygris search up a channel called: lets learn gamemaker language

    • @clintosss
      @clintosss 8 років тому +1

      Faygris search up a channel called: lets learn gamemaker language

  • @nekot4161
    @nekot4161 8 років тому +1

    Love your vids Shaun! I downloaded GameMaker when a friend ask me to help her create an JRPG game with her and your tutorial videos have been a blessing to learn GameMaker. Thank you!

  • @kidagine
    @kidagine 8 років тому +1

    Thanks a lot Shaun for being such a great teacher.
    I love your new way of teaching, bit more relaxed and fun, but still informative, makes it easier to watch.

  • @arrxzon
    @arrxzon 8 років тому

    It's really great to see you back man, being new to game maker and recently flying through your tutorials I was hoping to see much more content from you. I'll look forward to the next videos alright, see what we can learn next. Keep it up !

  • @harinandanrnair6768
    @harinandanrnair6768 8 років тому

    Yes.... finally ur back
    I hope you will once again become regular like you used to be

  • @falseshepherd6575
    @falseshepherd6575 8 років тому

    Welcome back man. Been following you recently. Your tutorials are really helpful. Best of luck on your life man.

  • @okzz2
    @okzz2 8 років тому +6

    "im actually new to making shaders myself" then creates a masterpiece

  • @erithacus8465
    @erithacus8465 8 років тому +46

    Black magic? Witchery? Heresy?
    GET THE FIRE AND BURN THE SHADERS!

  • @lainvohndyrec962
    @lainvohndyrec962 8 років тому

    welcome back!! we missed you...
    pls create a tutorial in making IAP(google play, amazon, ios) setting it up in GM will be much appriciated

  • @CJBurkey
    @CJBurkey 8 років тому +2

    Because of English, "vertexes" is now correct, as is "vertices." Similar changes were made to cactus, allowing "cactuses" and "octopuses."

  • @DiegoLuqueC
    @DiegoLuqueC 8 років тому

    I have been waiting for this video for so long. Thank you, Shaun

  • @darhtchewie
    @darhtchewie 8 років тому

    He's finally back!

  • @ThefamousMrcroissant
    @ThefamousMrcroissant 4 роки тому

    I used to play around with Gamemaker back in elementary school, I'm giving a course in "programming" for young children soon and upon re-opening Gamemaker for the first time in years I was actually baffled they implemented shaders. This is a cool addition.

  • @ElectricHamSandwich
    @ElectricHamSandwich 8 років тому +9

    great tutorial dude :D do you think you could maybe do a tutorial on resolution scaling? I find it difficult to understand and i'm sure alot of other people do too. we would really benefit from a tutorial covering it!

  • @colonelsandwich641
    @colonelsandwich641 7 років тому +3

    Sounds like you had fun making this video.

  • @maksonmuki
    @maksonmuki 8 років тому

    He's back!!!!

  • @garbagetrash1793
    @garbagetrash1793 7 років тому

    Come back to us Shaun! We love you!

  • @SuperNintomdo
    @SuperNintomdo 8 років тому +14

    omg dude please go back to making videos. You stopped making videos and some how got better at making videos. thanks for this!

    • @harinandanrnair6768
      @harinandanrnair6768 8 років тому +3

      +Shaun Spalding Were u making vids for some other channels like in secretly or working on a game?

    • @harinandanrnair6768
      @harinandanrnair6768 8 років тому +1

      You!!! LOL

    • @ninjamal666
      @ninjamal666 7 років тому

      hey shaun ! i had a problem !! i actually mad an android game and when i export it to apk its done fine but when i put the extension of google play service to it ... it doesnt export to apk any more !!! any help or suggest please !! i had all kind of stuff necessary like jdk , ndk , sdk and im using gms 1.4.1567 (sorry for my english)

    • @sugar2000galaxy
      @sugar2000galaxy 7 років тому

      +Shaun Spalding Hey Shaun! I already know about new game maker version. Is that why you din't make a video in a long time? I dunno but when I was at the yoyo games channel, I only saw 16 tutorials and not 17. Did you mistaken or is the (17) video not yet uploaded?

    • @sugar2000galaxy
      @sugar2000galaxy 7 років тому +1

      +Shaun Spalding Oh, I found that video! Finally I can learn how to use GM 2!

  • @AwesomeEth9
    @AwesomeEth9 8 років тому

    HES BACK!!!

  • @jonjairo6982
    @jonjairo6982 8 років тому

    He is back!!!!!!!!!

  • @turukai
    @turukai 8 років тому

    Fantastic, finally back!

  • @SeelenPixel
    @SeelenPixel 8 років тому

    finally he is back

  • @SuperGamersgames
    @SuperGamersgames 8 років тому

    The Game Maker Hero is back!!!! Yeah!!

  • @Icodhack2992
    @Icodhack2992 8 років тому

    OMG HE IS BACK! THE HERO! THE LEGEND :D
    Welcome back buddy :)

  • @coxyofnewp
    @coxyofnewp 8 років тому

    A really nice simple way to get people to have some understanding of shaders.. As they are really great tool to use in GMS to make some very impressive results (when you get the hang of them!)

  • @soubakouh
    @soubakouh 4 роки тому +2

    shader_reset();
    shader_reset();
    shader_reset();
    shader_reset();
    shader_reset();
    ... after using shaders, i go to other roomss and I see ALL SCREEN in BLACK... T_T HELP PLS!!

  • @DeathColor96
    @DeathColor96 8 років тому

    Dude! we missed you!

  • @Syklonus
    @Syklonus 6 років тому +1

    Could that third shader be applied to backgrounds? There's a ton of Megadrive games which use that sort of wavey effect on their background layers and it's super cool!

    • @copitzkymichael3313
      @copitzkymichael3313 2 роки тому

      Always a pleasure to be reminded how advanced programming was back then

  • @dsquared9044
    @dsquared9044 8 років тому

    Ahhhh he's back

  • @Manzana1C
    @Manzana1C 8 років тому +2

    He is back :D

  • @54tan123
    @54tan123 8 років тому

    yay! you're finaly back!
    just a quick question: what did you set the uniforms pixelH and pixelW to? I thought it would be 1/sprite_height and 1/sprite_width respectively. But that only makes almost the whole sprite opaque...

  • @erichoward2191
    @erichoward2191 8 років тому +1

    @Shaun Spalding can you share the code for setting the shader? I'm padding 1.0 to the uniform and it's drawing a much thicker black outline

  • @huhok.6461
    @huhok.6461 7 років тому +1

    I hope that while returning to indies, he returns to making tutorials ;_;

  • @milomaz1
    @milomaz1 8 років тому +29

    Yay it's been too long

  • @ElHuevoFromCBC
    @ElHuevoFromCBC 8 років тому

    oh you are back

  • @RyanSonic
    @RyanSonic 7 років тому +5

    When you watch a video on shaders and realise your game is about simplicity and is in Black & White.

  •  8 років тому

    Very Nice video Shaun thank you very much, and nice work as community manager in GameMaker kudos

  • @filipemarques4677
    @filipemarques4677 8 років тому

    Hi Shaun! I'm a student of Computer Science and I really like to make games. I watched your whole Make Your First Game series and It was amazing! Even though I have already made a few games for myself and had some logic on how to program it, you made it really simple and fun. Congratulations and thanks for what you've been doing. I'd like to know, are you making a new series on how to make a Platform game?

  • @gv13511
    @gv13511 8 років тому

    Welcom back my old friend

  • @cameronanderson9588
    @cameronanderson9588 7 років тому

    Created a test environment, and tried the code. The sprite's opaque space was NEARLY filled with black. I guess I don't understand how you can check in all 4 directions, and only get an outline?

  • @erichopkinsable
    @erichopkinsable 2 роки тому

    Ok this video is 5 years old but I have a question. When I try to set up an "outline" shader like yours, it "crops" the outline down to the size of the figure in the sprite, even if there is blank space left to the sides. I.e. It doesn't draw the outline pixels past the farthest filled pixel in any dimension. I guess there have been changes to the runtime over the last 5 years to make it do this, but are you aware of a workaround?

  • @DarshUK1
    @DarshUK1 8 років тому +3

    Yay, this looks so cool

  • @jonatheringaming8369
    @jonatheringaming8369 8 років тому

    Yay another video!

  • @Derek_Pixel
    @Derek_Pixel 7 років тому

    Shaun please come back to making videos

  • @cameronanderson9588
    @cameronanderson9588 7 років тому

    Nice tutorial, however I don't understand one part of the Fragment portion.
    PixelW and PixelH are defined but not given a value, it would make sense to me if they were given a value of 1 or something. What happened here?

  • @pengtroll6247
    @pengtroll6247 7 років тому +1

    can you make a tutorial on how to make the character change direction through sprites while your gun can move in 360 degrees, like in 'a gun that shoot bees'

  • @OskarFFS
    @OskarFFS 8 років тому +1

    i saw the things you posted on twitter using shaders, they where cool

  • @fernandosantalladelosangel4935
    @fernandosantalladelosangel4935 8 років тому

    i´m happy ... hes back :)

  • @DaggrYTB
    @DaggrYTB 7 років тому

    I have a contextual focus blur shader in my game, right now when activated it blurs everything on screen. How can I have it so that some drawn elements are bypassed (HUD for example)?

  • @MikeArcuri
    @MikeArcuri Рік тому

    Er... came to see the example with the ghost experiencing the horizontal waves/offsets... you showed it animating but didn't cover the shader.

  • @nameq
    @nameq 7 років тому +1

    how you did 3th shader? logic for pixel art in glsl looks like vertex shaders in php

    • @nameq
      @nameq 7 років тому

      is it shader?

  • @anderol
    @anderol 8 років тому

    In this video you sound like a british Owen Wilson, great introduction!

  • @leedleleedle6824
    @leedleleedle6824 8 років тому

    Shaun, I don't know if you could help me with this problem I'm having but I've recently bought Game maker professional., just so I am able to use it on mac. (haven't guessed, I'm a mac user) However, I try downloading gamemaker and i'm presented with a warning that states that the download can not be opened due to it only being for windows. I just want to open gamemaker on mac, I've purchased it- sent a message on the forums about this problem but still nothing. Please help if you can.

  • @Justin_Time_TOIT
    @Justin_Time_TOIT 7 років тому

    Hi I'm trying to make a isometric game in game maker and there is like little to no tutorials on it and in the game when you go behind walls I want to be transparent or disappear when you walk behind him my game is a semi open world game please help

  • @avivr903
    @avivr903 8 років тому

    I always wondered what shaders are and how you use them

  • @zackydev
    @zackydev 4 роки тому

    man i really miss the older version of shaun spaulding

  • @TheAnimationStrikesBack
    @TheAnimationStrikesBack 6 років тому +1

    Shaun you seem to be an expert in gamemaker. I need some help. I want to give my sprite an irregular shaped collision mask but there seems to be no option for that.

    • @300PIVOTMASTER
      @300PIVOTMASTER 6 років тому +1

      So what you can do is make a new sprite in the shape of your desired collision mask, then set the sprite mask to have _precise collision checking_ . Then, go to the original object that you want to have an irregular collision mask. On the left of the object properties panel, you should be able to change the collision mask to your new sprite.

    • @TheAnimationStrikesBack
      @TheAnimationStrikesBack 6 років тому +1

      Killua Zoldyck
      Thanx man

  • @bleuthoot
    @bleuthoot 8 років тому

    Diffrent question: How do you make decent sprites, like player sprites.
    I have a feeling it's not really possible to make a tutorial of this, because it's more of an imagination thing.

  • @PoshoDev
    @PoshoDev 8 років тому

    Please keep posting.

  • @BizKwikTwist
    @BizKwikTwist 5 років тому +1

    Would this carry into gms2?

  • @tuskybarn
    @tuskybarn 8 років тому

    You're good at making helpful videos. Keep it up!!

  • @sf_ost
    @sf_ost 7 років тому

    Hi, I've got a question. How do I put the potion into the backpack? -- JK, YOU'RE THE SHIZZ MAN! Your tutorials were the force that helped me begin to understand how to approach coding problems and to "think like a programmer". I appreciate you and your work very much! Keep it up!

  • @LifeAfterBreakfast
    @LifeAfterBreakfast 8 років тому

    a new tutorial. and its about shaders. great!

  • @Dag0suu
    @Dag0suu 7 років тому

    i have a question. Is collision event like step event? Is efficient to use step event for collision than collision event?

  • @fujoridev
    @fujoridev 2 роки тому

    How to do this 7:44? Can I please have a code or a link to the code?

  • @dmitrykolesnikovich
    @dmitrykolesnikovich 6 років тому

    great explanation ever

  • @luckzeisaki8600
    @luckzeisaki8600 8 років тому

    I love the way you did this video. Keep up the good work! :D

  • @geckie5555
    @geckie5555 7 років тому

    Dear Shaun
    Could you please make a tutorial, on handling getting hit by the enemy in a 2d sidescroller. I'm working on one, and have gotten stuck at a point where I have created a working healthbar, but since I have no knockback or anything like that from the enemy, when it hits the player, it just glitches further and further into him, resulting in an almost instant kill effect.
    Thanks - TheKingFlower

  • @LizardKnightable
    @LizardKnightable 8 років тому

    Hello! thanks for the video! I bought the bundle some day ago :D thanks for your tutorials! One thing: where can I find written ones? because since I have already some experience with game developing I know quite things and so follow the videos isn't always easy for me...thanks!

  • @omeraydindev
    @omeraydindev 7 років тому

    Hi Shaun, how to make "Head Basketball" game with Game Maker Studio? Can you take a video?

  • @swegx7605
    @swegx7605 7 років тому +2

    It's been half a year now :c

  • @TheLegerChannel
    @TheLegerChannel 7 років тому

    Make a GUI layer tutorial. there isn't a lot of videos out there for that and the videos that are out there are very complicated and not explained well.

  • @ninjamal666
    @ninjamal666 7 років тому

    hey shaun ! i had a problem !! i actually mad an android game and when i
    export it to apk its done fine but when i put the extension of google
    play service to it ... it doesnt export to apk any more !!! any help or
    suggest please !! i had all kind of stuff necessary like jdk , ndk , sdk
    and im using gms 1.4.1567 (sorry for my english)

  • @lunatic_3521
    @lunatic_3521 8 років тому

    haha didnt imagine you posting anything anymour, well snce i guess you're reading this comment cuz this vid is new, i wanted to thank you. I mate alot of games and i used all my knowledge from only your tutorials :)

  • @bvoigtlaender
    @bvoigtlaender 8 років тому

    Hey Shaun,
    Can you please make a tutorial on how to properly program a touchcreen.
    I never understand how it works and all the tutorials i watched didn't help.
    I ask you because your videos are always very understandable for me.

    • @bvoigtlaender
      @bvoigtlaender 8 років тому

      P.S. Sorry for my bad english. It is not my first language. I hope you can understand me anyway.

  • @A2JakeSauce
    @A2JakeSauce 7 років тому

    Hello, Ive been watching your channel for a while and i could like to ask a personal favor. If you would be so kind as to make a tutorial on seemless room transitions in the way of constant player movement without being able to tell when a room transitions I would very much appreciate it.

  • @Nikke-nn5mn
    @Nikke-nn5mn 8 років тому

    Could you make a video about Virtual keys? i got the android module from humble bundle and i have had a lot of problems with them

  • @nerdyshyguy23
    @nerdyshyguy23 7 років тому

    hey shaun loving all the videos you got theyre really helpful. i was just wondering if you could make a tutorial on charge shots like in mega man? thanks

  • @somaraid
    @somaraid 7 років тому

    Hey Shaun,I've been working on a game quite a lot recently and i realized that a good part of my code has been made thanks to your tutorials.I always try to add my own style to the code,but most of the time it looks very similar to your code.I was just wondering if you're ok with the fact that people are using your code in their games? I'm definitely going to credit you in my game if it ever gets big

  • @Kazami-Yuuji
    @Kazami-Yuuji 7 років тому

    How would one go about making an effect like Asriel Dreemurrs aura, even if its not using shaders?

  • @pyro4sub28
    @pyro4sub28 7 років тому

    help its saying " ""c" is not a valid integer value. " and i need help!!!!!!!
    (this is on your first game part 1 video and i cant open up my game)

  • @cake_hd5848
    @cake_hd5848 8 років тому

    Is he going to make videos regularly again ?

  • @StarOnCheek
    @StarOnCheek 5 років тому +2

    4:04 the right word for vertices not found

  • @RetroGamingDev
    @RetroGamingDev 7 років тому

    Thanks for this... But please make a full on tutorial. Also - do other topics as well.

  • @arsenbabaev1022
    @arsenbabaev1022 7 років тому +1

    Shaun ! make new videos please ! Im from 2017

  • @GymmyRhys
    @GymmyRhys 7 років тому

    does anyone know how to put games on to Game Maker Player? its funny how something so simple is so difficult, ive been trying for ages to work out htf you do this
    i tried googling how to do it to no avail, i would've asked on YoYo's own youtube channel on the vid that promotes Game Maker Player but the comments are blocked...

  • @nyanmask395
    @nyanmask395 7 років тому

    Can you make a tutorial about dynamically drawing shapes(i.e. rectangle, square) and fill them with a color plus(now comes the tricky part) applying anti aliasing on the edges.

  • @disregarded10
    @disregarded10 8 років тому

    he lives!

  • @reapingtrace2532
    @reapingtrace2532 8 років тому

    woooooooooooooooo
    finally another video i can learn from

  • @paradoxwjs5578
    @paradoxwjs5578 8 років тому

    shaun uploaded a video? thats a first

  • @QuartzIsAnOxide
    @QuartzIsAnOxide 8 років тому

    I'm new to GM, what is the advantage of using a shader and not just adding the black outline to the sprite itself?

    • @ChristianRoyUtah
      @ChristianRoyUtah 8 років тому +2

      So if you ever make a game with a lot of sprites, it slows down build times and stuff. Shaders are a lot faster and can be conveniently applied to any image. So you make one outline shader and can now outline any number of sprites without having to manually do it.

  • @juanjoseramirezlarana1517
    @juanjoseramirezlarana1517 8 років тому

    Would you explain how to make the third ghost shader effect? (in 7:50)

  • @DanBraithwaite
    @DanBraithwaite 7 років тому

    Man this video was badass!

  • @milk96
    @milk96 7 років тому

    I know this is oddly specific, but I'd love to make/see a GameMaker version of Bubble Bobble.

  • @bennis9283
    @bennis9283 8 років тому

    Yes another Video. Thanks man you helped me a lot :)

  • @denniswiklund3909
    @denniswiklund3909 8 років тому

    Hi!
    I love to have a video about how you think about resolution. Especially when it comes to different mobile ratios. :-)

  • @lincolndog6502
    @lincolndog6502 6 років тому

    that means shaders can be used for customizing your character :3