GameMaker - Introduction to Shaders

  Рет қаралды 122,679

Sara Spalding

Sara Spalding

Күн бұрын

Пікірлер: 220
@naruto-4990
@naruto-4990 8 жыл бұрын
Hes back, the hero we deserve
@HiroTheHunter
@HiroTheHunter 8 жыл бұрын
the hero we GML noobs need
@ScibbieGames
@ScibbieGames 8 жыл бұрын
Shaders are pretty advanced tho.
@HiroTheHunter
@HiroTheHunter 8 жыл бұрын
but they look so good *drool*
@BranoneMCSG
@BranoneMCSG 7 жыл бұрын
Truly: _the hero we GML noobs need but not the one we deserve_
@alienx818
@alienx818 7 жыл бұрын
he said on twitter that he will return make indie games and tutorial... :)
@erithacus8465
@erithacus8465 8 жыл бұрын
Black magic? Witchery? Heresy? GET THE FIRE AND BURN THE SHADERS!
@kidagine
@kidagine 8 жыл бұрын
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.
@tuskybarn
@tuskybarn 8 жыл бұрын
You're good at making helpful videos. Keep it up!!
@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
@GymmyRhys
@GymmyRhys 8 жыл бұрын
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...
@damdal1837
@damdal1837 8 жыл бұрын
Shaun, is there any way of finding the width and height of a pixel in game maker, or formula to use?
@tedi7103
@tedi7103 8 жыл бұрын
>width and height of a pixel 1x1 good bait, I fell for it
@damdal1837
@damdal1837 8 жыл бұрын
The width and height would not be 1, when coding in glsl which is straight onto the gpu you need to enter the real width and height that the pixel is on the screen. So the the answer is going to be in inches (I think) and will be very small (for me it was 0.0005).
@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
@Fabian-vo9xk
@Fabian-vo9xk 8 жыл бұрын
He is alive!! Also 50 billions fps 😂😂
@julefmapper6143
@julefmapper6143 8 жыл бұрын
Ah, shadders... If only they were in Game Maker 8 ;~;
@julefmapper6143
@julefmapper6143 8 жыл бұрын
Well atleast we have blend modes, so we're able to do some of what we could do using shaders :/
@Faygris
@Faygris 8 жыл бұрын
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 жыл бұрын
xor has good tutorials on the glsl side and gml side of shaders
@Faygris
@Faygris 8 жыл бұрын
kek kekkington Cool, thank you!
@clintosss
@clintosss 8 жыл бұрын
Faygris search up a channel called: lets learn gamemaker language
@clintosss
@clintosss 8 жыл бұрын
Faygris search up a channel called: lets learn gamemaker language
@milomaz1
@milomaz1 8 жыл бұрын
Yay it's been too long
@SuperNintomdo
@SuperNintomdo 8 жыл бұрын
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 жыл бұрын
+Shaun Spalding Were u making vids for some other channels like in secretly or working on a game?
@harinandanrnair6768
@harinandanrnair6768 8 жыл бұрын
You!!! LOL
@ninjamal666
@ninjamal666 8 жыл бұрын
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 8 жыл бұрын
+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 8 жыл бұрын
+Shaun Spalding Oh, I found that video! Finally I can learn how to use GM 2!
@ElectricHamSandwich
@ElectricHamSandwich 8 жыл бұрын
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!
@Hirungolwe
@Hirungolwe 8 жыл бұрын
I agree
@SayadoMC
@SayadoMC 8 жыл бұрын
Always a good day when Shaun uploads
@1wolfcubb
@1wolfcubb 8 жыл бұрын
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.
@okzz2
@okzz2 8 жыл бұрын
"im actually new to making shaders myself" then creates a masterpiece
@soubakouh
@soubakouh 4 жыл бұрын
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!!
@RyanSonic
@RyanSonic 7 жыл бұрын
When you watch a video on shaders and realise your game is about simplicity and is in Black & White.
@christopherjamesbautista901
@christopherjamesbautista901 7 жыл бұрын
Hahaha
@CJBurkey
@CJBurkey 8 жыл бұрын
Because of English, "vertexes" is now correct, as is "vertices." Similar changes were made to cactus, allowing "cactuses" and "octopuses."
@colonelsandwich641
@colonelsandwich641 7 жыл бұрын
Sounds like you had fun making this video.
@softpak1
@softpak1 7 жыл бұрын
It`s not working in my situation. So i do some changes. like this: float a1 = max(alpha, texture2D(gm_BaseTexture, v_vTexcoord + osx).a); float a2 = max(alpha, texture2D(gm_BaseTexture, v_vTexcoord - osx).a); float a3 = max(alpha, texture2D(gm_BaseTexture, v_vTexcoord + osy).a); float a4 = max(alpha, texture2D(gm_BaseTexture, v_vTexcoord - osy).a); if ((a1+a2+a3+a4) < 4.0 && (a1+a2+a3+a4) > 0.0) { gl_FragColor = vec4(0.0,0.0,0.0,1.0); } else { gl_FragColor = v_vColour * texture2D( gm_BaseTexture, v_vTexcoord ); } Check the alpha around and draw the color you like.
@gdomjan83
@gdomjan83 7 жыл бұрын
I didn't understand any of this. :( Learning GML is difficult enough, I don't think I will ever create a shader myself. I'd rather buy someone else's. :D
@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.
@Syklonus
@Syklonus 6 жыл бұрын
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
@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?
@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.
@erichoward2191
@erichoward2191 8 жыл бұрын
@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
@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)
@Matmons
@Matmons 7 жыл бұрын
hello shawn. I m sorry because I m a noob. but i want to know how to create piercing bullet at top down shooter game. thankyou very much.
@omeraydindev
@omeraydindev 7 жыл бұрын
Hi Shaun, how to make "Head Basketball" game with Game Maker Studio? Can you take a video?
@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
@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.
8 жыл бұрын
Very Nice video Shaun thank you very much, and nice work as community manager in GameMaker kudos
@nekot4161
@nekot4161 8 жыл бұрын
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!
@pengtroll6247
@pengtroll6247 7 жыл бұрын
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'
@fujoridev
@fujoridev 2 жыл бұрын
How to do this 7:44? Can I please have a code or a link to the code?
@furkanminareciler2485
@furkanminareciler2485 8 жыл бұрын
This game file ".gml" upload ? I'm little learn english. Sorry. Pardon me
@Dag0suu
@Dag0suu 7 жыл бұрын
i have a question. Is collision event like step event? Is efficient to use step event for collision than collision event?
@Warmatx68
@Warmatx68 5 жыл бұрын
White Game Maker ? Your a monster ! But excellent video !
@BizKwikTwist
@BizKwikTwist 5 жыл бұрын
Would this carry into gms2?
@ent1064
@ent1064 7 жыл бұрын
can u make a tutorial about choosing your dificulty in game maker
@huhok.6461
@huhok.6461 7 жыл бұрын
I hope that while returning to indies, he returns to making tutorials ;_;
@swegx7605
@swegx7605 7 жыл бұрын
It's been half a year now :c
@TheAnimationStrikesBack
@TheAnimationStrikesBack 6 жыл бұрын
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 жыл бұрын
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 жыл бұрын
Killua Zoldyck Thanx man
@OskarFFS
@OskarFFS 8 жыл бұрын
i saw the things you posted on twitter using shaders, they where cool
@StarOnCheek
@StarOnCheek 5 жыл бұрын
4:04 the right word for vertices not found
@arsenbabaev1022
@arsenbabaev1022 7 жыл бұрын
Shaun ! make new videos please ! Im from 2017
@DarshUK1
@DarshUK1 8 жыл бұрын
Yay, this looks so cool
@charKT-7461
@charKT-7461 6 жыл бұрын
Too bad the free trial doesn’t support shaders ;(
@ThePandaSenpai
@ThePandaSenpai 6 жыл бұрын
Does that work for draw_text()?
@nameq
@nameq 7 жыл бұрын
how you did 3th shader? logic for pixel art in glsl looks like vertex shaders in php
@nameq
@nameq 7 жыл бұрын
is it shader?
@nizarlahmar1431
@nizarlahmar1431 7 жыл бұрын
When I heard that it uses a language other than the Game Maker's one, I quitted the video...
@edmanbosch7443
@edmanbosch7443 7 жыл бұрын
Why? GML was built for programming game logic, not shader logic. I doubt the performance would be very good compared to using a separate shading language.
@emptynism1958
@emptynism1958 6 жыл бұрын
Edmanbosch I think he meant that it's incredibly hard to learn a new language
@BlazertronGames
@BlazertronGames 6 жыл бұрын
@@emptynism1958 but learning another programming language is not hard. If you can't learn the basics of another language, then you can't call yourself a programmer.
@emptynism1958
@emptynism1958 6 жыл бұрын
@@BlazertronGames I never really said anything about being a programmer
@TheGrassySceptile
@TheGrassySceptile 8 жыл бұрын
Im interested...but I feel like it's too complex...
@Maniac-nv2mi
@Maniac-nv2mi 7 жыл бұрын
Can you please make a video about enemies that shoot?
@heroniite
@heroniite 6 жыл бұрын
MAKE A FISHEYE SHADER OR BENDING SHADER PLSSS
@cake_hd5848
@cake_hd5848 8 жыл бұрын
Is he going to make videos regularly again ?
@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 жыл бұрын
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.
@ninjamal666
@ninjamal666 8 жыл бұрын
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)
@avivr903
@avivr903 8 жыл бұрын
I always wondered what shaders are and how you use them
@LifeAfterBreakfast
@LifeAfterBreakfast 8 жыл бұрын
a new tutorial. and its about shaders. great!
@SuperGamersgames
@SuperGamersgames 8 жыл бұрын
The Game Maker Hero is back!!!! Yeah!!
@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!
@panchorecords7266
@panchorecords7266 7 жыл бұрын
You are going to upload more video?
@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...
@wuzzems2850
@wuzzems2850 7 жыл бұрын
My brain just got mindf****d
@JBarG22
@JBarG22 8 жыл бұрын
make a tutorial fnaf game type plz
@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?
@bobbyneal2498
@bobbyneal2498 7 жыл бұрын
Doesn't the engine have a list of codes?
@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?
@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.
@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)?
@andybume
@andybume 8 жыл бұрын
Aha! Now i've seen why do you has made this ghost and the pixels FX in GM.. kk (I am the twitter guy) kkk. Waiting the Shaders tutorials!
@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
@paradoxwjs5578
@paradoxwjs5578 8 жыл бұрын
shaun uploaded a video? thats a first
@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!
@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 :)
@dragos-andreiilies526
@dragos-andreiilies526 8 жыл бұрын
It works for vector graphics?
@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.
@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
@larryteslaspacexboringlawr739
@larryteslaspacexboringlawr739 8 жыл бұрын
thank you for gamemaker video
@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
@Jorvanius
@Jorvanius 5 жыл бұрын
Could you share the code, pls?
@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.
@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.
@CaptFluffymuffin
@CaptFluffymuffin 8 жыл бұрын
can you do a 3d tutorial please?
@timmythe4thgrader718
@timmythe4thgrader718 8 жыл бұрын
Shaun could you do a coding tutorial
@abandoned7501
@abandoned7501 5 жыл бұрын
sin(iTime) is the solution i guess
@milk96
@milk96 7 жыл бұрын
I know this is oddly specific, but I'd love to make/see a GameMaker version of Bubble Bobble.
@Kazami-Yuuji
@Kazami-Yuuji 7 жыл бұрын
How would one go about making an effect like Asriel Dreemurrs aura, even if its not using shaders?
@AreEyeOh
@AreEyeOh 8 жыл бұрын
Yessssssssssssssss another vid
@RetroGamingDev
@RetroGamingDev 7 жыл бұрын
Thanks for this... But please make a full on tutorial. Also - do other topics as well.
@denniswiklund3909
@denniswiklund3909 8 жыл бұрын
Hi! I love to have a video about how you think about resolution. Especially when it comes to different mobile ratios. :-)
@falseshepherd6575
@falseshepherd6575 8 жыл бұрын
Welcome back man. Been following you recently. Your tutorials are really helpful. Best of luck on your life man.
@DanBraithwaite
@DanBraithwaite 7 жыл бұрын
Man this video was badass!
@astrolink2000
@astrolink2000 7 жыл бұрын
GAME MAKER STUDIO 2!!!!!!!!
@HS-eq3gk
@HS-eq3gk 7 жыл бұрын
Make a metroid series pls
@juanjoseramirezlarana1517
@juanjoseramirezlarana1517 8 жыл бұрын
Would you explain how to make the third ghost shader effect? (in 7:50)
@harinandanrnair6768
@harinandanrnair6768 8 жыл бұрын
Yes.... finally ur back I hope you will once again become regular like you used to be
@mimic3256
@mimic3256 2 жыл бұрын
.... its 2022 BUT OKAY
CREATING MY OWN ANIMATED SERIES: RIFT
7:50
INDIE
Рет қаралды 1,9 М.
Help Me Celebrate! 😍🙏
00:35
Alan Chikin Chow
Рет қаралды 42 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
Patawad, Amanai.
1:55
makotover
Рет қаралды 111 М.
Beginner GameDev Mistakes - Ep 1
6:40
Sara Spalding
Рет қаралды 164 М.
Getting Started With Shaders - GameMaker Tutorial
31:21
DragoniteSpam
Рет қаралды 13 М.
Introduction to shaders: Learn the basics!
34:50
Barney Codes
Рет қаралды 338 М.
Tierlisting the BEST (and worst) GAME ENGINES
33:51
BiteMe Games
Рет қаралды 226 М.
Lorikeet - Fast Palette Swapping in GameMaker
23:55
DragoniteSpam
Рет қаралды 2,7 М.
Blend Modes & Silhouettes | Game Maker Studio 2
31:52
FriendlyCosmonaut
Рет қаралды 35 М.
GameMaker - Better Saving & Loading (JSON)
25:49
Sara Spalding
Рет қаралды 46 М.