Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
(1 edit)

Yay i helped! :D

(EDIT) So i was thinking should i say i to you or is it gonna be a bunch of useless knowledge. And i decided to say it to you because it can be usefull in the future (i have no idea if you know this or not).

So if you needed for enemies to not see trough walls you can write this stack of code:

if instance_exists(o_player)  {

if collision_line(x,y,o_player.x,o_player.y,o_wall,true,false)  {  cansee = false  }

if not collision_line(x,y,o_player.x,o_player.y,o_wall,true,false)  {  cansee = true  }  }

I hope i have written everything like it should be.

Also if you dont know how to do something you can look in the instruction or improvise! Because if it aint broke - dont fix it.