{"repo":"selimanac/defold-tile-raycast","free":true,"listed":false,"github":"https://github.com/selimanac/defold-tile-raycast","clone":"git clone https://github.com/selimanac/defold-tile-raycast.git","description":"Ray Casting in tiled worlds using DDA algorithm.","language":"C++","stars":21,"topics":["defold","defold-engine","defold-game-engine","defold-library","defold-native-extension","game-development","gamedev"],"license":"MIT","category":"game-templates","readme_excerpt":"Tile Raycast Raycasting in tiled worlds using the DDA algorithm. It is a very effective solution for tile-based worlds such as platformers or top-down games. This implementation is inspired by: https://lodev.org/cgtutor/raycasting.html https://www.youtube.com/watch?v=NbSee-XM7WA Installation You can use Tiled Raycast in your own project by adding this project as a Defold library dependency. Open your game.project file and in the dependencies field under project , add: https://github.com/selimanac/defold-tile-raycast/archive/refs/heads/master.zip Examples You can find vision cone and line of sight examples in this project. Test it here: https://selimanac.github.io/defold-tile-raycast/ For v1: https://github.com/selimanac/defold-tile-raycast-platformer Release Notes v2 - BREAKING: Module name has been changed to tile raycast - Complete code refactoring - Performance improvements - New vision cone and line of sight examples Use Cases(AI Generated) Ray Casting in Games 2D Top-Down Roguelikes: Games like \"The Binding of Isaac\" and \"Enter the Gungeon\" use ray casting for line-of-sight calculations, bullet trajectory. Wolfenstein 3D and similar pseudo-3D engines: The original Wolfenstein 3D used DDA-based ray casting to create a 3D-like environment from a 2D map. Minecraft uses a variation for block targeting and lighting calculations. Line-of-Sight Systems Tactical games like \"XCOM\" and \"Into the Breach\" use DDA for determining visibility between units. Stealth games for guard visi","default_branch":null,"files":null,"tree":[],"storefront":"/r/selimanac","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/selimanac/defold-tile-raycast/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}