Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Escape! A little text graphics action game

Author
Message
Todd Riggins
19
Years of Service
User Offline
Joined: 29th Oct 2004
Location: Texas, USA
Posted: 3rd Dec 2010 21:44
Escape!

This little action text game pits you in a goblin prison tower where you must try to escape to freedom. On each level of the tower, you must find a key to unlock the exit room door to be able to get to the exit which leads to the next level.

The tower has no windows so everything is dark. You will have a torch that you can turn on and off. You will be able to find the key with the light of your torch. Be aware though! Goblin guards are everywhere. Even though they like to sleep a lot, if you get somewhat close to them they will sense a presence stirring about and wake up. Goblin guards also carry torches. They will chase you if they see you. If you get out of their line of sight or turn off your torch where they can't see you anymore, they will probably give up and go back to sleep.

Whats featured in this code is the Line Of Sight code. I was able to port the code from C code over to *DBPro code that I got off the internet( the link to the internet C code is give in the code comments ). With it, it gave me a nice LOS effect with what the player can see around him with the torch light and also to be able to see any lit up areas from goblin torches.

* I will put the LOS code in the snippets forum.









Click link below to get the source code
ESCAPE! GAME ARTICLE


The game executable is attached in rar format if you don't want to compile the code but rather go straight into play'n da game! Hope somebody might like this. Enjoy!

ExoDev.Com - A Game Development Community Website! Featuring: XBOX360 CONTROLLER LIBRARY

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-19 13:41:07
Your offset time is: 2024-04-19 13:41:07