Jump to content

  • Log In with Google      Sign In   
  • Create Account


Allegro & C++


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 vladmihail   Members   -  Reputation: 309

Like
0Likes
Like

Posted 09 July 2012 - 08:05 AM

Hello there :)

I`am here to ask you a little question.

I like to make games using ASCII characters but i know that the characters are few so i was thinking if i can use ASCII characters and Allegro to make a game.It`s this ok and possible?

Sponsor:

#2 Joge   Members   -  Reputation: 200

Like
0Likes
Like

Posted 02 December 2012 - 03:46 PM

You can use allegro for things like key presses to move an ascii character across the console. But wouldn't it be better if you used allegro's built in window functions, and move from a console to a window and use Bitmaps?

#3 Aldacron   GDNet+   -  Reputation: 3057

Like
1Likes
Like

Posted 02 December 2012 - 07:00 PM

You could certainly use Allegro to make an ASCII game. There's an alternative library called libtcod, which was specifically designed for ASCII games (well, roguelikes, but you can use it for anything). It's built on top of SDL with an optional OpenGL-based renderer. If you were to make an ASCII game with Allegro, you'd likely be implementing many of the same features yourself. For example, libtcod allows you to work with a virtual console buffer, a rather convenient way of handling an ASCII game. In Allegro, you'd either have to implement that on top of the bitmap API, or just work with the bitmap and text API directly. Personally, I'd go with libtcod.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS