Jan
15
2009
I enjoyed the classic “Same” game in the past, that little game where you have to collect pieces of the same color in order to clear the board.
It’s a really addictive game and I thought it could be a good game for trying out the iPhone SDK so… I created Puzzle Star!!!
I have changed some things from the original game. The difficulty increases as you progress in the game and so does your score. When you finish you can send your score to a worldwide scoreboard to compete with players around the world!!
I have already sent it to the Apple Store and it’s now waiting for review.
This waiting is killing me!!
[Gallery not found]
2 comments | posted in Projects, iPhone
Dec
3
2008
I am a hardcore C++ fan and I really dislike Objective C.
I decided to take a look to the iPhone SDK and see if I can make some OpenGL programming using pure C++.
I found that it’s really easy to mix both languages in the same project. You can even mix Objective C and C++ code in the same file just by adding the “.mm” extension to your files, instead of “.cpp”.
Using the OpenGL ES example bundled in the SDK I made a wrapper in C++ that receives the iPhone events I need, like input and drawing.
I modified the example so it calls to my wrapper in every drawing and input event and then, the wrapper calls to my pure C++ objects.
I can now concentrate my efforts in writing the logic and drawing methods in pure C++ and see the changes in my iPhone
6 comments | posted in C++, Projects, iPhone