[{"data":1,"prerenderedAt":259},["ShallowReactive",2],{"project-40950712":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":41,"post_text":43,"what":44,"said":58,"maker_in_thread":156,"shape":165,"grid":169,"attempts":217,"same_week":222,"maker_shows":250,"maker_hidden":251,"reader_version":252,"card":253},"40950712","Raycast2","I accidentally crated a infinite level for a wolf 3D clone","title","Show HN: I accidentally crated a infinite level for a wolf 3D clone","https:\u002F\u002Fvictorribeiro.com\u002Fraycast2\u002F","victorribeiro.com","atum47",1720830471,2024,66,24,1120,3515,32,"notable","games","browser raycaster game","web_app",[24,25,26,27],"wolf 3d","raycasting","infinite maze","browser game","curious",-0.183,{"positive":31,"neutral":32,"mixed":33,"critical":34},2,6,0,3,11,{"idea":37,"execution":39,"performance":40},{"positive":38,"critical":33},1,{"positive":38,"critical":38},{"positive":33,"critical":31},[33,33,33,42,33,33,34,33,34,34,33,38,33,34,34,33,33,38,34,33,42,38,33,33],5,null,{"problem":43,"audience":43,"pricing":43,"motivation":45,"time_to_build":43,"stack":52,"openness":57,"stage":57,"team_size":57},{"value":46,"source":47,"evidence":48},"A bug in a map definition (wrong width and height) produced an unexpectedly endless level","maker",[49],{"id":50,"by":11,"text":51},"40950715","The other day I was working on my wolf 3d game clone when I noticed this cool bug. My maps for the game are defined as an object with width, height and an array of arrays for the…",[53],{"value":54,"source":47,"evidence":55},"JavaScript",[56],{"id":50,"by":11,"text":51},"unknown",{"praise":59,"objections":79,"requests":116,"questions":128,"alternatives":133},[60,72],{"value":61,"source":62,"evidence":63},"Reminiscent of Marathon and Duke Nukem non-Euclidean maps","commenter",[64,68],{"id":65,"by":66,"text":67},"40982181","xyzzy_plugh","Reminds me of Marathon's non-euclidean maps. The engine traversed adjacent portals to determine what polygon-based cells to draw\u002Finteract with. Very mind bending in its day. Some…",{"id":69,"by":70,"text":71},"40986096","smitelli","Duke Nukem 3D had a stock level (E2L11, \"Lunatic Fringe\") that did something similar. The main structure of the map was a 720-degree loop. I remember it took me a good long while…",{"value":73,"source":62,"evidence":74},"Love the misdirection of the accidental level",[75],{"id":76,"by":77,"text":78},"40986409","luluthefirst","This is fantastic, love OP's misdirection.",[80,98,105],{"value":81,"source":62,"evidence":82},"Level does not seem infinite; it repeats or loops",[83,87,91,95],{"id":84,"by":85,"text":86},"40953233","tetris11","It doesn't seem infinite.... after 3 minutes I was just crawling along a wall, waiting for a left turn that would expand outwards. Never came",{"id":88,"by":89,"text":90},"40982610","manuelmoreale","I think it's infinite, just not in all directions. It keeps repeating in one direction though.",{"id":92,"by":93,"text":94},"40986049","joelfried","Only if there's no repetition . . .",{"id":96,"by":85,"text":97},"40990194","sounds like a circle to me",{"value":99,"source":62,"evidence":100},"Rendering shows fish-eye distortion from wrong perspective culling",[101],{"id":102,"by":103,"text":104},"40987159","notarget137","I think it has wrong perspective culling. Seems like the rays are not properly clipped in the view plane so it appears like the view has a \"fish eye\" effect.",{"value":106,"source":62,"evidence":107},"Static image on mobile with no controls",[108,112],{"id":109,"by":110,"text":111},"40983053","can16358p","Just displaying a static image on the iPhone?",{"id":113,"by":114,"text":115},"40984247","rob74","That \"static image\" is actually the game screen. If you had arrow keys on your iPhone, you could make it dynamic.",[117,121],{"value":118,"source":62,"evidence":119},"Add arrow key or touch controls for mobile",[120],{"id":113,"by":114,"text":115},{"value":122,"source":62,"evidence":123},"Explain how the map size bug causes the infinite level",[124],{"id":125,"by":126,"text":127},"40986488","digging","Can you explain in more detail how forgetting to change (8,8) to (14,16) resulted in an infinite level?",[129],{"value":130,"source":62,"evidence":131},"How does the wrong map size create an infinite level?",[132],{"id":125,"by":126,"text":127},[134,138,142,149],{"value":135,"source":62,"evidence":136},"Classic Marathon",[137],{"id":65,"by":66,"text":67},{"value":139,"source":62,"evidence":140},"Duke Nukem 3D stock level E2L11",[141],{"id":69,"by":70,"text":71},{"value":143,"source":62,"evidence":144},"Doom myhousewad map",[145],{"id":146,"by":147,"text":148},"40984629","Hikikomori","There's also a doom map. https:\u002F\u002Fwww.doomworld.com\u002Fforum\u002Ftopic\u002F134292-myhousewad\u002F",{"value":150,"source":62,"evidence":151},"The Library of Babel",[152],{"id":153,"by":154,"text":155},"40984506","netsharc","With a different wall texture (and I guess hexagonal rooms) you could make https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FThe_Library_of_Babel",{"comments":32,"answered":34,"key":157},[158,159,162],{"id":50,"text":51},{"id":160,"text":161},"40986932","I cannot. I need it to debug it further to fully understand whats going on",{"id":163,"text":164},"40985625","Apparently this post was brought back and I'm just now seeing the traffic.",{"commenters":166,"max_depth":167,"maker_replies":32,"first_comment_mins":33,"lifespan_hours":168},16,4,171,[170,172,175,176,178,179,181,182,183,186,188,189,191,194,195,198,200,201,203,204,207,210,211,215],[65,33,33,171,66,33],"other\u002Fneutral\u002Fnone",[173,33,33,171,174,33],"40983351","lostlogin",[146,33,33,171,147,33],[76,33,42,177,77,33],"maker\u002Fpositive\u002Fidea",[69,33,33,171,70,33],[50,38,33,180,11,38],"project\u002Fneutral\u002Fexecution",[125,38,34,180,126,33],[160,38,33,180,11,38],[184,38,34,185,126,33],"40988676","maker\u002Fneutral\u002Fnone",[153,31,34,187,154,33],"project\u002Fneutral\u002Fidea",[163,34,33,171,11,38],[84,167,38,190,85,33],"project\u002Fcritical\u002Fperformance",[192,167,33,193,11,38],"40954669","commenter\u002Fneutral\u002Fnone",[88,167,34,180,89,33],[196,167,34,187,197,33],"40984029","williamdclt",[92,167,33,199,93,33],"commenter\u002Fcritical\u002Fnone",[96,167,33,193,85,33],[109,42,38,202,110,33],"project\u002Fcritical\u002Fexecution",[113,42,34,180,114,33],[205,42,33,206,11,38],"40986709","maker\u002Fneutral\u002Fexecution",[208,42,42,209,110,33],"41013914","project\u002Fpositive\u002Fexecution",[102,32,38,190,103,33],[212,213,33,171,214,33],"40983877",7,"dnpls",[216,213,33,171,11,38],"40986722",[218,221],{"id":219,"t":220,"points":38,"comments":38},"40652993",1718149671,{"id":4,"t":12,"points":14,"comments":15},[223,227,232,237,242,246],{"id":224,"name":225,"points":226,"category":20},"40956087","Resurrecting a dead Dune RTS game",485,{"id":228,"name":229,"points":230,"category":231},"40972122","Horizon",361,"web_saas",{"id":233,"name":234,"points":235,"category":236},"40960508","Buzzinga",284,"consumer_social",{"id":238,"name":239,"points":240,"category":241},"40952509","CSS grid generator",262,"dev_tools",{"id":243,"name":244,"points":245,"category":241},"40961101","Kaskade",164,{"id":247,"name":248,"points":249,"category":241},"40980715","Magic-cli",158,53,false,"v2",{"id":254,"name":5,"line":6,"ai":251,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":255,"top":18,"kw":256,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":257,"url":9,"mix":258,"praise":61,"objection":81,"sub":21},40950712,-0.18,[24,25,26,27],"000500303301033001305100",[31,32,33,34],1794036657732]