AttachPoint Tutorial | How To Make Attach Points in GameMaker Studio 2
Вставка
- Опубліковано 29 сер 2019
- Get it here: matharoo.itch.io/attachpoint
AttachPoint allows you to place attach points on the frames of your sprites, so that you could attach an object there.
🐤 Follow me on Twitter to stay updated: / itsmatharoo
🤝 Join our Discord for free help: / discord
I was just problem solving attach points at work a few days ago, it's great to see you posted this! Once I get to that bridge, I'll likely purchase your tool. Thank you, friend!
bravo! seen this but never watched the video... did that today, and i must say its a brilliant tool! great job Matharoo!
Thank you very much!
Thanks for the tutorial! This is such a useful tool especially for a solo game developer.
Thanks, It's very useful.
this is really amazing
Отличная работа! (Great job man!)
To simplify use, importing the sprite's *.yy file (rather than an exported strip) should provide all the information about the sprite (including its origin or animation speed, for example). Is such an update feasible?
Hey man
I know this was uploaded a long time ago - but i can not stress enough how perfect this tool would be for my game, the only thing is I have a Mac :(
any update on the Mac version? Very much willing to pay for this tool
Thanks :)
Hi, thanks! This helped a lot, and i have a request for you.
Can you show us how to export our games to Ubuntu on Gamemaker Studio 1.4?
I'll add that to my list! For now, you can get help from the forums: forum.yoyogames.com/index.php
Is there a way to hide part of the preview sprite? For example, if the axe went behind the body for a couple frames. Is that something I can do? I can't figure it out in the demo.
Hi! :) This is something we also needed in our project, but it wasn't that hard to do since we had proper depth-ordering set up.
The app only helps with two dimensions: x and y. It doesn't include a solution for z/depth, as that's something that will be determined by your game and how your depth-ordering is set up. But that is assuming your game has a 3/4 top-down perspective.
this is great. any word on a mac release?
Working on it. Follow me on Twitter @itsmatharoo to stay updated
Will you be making a new Udemy and add this to tool to it? Unfortunately I use a Mac computer and I can not support your new product until it is updated.
Thanks for letting me know, I'll see if I can work on a mac version.
@@GameMakerStation awesome. I will buy it once it is out.
i hope i can see how to use this to attack and
damage enemy objects :-D
Do you have a video on attaching an object without using the attatchpoint tool?
It wouldn't be much of a tutorial. You basically just pain-stakingly do it by hand.
I've done it before on an old (now defunct) project.
The way I did it was by setting a difx, dify, and a drawdepth variable.
Next, I made a switch statement which read the sprite_index of the player.
Then, within each case I had another switch statement which read the image_index of the sprite.
(I know, layering switches is bad practice. This was a while ago)
Then, in each and every image_index case you set the difx, dify, and drawdepth variables.
The difx is how much you add or subtract from the origin on the x-axis
The dify is how much you add or subtract from the origin on the y-axis
and the drawdepth is used to determine if it draws in-front of or behind the sprite.
You then use the difx, dify, and drawdepth variables to reposition/draw the thing you wanted to stick to the main sprite.
Of-course, that's far from the best way to do it, but the basic idea is that you have to set up a system for assigning those variable to every single frame of every sprite you want to add a sticking point to.
This tool basically lets you set the difx, dify, and a rotation angle for each frame by clicking on the sprite itself, which is WAY faster than hand-typing those numbers.
The tool then spits those numbers out as an array, which you can easily tie to a sprite and image_index to set the difx and dify variables.
All that said: if you only have a handful of frames you need sticking points on, hand-typing it isn't too bad. But, once you start creeping above 15-20 sticking points it gets super old super fast.
Cool tool but I can't import sprites keeps coming up with 0 Error: failed to load sprite.
Got any advice?
Im stuck at the copy and paste when i copyed my character i dont know how to remove it
Sorry, not sure what you mean?
Font wory i solved it
it says illegal array use
nvm i fixed it
it doesnt work with 2sprites tho
@@ianainoaduarte Hi, please join my Discord server where you can hit me up for support: discord.gg/TykHyqK