Looking for some advice on spiders

I am in the process of making that is a small spider enemy for side-scroller that I would like to be able to climb walls and ceilings. I have gone through the various movement settings and collision detection and I am not sure where to begin. If anyone has a tutorial recommendation or some advice I would be happy to hear it.

thanks!

L

I did a PGM video on this kind of behavior and I think it can transfer to AGMaker pretty well:

1 Like

Thank you very much! i will give this a watch

That video gave me an excellent starting point in how to look at the logic for what i wanted to do. I attempted to recreate the same conditions in AGM to the best of my understanding, it almost works. Here is what I came up with after some trial and error:

The move states I set up as depicted above. Each state is the same with the animations and facings being the exception. The transitions I set up like this:

with the tile contact condition being set like so:

I have tried adjusting rays and adding more conditions but those always led to unexpected and sometimes cool behavior. However it seems to always fall apart when it reaches the transition to the “upside down” right movement. I am at a loss. Any advice would be greatly appreciated.

Does anyone have any suggestions at all? I am still very much stuck on this :frowning:

I’d like to help, could you send in your project to pgmmv-support@gotchagotcha.jp so we can see what’s going on and best fit for your needs?

Thank you so much! I have sent the project.

I found a way that I was satisfied with, it doesn’t use collision but instead uses MoveObject with ‘Apply To Instance’ selected for the specific coords of each movement. I then set the proper locations in the scene itself. It is a little more work, but like you I couldn’t get the collision detection working. I ended up having to move the object 1 more pixel away from the tile collision so that it made sure it was good to go.

I made a module here for it. You can install it by:

  1. Download module
  2. Put it in the C:\Users\USERNAME\AppData\Roaming\Agm\my_modules
  3. Drag it from the Module List section of the editor (you can delete group it comes with)

wall_crawler.tres (4.6 KB)

1 Like

I really appreciate your time and help but that did not work. The spider walked off the platform hit the ground below and began to spin. I have encountered too many instances where basic 2D side-scroller functions that AGM just can not seem to handle with out using additional code or modules. I do not feel it is unreasonable to expect an engine which touts “no need to know code” to be able to recreate something as basic as Metroid right out of the box. I regret spending the money on AGM at this point and would like to get that money back. I feel I would have better served picking up PGM instead. Your video showed PGM can handle this no problem. If I was attempting crazy complex actions I would be more forgiving of things not quite working but that just isn’t the case. I am trying to develop games, not be a test subject for a partially functioning tool. This platform crawling spider was supposed to be something I was going to bang out in a hour or so but it has been over a week and it still isn’t working!

Just to verify did you set the correct coordinates on the scene itself? I don’t think my module will take the scene values I gave it, the video shows the values I put it in on the scene they are placed on.