Top Down DnD & GML Tutorial in Gamemaker #3 Projectiles

  Рет қаралды 21,675

Slyddar

Slyddar

Күн бұрын

Пікірлер: 66
@fierorecensione5828
@fierorecensione5828 Жыл бұрын
hello Peter, your code is incredibly mature but still incredibly simple, you are an incredibly programmer, so many thank you to give us your knowledge, thank you for your Udemy courses, can't wait to see a video where you make some juicy things like stretch easing camera shaking and so on, thank you from the bottom of my heart!!
@lucataylor4643
@lucataylor4643 Жыл бұрын
THANK YOU FOR USING GML code aswell, I was watching your first tutorial for this series and was sad that it only featured GML visual as my A-Level project doesn't allow me to use visual so you providing code really helps me on my project! Thank you for taking time out of your day to share your knowledge and help others. This is the exact sort of game I have been planning to create. Again, THANKS SO MUCH 👍
@DominøProducer
@DominøProducer 3 жыл бұрын
Please don't stop making this series, I need you to continue so I can finish my game xd
@Ilovemadlib
@Ilovemadlib 3 жыл бұрын
Absolutely amazing tutorials! One of the if not THE HIGHEST quality GMS2 tutorials on KZbin. Please post more on this series and Keepers Of Pyrite. I look forward to seeing more of your content.
@sveninspace
@sveninspace 11 ай бұрын
you're a f!cking legend man. my dreams of creating a game called "Gunko Goblin Extreme", or even just creating a game have been made possible by you. thank you so much for these tutorials, i love the customization too!
@firdausaffandi2181
@firdausaffandi2181 5 ай бұрын
did you know why when he accessing the arrow_speed variable he use other. arrow_speed not obj_player.arrow_speed?
@TabbedOutRat
@TabbedOutRat 9 ай бұрын
If my game makes money... then so will you. Best game maker tutorials for the game I'm trying to create. Wish I started with you. Subbed and liked.
@LE_pixis
@LE_pixis 2 жыл бұрын
You really diserv more subscibers, I was surpised when I see that you only have 5k sub omg. TwT You are my hero
@Mango-DarkAndDarker
@Mango-DarkAndDarker 3 жыл бұрын
Can’t wait for the next video keep up the good work😁
@PSTechCR
@PSTechCR 3 жыл бұрын
Amazing job as always!!! please look in to the mobile or touch controls when you have the chance, looking forward for it
@JStaticJ
@JStaticJ 3 жыл бұрын
hey man thanks ,it helped alot also can you please make the next video of this series about enemies
@Morten-G
@Morten-G 2 жыл бұрын
i hope you make more game, so we can play them :) you good
@ZT3X
@ZT3X 2 жыл бұрын
love the series
@vennin7781
@vennin7781 3 жыл бұрын
Nice vid as always. I have to really thank you for explaining things like lerp instead of just telling us to use it like a lot of coding tutorials. On another note though, at around 14:00 is there any downside to using something like "_inst.speed = 3" instead?
@Slyddar
@Slyddar 3 жыл бұрын
The downside to using a local variable is when you have a large amount of variables for your player, and you want to change something, you have to search for where you used it in your code, as opposed to having all the settings in the create event, easily accessible in one location. Hence why I mentioned creating an instance variable for the distance with the bow recoil. I didn't do it, but mentioned it would be worth doing to keep variables in one location, and avoid magic numbers. I was basically prompting you guys to do it yourself and get into the habit rather than just following my actions. Good question though, and while I prefer to do it in the create event with what I determine are "important" variables, for the reasons explained, of course it still works both way, and in the end you do what your comfortable with.
@vennin7781
@vennin7781 3 жыл бұрын
@@Slyddar Sweet, thanks for the fast reply again.
@GuardianHalle
@GuardianHalle 10 ай бұрын
Say I wanted to make it so that the arrow fires based on what direction the player is facing? How would I go about doing that?
@CalvoMaldito
@CalvoMaldito Жыл бұрын
Sick tutorials! One quick question, how your sprite doesn't deform when rotating? Mine just rotate like its rotating in paint lol
@mcretrix
@mcretrix 3 жыл бұрын
Hey need some help to create a menu: I want to press esc and then shows the menu in front of the Game. Transparenz should be 70%. Can u help?
@Slyddar
@Slyddar 3 жыл бұрын
You should look into drawing the menu on a surface.
@kody4bruh
@kody4bruh 2 жыл бұрын
amazing lessons
@batuhanulu3598
@batuhanulu3598 2 жыл бұрын
I love what you do and the way you're promoting your game. Best of luck to you
@mib666007
@mib666007 Жыл бұрын
My arrows are not colliding with the o_solids when I shoot. Not sure what I am doing wrong, going to retry some sections but it just doesn't seem to matter.
@jameseggleton1992
@jameseggleton1992 Жыл бұрын
Hello Peter, again many thanks for your videos, I am having an issue, making a top down game for a space shooter and have adapted your code, however whenever i fire the laser only goes one direction, i am going through the video again, only things i have really changed are names (bow to gun and arrow to laser) as well as linking the ship direction to the .image_angle.
@Slyddar
@Slyddar Жыл бұрын
Sounds like you are not setting the 'direction' of the laser.
@TMRAZOR
@TMRAZOR 3 жыл бұрын
do more about this series
@Slyddar
@Slyddar 3 жыл бұрын
I did.
@djeka415
@djeka415 3 жыл бұрын
Thank you very much🙏
@DailyTyler1Clips
@DailyTyler1Clips 3 жыл бұрын
I'm having a problem with arrows, the game for some reason spawns two of them instead of one. I tried to find an error but I couldn't. I even used your code to check and it still doesn't help (in the downloaded project it works fine, but if I copy the code to my project it is still broken) . Have yoiu ever encountered something like this?
@Slyddar
@Slyddar 3 жыл бұрын
It's possible you have 2 instances of the player spawning in the room, as they would move as one, but would generate 2 arrows.
@allofyoualways
@allofyoualways 4 ай бұрын
The arrow is coming out of the origin, how would I make it come out of somewhere else on the object/enemy?
@Slyddar
@Slyddar 4 ай бұрын
Use lengthdir_x and lengthdir_y to project along the aim direction, and find a spawn point 10 or so pixels away.
@SoySalmon
@SoySalmon 2 жыл бұрын
I wonder, would it be possible to add an arsenal to this? like multiple weapons. Although I doubt it as the player's code is very much intertwined with the bow
@madman10769
@madman10769 2 жыл бұрын
Make the variables on the weapons and just enable or disable them if holding or not
@felupan
@felupan 2 жыл бұрын
As again, great tutorial, but im trying to make a shotgun, and I need to shoot 4 bullets instead of 1, any tutorial u can recomend me or tell what to do?
@Slyddar
@Slyddar 2 жыл бұрын
Thanks! Try to use a for loop and change the bullet direction by i * 10 or so which will give each bullet a different direction.
@felupan
@felupan 2 жыл бұрын
@@Slyddar Well, it worked but there are some details, can you resolve them on discord?
@PeregrinoSilencioso
@PeregrinoSilencioso 11 ай бұрын
For some reason Apply to in DND is not working. Its sending the player instead of the arrow. I had to switch to GLM to make it work
@lickagoat
@lickagoat 4 ай бұрын
I have the same problem. Maybe something has changed in the past two years.
@BiggZigg
@BiggZigg 2 ай бұрын
it works, you probably missed the part where you had to adjust Apply To to _inst instead of self
@matt.137
@matt.137 2 жыл бұрын
im having an issue where the arrow is destroyed immediately after it’s shot, so it doesn’t actually travel anywhere not even sure what i did, lol
@deadwood-jq7fw
@deadwood-jq7fw 3 ай бұрын
hi im still learning and i know it properly too late but this my help someone else the down line but after some trail and error. var _dis = point_distance( xstart, ystart , xstart, ystart); if (_dis > range) { arrow_die(); } i dont know why this fix it but the arrow now fly across the room and explode on the wall like it ment to , just keep in mind that this may very will create more problem down the road 😁.
@MateDoesThings
@MateDoesThings 3 жыл бұрын
Hey! Good video! Can you make a tutorial about how to make DnD interactions (with objects)?
@blenderup919
@blenderup919 11 күн бұрын
Keepers of Pyrite no finish??
@Quaffyson
@Quaffyson 3 жыл бұрын
any idea when part 4 will be out?
@Slyddar
@Slyddar 3 жыл бұрын
Probably at the end of the month.
@thirstyplaneschlorpschlorp9026
@thirstyplaneschlorpschlorp9026 3 жыл бұрын
please make a video about interactive objects that display text(DnD). I am struggling to do this and need a bit of help
@jettythesunfish
@jettythesunfish 3 жыл бұрын
Curious; is there a way to do the bow functions WITHOUT a mouse?
@Slyddar
@Slyddar 3 жыл бұрын
Sure. Keeper's of Pyrite is controller only actually. It may be something I'll add here at some point, but until then, Yoyo have a blog on it - www.yoyogames.com/en/blog/coffee-break-tutorials-setting-up-and-using-gamepads-gml
@jettythesunfish
@jettythesunfish 3 жыл бұрын
@@Slyddar Thanks for the prompt reply! :D
@vestigedhalo5465
@vestigedhalo5465 2 жыл бұрын
how do i add a switch weapon mechanic to my game
@Slyddar
@Slyddar 2 жыл бұрын
Shaun has a decent tutorial on this - kzbin.info/www/bejne/aJ2claWngtF4bNU
@michaelbourret339
@michaelbourret339 2 жыл бұрын
Is it possible to incorporate this projectile feature into a platformer game?
@madman10769
@madman10769 2 жыл бұрын
Possibly
@louielawrence2503
@louielawrence2503 2 жыл бұрын
it might be my sprite but whenever i aim down the arrows instantly explode any suggestions?
@janikangas6552
@janikangas6552 2 жыл бұрын
I had the same problem and the problem was that I was using point_direction instead of point_distance in o_arrow's Step function. This caused the miscalculation of the arrow distance when the aiming angle is "below" the player.
@raincoatkid1099
@raincoatkid1099 Жыл бұрын
@@janikangas6552 yow ur a huge lifesaver! thanks a ton!
@zackwellgans5265
@zackwellgans5265 6 ай бұрын
@@janikangas6552 YOU ARE A GOD
@Lentagoon
@Lentagoon Жыл бұрын
i cant shoot downwards
@zackwellgans5265
@zackwellgans5265 6 ай бұрын
Me too.
@Quaffyson
@Quaffyson 3 жыл бұрын
Yayyyyyy
@maitreyiramkumar7219
@maitreyiramkumar7219 2 жыл бұрын
What is the name of your game
@Slyddar
@Slyddar 2 жыл бұрын
I already answered you in the other video where you asked the same question - keepersofpyrite.com/
@AmJustMaiko
@AmJustMaiko 2 жыл бұрын
it would be nice if you have a community discord
@Slyddar
@Slyddar 2 жыл бұрын
I've started setting up a discord for my community. It's in the early stages at the moment, but you're welcome to join - discord.gg/tj7FsgKzkb
Top Down DnD & GML Tutorial in Gamemaker #4 Enemy A.I.
36:19
Gamemaker Top Down GML #1 - Can We Make Gauntlet?
25:31
Slyddar
Рет қаралды 39 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
ENABLE these Developer Options NOW!
9:42
9to5Google
Рет қаралды 15 М.
Top Down DND & GML Tutorial in Gamemaker #2 Sprites
25:58
Slyddar
Рет қаралды 38 М.
Object States | Game Maker Studio 2
22:21
FriendlyCosmonaut
Рет қаралды 139 М.
Gamemaker Top Down DnD #1 - Can We Make Gauntlet?
27:08
Slyddar
Рет қаралды 105 М.
GameMaker Studio 2: Health Bar Tutorial
13:49
Sara Spalding
Рет қаралды 87 М.
Full Saving and Loading Tutorial in GMS2! (Part 1 of 2 - Room Saving)
28:08
Motion Planning (*AStar) in Gamemaker Studio 2
17:42
GameMaker Casts
Рет қаралды 5 М.
Top Down DnD & GML Tutorial in Gamemaker #5 State Machines
24:18
Gamemaker DND Platformer Tutorial - #1 Movement
14:01
Slyddar
Рет қаралды 240 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН