The issue im having, is when Im trying to do an attack, Im noticing its stuck in the base screen of 160 by 120, anyone care to explain/help? https://arcade.makecode.com/S45095-97776-00751-44793
2 Likes
Browser events uses the screen position, not the position in the world. So the top left corner will always be (0, 0). To correct this, you can add the camera left to the x and camera top to the y, like this:
1 Like
Really thanks, this will certainly help me, as I am thinking of making a game, similar to Hollow Knight, and Silksong, maybe the fundamentals will be the same or similar, but the story will be different
2 Likes
