I only want them to clip through certain walls.
@unknown_Ink1 hmmmm⌠we donât really support that if you only want to allow certain kinds of sprites through.
if you want to allow any sprite through, just donât mark that tile as a wall
@richard I mean in raycasting.
@unknown_Ink1 the physics engine in raycasting is the same as the non-raycasting engine AFAIK
Hello,
I need help with setting up a âwinâ when all items are collected in the array and the countdown timer has not run out. My code isnât working.
@Bety I assume youâre referring to this bit of code:
That code is only being called once at the beginning of the level, so it will always evaluate to false. You probably want to check it every frame instead, so if you take that code and put it inside of an âon game updateâ you should be good!
Yes, I placed into an âon game updateâ but still isnât workingâŚ
OK I fixed that part and it worked. I had to move the set count block too:). Now Iâve added an enemy to my game but when they spawn and are obstructed by walls the inflict more damage and faster than the ones that are free to roam. How can I fix that? I tried the code that is greyed out but that didnât work.
@Bety inside your overlap event, use the âotherSpriteâ variable from the event instead of the âmyEnemyâ variable. you can drag otherSprite out of the top of the event block
myEnemy always points to the last enemy spawned. otherSprite, on the other hand, will point to the enemy that is involved in the overlap event.
@richard Iâm coding a game and I am using seeds to create, but I need to be able to draw rectangles in the tilemap, but I noticed I canât do that for some reason can you think of any way to use the âfill rectangleâ block from the âimagesâ Category? Thank you for your time!
@SOCKMONSTER12 do you mean you want fill a rectangle of tiles? Like this?
Press A to fill a rectangle of tiles
Thanks!!!
hey how do i add custom game overs and wins?
Is there any way to use Raycasting for one level only and normal tilemap/regular gameplay for all of the other levels?
TextSprite, Background images, etc
@richard Are you able to make it so that the hearts are over the black
@Mr_Duck set the z index of the shadowcasting to be less than 100. Itâs the last block in that category.
All of the UI from the info category is drawn at z-index 100, so anything lower than that will show up underneath