João Costa @JD557@blog.joaocosta.eu Follow

Portuguese software engineer at Kevel.

My instance is running on a small server so please #nobot

Web

https://www.joaocosta.eu/

GitHub

https://github.com/JD557

Twitter

https://twitter.com/JD557

Itch.io

https://jd557.itch.io

  • Notes
  • Articles 6
  • Followers 41
  • Following 57
João Costa's avatar
João Costa
@JD557@blog.joaocosta.eu

This weekend I was playing a bit with raycasting.

There's still quite a lot to do, but I think this could already be the base for something. Maybe I'll pick it up once I have more time.

Base assets:

  • https://opengameart.org/content/stone-wall-with-cracks
  • https://opengameart.org/content/3-crate-textures-w-bump-normal
  • https://opengameart.org/content/stone-pavement-ground-tile
Stone Pavement Ground Tile OpenGameArt.org
GIF
Image of the 2D map being edited on Tiled
  • permalink
  • interact from your instance
  • 1 year, 6 months ago
  • 1 like
  • 1 reply
Likes
@davesmith00000@mastodon.gamedev.place
João Costa's avatar
João Costa
@JD557@blog.joaocosta.eu

in reply to this object

As a side note (not pointing fingers to anyone in particular, I just want to vent as I've been bit by this multiple times): I found that some raycasting tutorials are pretty bad and don't actually explain the math behind it. 😔

I've been noticing this trend in tutorials to say "and now we have to use... MATH! ", and then proceed to go over it as fast as possible and just leave a code snippet - which sometimes is not even correct!

It's been really frustrating, because I know I have some issues with the projection (I think related to the FOV and not having a near plane), and it would be really useful to be able to double check my math once in a while.

And also, if I'm allowed extra ranty: I really don't get why someone would want to watch a tutorial that only explains the easy parts. 🤷

  • permalink
  • 1 year, 6 months ago
  • 1 like
Powered by microblog.pub 2.0.0+dev (source code) and the ActivityPub protocol. Admin.