chrismaltby / gb-studio

A quick and easy to use drag and drop retro game creator for your favourite handheld video game system
https://www.gbstudio.dev
MIT License
8.47k stars 469 forks source link

[Issue + idea] Collision issue in GAMETYPE: ADVENTURE #1498

Open ReptiIe opened 1 month ago

ReptiIe commented 1 month ago

Collision Issue

Describe the bug Not sure if this is a bug, or I am doing something wrong by experimenting. But I notice that Collision between Player and Actors do not work in the scene type Adventure (maybe it suppose to be like this not sure, so I am posting this).

To Reproduce Steps to reproduce the behavior: 1) Made a new scene, in the sample game, I made a new HOUSE. 2) this new scene (new house) I had set scene type to adventure 3) place a new actor - example cat

Expected behavior I expected that there will be a collision between the cat and the player (like in type Top Down scene), that player will "stop" next to the actor, but here it is like - player is just passing by. There is no collision. I did check: player as well as cat in their SPRITE EDITOR, they have collision set.

Screenshots I guess no need here.

Platform (please complete the following information):

Idea

In the sprite editor, there are types of movement for sprites. There is for example: idle, idle+walking, idle 4 direction, idle 4 direction + walking (top-down). It would be cool if there would be define a new one for the adventure type idle 8 direction, idle 8 direction + walking this kind of thing was used in example: Contra

(4:32) https://www.youtube.com/watch?v=_QOvhcsCDys

so it would be nice if the users had option to use 8 direction as well as set the graphics for that directions. Not sure how difficult it is to implement this kind of thing would be.

chrismaltby commented 1 month ago

It's true that Adventure doesn't currently support blocking movement using actors, same as the default platform scene type. It's on my list of things to do to look at integrating Adventure Plus (which I think can do this) and Platform Plus to replace the default adventure/platform scene types