Omnimaga
Calculator Community => TI Calculators => TI-BASIC => Topic started by: Raylin on January 30, 2010, 08:29:06 am
-
I'm trying to make a game. It involves:
- A single player.
- A single wall.
- Raycasting. >:(
Question: How do you simulate line of sight on the homescreen?
-
Homescreen raycasting O.O
-
Question: How do you simulate line of sight on the homescreen?
Without further description of the game, i can't say I know exactly what you need. Is this going to be FPS like? Just a single wall? Maybe texture mapping?
-
Dungeon crawling. Rogue-like, if you will.
-
Hmmm how does it apply to raycasting? Is this http://en.wikipedia.org/wiki/Roguelike an accurate description? It seems top down to me...
-
Basically, I'm thinking about making a dungeon crawling game. But, I want to be able to corner-peek around walls and stuff. And, yes, it's going to be a top-down.
-
Ok then I'm not sure what you want raycasting for? Could you elaborate a bit?
-
Is it like this?
http://www.ticalc.org/archives/files/fileinfo/226/22637.html
In that game you can see around corners like I think you describe. Am I correct?
Sounds like a cool game!
-
Oooooh i see. The part where he said one wall had me confused for a bit. Is this right?
-
Yeah there are two kinds of raycasting. The one you see in FPSes and the one involving Fog Of War in Blinded by the dark. I have doubts it would be fast enough in BASIC on the graph screen, but it might have decent speed on the home screen. Someone did a home screen raycaster on UTI back in 2004 and it ran at 2 FPS on a SE with no enemy and it was 3D. I assume in 2D it might be a tad faster. I never messed around with raycasting, though.
Also welcome back.
-
Thank you, sir. And, yeah. That's the basic premise of the game.