That Flappy Bird game looked so simple I tried to see how fast I can recreate it. This took 4 or 5 days, playable but a lot left out, like sounds and fancy scene/collision management. Instead I just built it adhoc style all in MainWindow (only 5 methods needed) along with 3 very simple classes to hold geometries (XBPoint, XBRay, XBGap (the pipes)). Also my OpenGL framework and images pulled from the Happy Flappy Bird clone https://github.com/Hipo/happy-flappy-bird.
Maybe you build Flappy Bird too. It’s the 101 of physics games: 1 input, a block, an array of blocks, floor, gravity, collision and drawing. How much and long can that take?
Just one thing, to get it to run on Windows, you need to enable “Use GDI Plus” in the Windows build settings.[/quote]
Why is this defaulted to OFF (disabled) ?
[quote=67128:@Mathias Maes]With RS2012 I ran into an error on EZfont.NewFormattedPic:
On the first line: PlatformNotSupportedException[/quote]
That first line creates an alpha style Picture which isn’t supported for all platforms (I think only Carbon isn’t). Instead you’ll need to create a mask style Picture by simply adding “, 32”.
I’m not sure. Is this the GDI+ issue? Or maybe its a graphics card thing my OpenGL code doesn’t account for. I work only on Mac and don’t have a way to investigate or know about Windows and Linux differences. If there was a crash I could guess but otherwise I can’t think of what’s wrong