eTek World Forums
A community for developers that want to learn and share ideas!

Home » Game Development » Game Programming » ASCII Game (Example game I've been working on for the pawst few weeks)
ASCII Game [message #19] Mon, 02 March 2015 14:20 Go to previous message
lede is currently offline  lede
Messages: 52
Registered: February 2015
Member
Administrator

If you read the book review you can know I've been working on a game engine since I started reading that wonder and inspirational book! Well time for me to move the game development to a new thread and show off some of the cool graphics that will make people jealous of my graphic skills! <--- Total sarcasm!

Anyways here is a status of the current build. The core game engine class has changed from using a linked list to an array of game objects. This was done so that we could allocate a block of continues memory in the hopes to speed up some of the game processing. Still need to do some more tests but for the basic performance it seems to be doing good!

Next the basic ASCII graphics manager is now handling 100% of the output so theoretically we could swap the ASCII graphics engine out with a more modern engine that would render images instead of text. This maybe another step I will take but for now I'm trying to focus more now one game play and AI. Here is an example of what the game is producing at this very basic level:

index.php?t=getfile&id=3&private=0

In the snap shot of the game you can see there is a character in turquoise which is you and then two monsters. One white guy and the other green guy have two different AI systems. The white uses an AI that hows a limited vision so if you get far enough away from him he will stop following you around. The green monster is more of a sleeping AI and when you get close it actives the monster and he will follow you around until either you or his demise. These two AI systems share the same class but just have a different way to handle tracking you. I'm thinking of building a few more AI systems which will include:


  • Hit and run
  • Hit and teleport
  • Projectile Attacks
  • Stop escape


The game does support notifications of you hitting a monster or the monster hitting you. Once you have beaten a monster their experience and treasures are now being rewarded to you at the time of their demise. There are a couple of bugs in the system still which need to be fixed. When you walk behind the monster your character will go invisible. But this is only seen with the monster is dead on the game field.

I've attached the current version so check it out and let me know how it works. This version is as is so please be patient as I work on making it more stable.


  • Attachment: Snappy-0018.png
    (Size: 40.83KB, Downloaded 457 times)
  • Attachment: ugame.zip
    (Size: 28.96KB, Downloaded 193 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Book] Beginning C# Programming with XNA Game Studio
Goto Forum:
  


Current Time: Wed Aug 23 16:08:17 PDT 2017

Total time taken to generate the page: 0.01772 seconds