Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Does anyone know how to check for collision on GB Studio?

A topic by JadeWizard created Sep 19, 2021 Views: 937 Replies: 2
Viewing posts 1 to 2
Submitted

Hey,  GB Studio noob here. So I was making a part where a monster chases you and I got it to follow the player but I need it to send you to the game over screen when they touch you. I know the commands to send you to a different screen but I don't know the command to check if they catch you.

I know it's probably something simple, and I'll probably figure it out or scrap the idea entirely, but I'm stumped and currently making the maps for my game right now anyway.

So if you know anything about that let me know, if not I hope you have a great day anyway. :3

Submitted (2 edits) (+1)

if youre on gbs 2 beta 5 theres an on hit player tab on the actor if you checked the collision tab from interact it turns on hit u can then script your gameover screen on there. 


Submitted(+1)

Omg, apparently I just had to click on the level not the actors to get the hit player tab. I'm such a silly goose, thanks a lot Elvies. Now Alissa can give me all the game overs she wants. <3