Raycasting issue

i am trying to make well.. a raycaster
i tried to generate a map from a list by using a for loop and an if check if the item determined by w and h is 1 (a.k.a a wall)

but it returns an error stating (hmm.. expecting a list but got a list)

help :slight_smile:

You're going to have to post a project link.

here :slight_smile:

solved!

my dumb me forgot that lists starts with 1, not 0

but atleast i figured it out :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.