Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 16 May 2011
Offline Last Active May 28 2013 01:15 PM

Posts I've Made

In Topic: Cycled (infinite) maps

09 August 2012 - 09:09 AM

I'm developing a 2D "MMO"RPG (still very early) whose main feature is that the world is "spherical" like the Earth xd.
Here is a video demo, where you can see how it works. (0:48 if you dont want wait jeje).
Player1 in PC1 starts walking in right direction, Player2 in PC2 starts walking in left direction, then they find each other...

Hope you like it.

pd: sorry for my english, i'm from Argentina xd.

In Topic: Gui Textbox

17 May 2011 - 12:33 PM

For the font, there should be a function to tell you the height of the font (usually there is one that tells you the height of an entire text). It depends on the rendering library you're using for fonts.

To clip an area I personally use glViewport/glOrtho and not glScissor.

Im using SFML 1.6.
Suppose i can clip the textbox, then how do i draw correctly the text.
Logicaly the basic managment of the textbox is easy, i cant understand how to properly draw the text.