MFGG Forums
(trash) (do not read) - Printable Version

+- MFGG Forums (https://forums.mfgg.net)
+-- Forum: MFGG (https://forums.mfgg.net/forumdisplay.php?fid=4)
+--- Forum: Developer Discussion (https://forums.mfgg.net/forumdisplay.php?fid=10)
+--- Thread: (trash) (do not read) (/showthread.php?tid=524)



(trash) (do not read) - mrpin355 - 02-18-2018

Hello,
as you can see this my first thread, other than replying.

Anyways, I'm looking for a code dealing with 'ds_queue' values to make snake-like body parts.
Does anyone have a code like this?

I'm using GameMaker: Studio.




Thanks!


RE: "Snake" body code help. - kremling - 02-19-2018

I have something like this written in C++, but I actually think there is an example I made on the main site's How-To, as well. I'll have to check. But what exactly are you trying to achieve because I may have assumed wrong. Are you trying to have objects follow another object like how Pikachu follower Ash in Pokemon, or like how the characters in EarthBound follow Ness?


RE: "Snake" body code help. - mrpin355 - 02-19-2018

(02-19-2018, 03:45 PM)kremling Wrote: I have something like this written in C++, but I actually think there is an example I made on the main site's How-To, as well. I'll have to check. But what exactly are you trying to achieve because I may have assumed wrong. Are you trying to have objects follow another object like how Pikachu follower Ash in Pokemon, or like how the characters in EarthBound follow Ness?
Yeah, I need multiple objects and make them follow the 'parent'.


RE: "Snake" body code help. - kremling - 02-19-2018

https://www.mfgg.net/index.php?act=resdb¶m=02&c=4&id=25651 - Link to MFGG main page How-To download. The latest Game Maker supported for the example is Game Maker 8, however.


https://phpbb.mfgg.net/viewtopic.php?f=8&t=12812&hilit=object+grid+based+following - Link to old MFGG forums topic for the How-To.

Edit: This is an old example, so I do not recall how I implemented it. If you need help, I can download it and see if I can help you figure things out.


RE: "Snake" body code help. - mrpin355 - 02-19-2018

(02-19-2018, 07:01 PM)kremling Wrote: https://www.mfgg.net/index.php?act=resdb¶m=02&c=4&id=25651 - Link to MFGG main page How-To download. The latest Game Maker supported for the example is Game Maker 8, however.


https://phpbb.mfgg.net/viewtopic.php?f=8&t=12812&hilit=object+grid+based+following - Link to old MFGG forums topic for the How-To.

Edit: This is an old example, so I do not recall how I implemented it. If you need help, I can download it and see if I can help you figure things out.
This tutorial shows how to do it at "16x16" grid snap.
That's not what I was really asking for.
Or can it be modified?


RE: "Snake" body code help. - kremling - 02-19-2018

Yes, you should be able to modify the grid size.

EDIT: But just in case I don't understand. Would you mind providing a picture of what it is you want?


This forum uses Lukasz Tkacz MyBB addons.