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.
Show posts MenuQuote from: Snarky on Sun 05/10/2008 14:37:09
Actually, in the US at least, bank deposits up to $100,000 per account are federally insured through FDIC, so even if a bank goes bust, people aren't going to lose their savings.
Quote from: Pumaman
Hmm, it seems that Overlay.CreateTextual automatically creates a 3-pixel border around the text (I think this was done to allow it to draw the text window border where appropriate), so it basically means you'd have to +6 to your width when creating it.
textOverlay = Overlay.CreateTextual(x, y, width + 7, Game.NormalFont, 17238, text);
Quote from: Pumaman
The problem now is that I don't want to risk fixing this in case it then breaks other games where people are relying on the current behaviour. Hmm.
Quote from: monkey_05_06
Hey densming, there is an outstanding request for aligned textual overlays, but in the mean-time you can render a graphical overlay instead.
Overlay *textOverlay;
function ShowTextCentered(String text) {
int x, y, width, height;
width = GetTextWidth(text, Game.NormalFont);
height = GetTextHeight(text, Game.NormalFont, width);
x = (System.ScreenWidth / 2) - (width / 2);
y = (System.ScreenHeight / 2) - (height / 2);
textOverlay = Overlay.CreateTextual(x, y, width, Game.NormalFont, 17238, text);
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.072 seconds with 14 queries.