Log In  

Cart #32807 | 2016-11-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13

Cart #32560 | 2016-11-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
13

Here is my raycasting cartridge. I will do some tutorials to explain how it works.

You can use C to toggle textures and X to slide instead of walk.

P#32563 2016-11-16 15:27 ( Edited 2017-10-17 17:52)

oil on the wall:

function move(nb)
 tmpx = p.x + (p.speed * cos(p.angle)) * nb
 if (grid[flr(p.y)][flr(tmpx)] == 0) p.x=tmpx
 tmpy = p.y + (p.speed * sin(p.angle)) * nb
 if (grid[flr(tmpy)][flr(p.x)] == 0) p.y=tmpy
end
P#32564 2016-11-16 15:39 ( Edited 2016-11-16 20:39)

Cart #32567 | 2016-11-16 | Code ▽ | Embed ▽ | No License


pretty cool indeed :o

P#32568 2016-11-16 16:12 ( Edited 2016-11-16 21:15)

Awesome - nice work!

P#32580 2016-11-17 09:37 ( Edited 2016-11-17 14:37)

J'aime beaucoup.... Chez-moi j'ai dû changer == 0 pour != 1 dans la function move_player ; je ne comprends pas pourquoi

P#33343 2016-12-11 14:07 ( Edited 2016-12-11 19:07)

Did you create the tutorial already?

P#45292 2017-10-17 13:52 ( Edited 2017-10-17 17:52)

@Woofer99

eh bien, c'est peut-être un bug dans votre version PICO-8, êtes-vous sur la dernière version ?

P#137173 2023-11-09 17:45

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 09:47:39 | 0.017s | Q:29