Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LittleCodingFox

Pages: [1]
1
General discussions / Re: Android and iOS ports available for testing
« on: March 10, 2014, 04:53:04 pm »
I'd just like to report a bug with the onContentChange method on MainAndroid.cpp

Around lines 318-319:

event.size.width = ANativeWindow_getWidth(states->window);
event.size.height = ANativeWindow_getHeight(states->window);

You're getting the size incorrectly. In certain devices, such as Amazon's Kindle Fire, the window is moved up and resized by the action bar, causing it to e.g., change the size from 1024 height to 1004 height. In this case, however, ANativeWindow will get the old value (1024) while the Rect parameter passed to onContentChange has the right value (1004).

I replaced these lines with the following:

event.size.width = rect->right;
event.size.height = rect->bottom;

2
Graphics / Re: [2.0] Text renders incorrectly
« on: April 05, 2013, 03:13:25 pm »
I figured out the problem. I noticed that other text using the same font worked properly, so I tried moving the object that had the text in that screenshot. Imagine my surprise when I saw that the text would change its shape depending on the position it was being rendered!

So I tried forcing the coordinates to not have any decimal coordinates (convert to int and then float again) and now it works flawlessly!

Rather odd if you ask me. Not sure if you had anyone else with the same problem, but this might be worth investigating, and an easy workaround is simply converting the coordinates of the position to draw in!

3
Graphics / Re: [2.0] Text renders incorrectly
« on: April 05, 2013, 01:49:27 pm »
I tried it in Notepad++ and it renders fine

4
Graphics / [2.0] [Fixed] Text renders incorrectly
« on: April 05, 2013, 12:49:25 pm »
I'm doing some text rendering with this font, and on most computers it works well, but on my new work computer I get this instead: http://i46.tinypic.com/vcrmtf.png I'm using a nVidia 9600 video card.

As you can see the characters are obviously misaligned vertically. Any idea what might be causing this?

5
SFML projects / WorldBase
« on: June 09, 2010, 01:58:34 pm »
WorldBase is a PORPS (Party Online Role Playing Sandbox) i've been working on for over a year and 9 months.

It's still far from being completed, but i have a few screenshots and videos, and I'm using SFML to take care of text rendering, window management, and input.

There's a blog where i post progress reports of the game once or twice a month (when able) at http://littlecodingfox.blogspot.com , where you can find a proper description of the game.

Finally, here's some screenshots and videos:

http://i39.tinypic.com/t8vgps.png
http://i43.tinypic.com/34qocvs.png
http://i41.tinypic.com/6f2zpv.png

http://www.youtube.com/watch?v=7kjzWpkit2I&feature=player_embedded
http://www.youtube.com/watch?v=n9OIdkenGhQ&feature=player_embedded

Pages: [1]