Newer
Older
Import / applications / RocketMan / Documentation / Notes.rtf
{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
{\fonttbl\f0\fnil\fcharset0 Monaco;\f1\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;\red41\green81\blue169;\red0\green116\blue0;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs20 \cf0 \
Ideas:\
-------\
\
- Game ideas\
\
  - 'The Code'\
  \
  	- Safe picking game\
	- Barrels unlock with more correct combinations\
\
\
  - Sokoban\
  \
  	- good 3D looking graphics\
	- animations\
	- puzzle editor - need to provide a solution - puzzle verifier\
	- then other people can download new puzzles and post best solutions\
  \
  \
  - Sukoku\
\
  	- online highest scores (fastest times)\
	- need puzzle numbering based on the random seed I guess\
  	- hand drawn pencil numbers\
\
  \
  - Rocket Man\
 \
    - MiniMap\
    - 2 smoke sprites\
    - sprite lists\
    - order the sprites\
\
    - 2 player mode?\
  \
    - goal\
\
\pard\pardeftab720\ql\qnatural

\f1\fs24 \cf0 \
Games types:\
\
	Game Platform:\
\pard\pardeftab720\ql\qnatural
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://unity3d.com/"}}{\fldrslt \cf2 \ulc2 http://unity3d.com/}}\cf0 \ulnone \
\
	Traditional Mobile Games:\
		Cross-platform. J2ME based games, major games vendor:\
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.gameloft.com/"}}{\fldrslt www.gameloft.com}}\cf0 \ulnone  (Ubi sub-company)\
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.in-fusio.com/"}}{\fldrslt www.in-fusio.com}}\cf0 \ulnone \
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.glu.com/"}}{\fldrslt www.glu.com}}\
\pard\pardeftab720\ql\qnatural
\cf0 \ulnone \
	High-Performance Games platform:\
		Symbian(n-gage)\
		Windows Mobile\
		BREW platform.\
\
	Small/Mini Games base camp:\
		most games are Flash/shockwave based.\
\pard\pardeftab720\ql\qnatural
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.miniclip.com/games/en/"}}{\fldrslt http://www.miniclip.com/games/en/}}\cf0 \ulnone \
		Some pretty interesting game:\
		{\field{\*\fldinst{HYPERLINK "http://www.miniclip.com/games/bloxorz/en/"}}{\fldrslt \cf2 \ul \ulc2 http://www.miniclip.com/games/bloxorz/en/}}, even better than sokoban!\
\
	Web Game, most javascript and pic driven\
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.gameforge.de/"}}{\fldrslt http://www.gameforge.de/}}\cf0 \ulnone \
		{\field{\*\fldinst{HYPERLINK "http://www.gameforge.de/content/view/24/23/lang,en/"}}{\fldrslt \cf2 \ul \ulc2 http://www.gameforge.de/content/view/24/23/lang,en/}}\
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.gameforge.de/content/view/131/23/lang,en"}}{\fldrslt http://www.gameforge.de/content/view/131/23/lang,en}}\cf0 \ulnone \
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.gameforge.de/content/view/84/23/lang,en"}}{\fldrslt http://www.gameforge.de/content/view/84/23/lang,en}}\cf0 \ulnone \
\
	Some Chinese Web Game operator:\
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.qilongji.com/"}}{\fldrslt http://www.qilongji.com/}}\cf0 \ulnone \
\
		And check out the players and online amount, there are 4 servers here, each has over or around 20000 active players and online players is between 2000-4200.\
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.duniu.com/c_1295.htm"}}{\fldrslt http://www.duniu.com/c_1295.htm}}\cf0 \ulnone \
\
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://zq.9wee.com/"}}{\fldrslt http://zq.9wee.com/}}\cf0 \ulnone \
		Register Players: 202,383, online players: 9143\
\
	New Games carrier:\
		Facebook plug-in Games vendor:\
\cf2 \ul \ulc2 		{\field{\*\fldinst{HYPERLINK "http://www.playfish.com/"}}{\fldrslt http://www.playfish.com/}}\cf0 \ulnone \
		Some games they built on Facebook:\
		{\field{\*\fldinst{HYPERLINK "http://www.playfish.com/?page=game_braingame"}}{\fldrslt \cf2 \ul \ulc2 http://www.playfish.com/?page=game_braingame}}\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural

\f0\fs20 \cf0 \
\
\
iPhone Ref Docs\
---------------\
	{\field{\*\fldinst{HYPERLINK "http://developer.apple.com/iPhone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ApplicationEnvironment/ApplicationEnvironment.html"}}{\fldrslt iPhone Application Programming Guide: The Core Application}}\
	{\field{\*\fldinst{HYPERLINK "http://developer.apple.com/documentation/Cocoa/Conceptual/CoreAnimation_guide/Introduction/Introduction.html"}}{\fldrslt Core Animation Programming Guide: Introduction to Core Animation Programming Guide}}\
	{\field{\*\fldinst{HYPERLINK "http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html"}}{\fldrslt Memory Management Programming Guide for Core Foundation: Ownership Policy}}\
\
iPhone Related\
--------------\
	http://www.slideshare.net/360conferences/accelerometer-and-opengl\
  \
Code Snippets\
-------------\
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
{\field{\*\fldinst{HYPERLINK "http://graphics.stanford.edu/~seander/bithacks.html#IntegerLogObvious"}}{\fldrslt \cf0 Bit Twiddling Hacks}}\
\pard\tx480\pardeftab480\ql\qnatural\pardirnatural
\cf3 \CocoaLigature0 \
// OpenGL name for the sprite texture\
GLuint spriteTexture;	\cf0 \
\cf3 CDSoundEngine *soundEngine;\cf0 \
\cf3 unsigned int *spriteData;\cf0 \
\cf3 \
//Use a basic low-pass filter to only keep the gravity in the accelerometer values\
accel[1] = acceleration.y * kFilteringFactor + accel[1] * (1.0 - kFilteringFactor);\
accel[2] = acceleration.z * kFilteringFactor + accel[2] * (1.0 - kFilteringFactor);	\
\pard\tx480\pardeftab480\ql\qnatural\pardirnatural
\cf0 \
\pard\tx480\pardeftab480\ql\qnatural\pardirnatural
\cf3 // Sets up matrices and transforms for OpenGL ES\cf0 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural\pardirnatural
\cf0 \CocoaLigature1 \
\pard\tx480\pardeftab480\ql\qnatural\pardirnatural
\cf3 \CocoaLigature0 //Initialize OpenGL states\
glBlendFunc(GL_ONE, GL_SRC_ALPHA);\cf0 \
\cf3 glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);\cf0 \
\cf3 glBlendFunc(GL_ONE, GL_ONE);\cf0 \
\cf3 glBlendFunc(GL_ONE, GL_ZERO);\cf0 \
\cf3 glEnable(GL_BLEND);\cf0 \
\cf3 glFlush();\cf0 \
\cf3 // Clears the view with black\cf0 \
\cf3 glClearColor(0.0f, 0.0f, 0.0f, 1.0f);\cf0 \
\cf3 glDisable(GL_BLEND);\cf0 \
\cf3 glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);\cf0 \
\cf3 glEnable(GL_TEXTURE_2D);\cf0 \
\cf3 glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);\cf0 \
\cf3 glEnableClientState(GL_VERTEX_ARRAY);\cf0 \
\cf3 glEnableClientState(GL_TEXTURE_COORD_ARRAY);\cf0 \
\cf3 glOrthof(-1.0f, 1.0f, 1.5f, -1.5f, -1.0f, 1.0f);\cf0 \
g\cf3 lRotatef(3.0f, 0.0f, 0.0f, 1.0f);\cf0 \
\cf3 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);	\cf0 \
\cf3 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);\cf0 \
\cf3 glClearColor(0.5f, 0.5f, 0.5f, 1.0f);\cf0 \
\cf3 \
glVertexPointer(2, GL_FLOAT, 0, squareVertices);\
glEnableClientState(GL_VERTEX_ARRAY);\
glColorPointer(4, GL_UNSIGNED_BYTE, 0, squareColors);\
glEnableClientState(GL_COLOR_ARRAY);\
glRotatef((spriteLocation.x-160.0) / 50.0, 0.0f, 0.0f, 1.0f);\
\
\
}