Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
Android
Game 28 codes
Home
Android
Game
1 A simple runnable that updates the position of each sprite on the screen every frame by applying a very simple gravity and bounce sim
2 Abstract Sprite
3 Bit Vector
4 Calculate sin^2(x),cos^2(x),tan^2(x)
5 Compute the cross product of two vectors
6 Compute the dot product of two vectors
7 Compute the magnitude (length) of a vector
8 Convenience library to do vector calculations
9 Degree To Radian
10 Distance calculation
11 Extends View to create game board
12 Get Angle for two lines
13 How to implement a Matrix Palette
14 Matrix Operations
15 Matrix Utils
16 Penguin Sprite
17 Quaternion structure
18 Quaternion3d
19 Returns the transpose of a 4x4 matrix
20 Rotate Matrix
21 Snake
22 Tests if the line segment from (X1, Y1) to (X2, Y2) intersects the line segment from (X3, Y3) to (X4, Y4)
23 TicTacToe Game
24 Vector2 Structure
25 Vector2d structure
26 Vector3
27 Vector3 structure
28 Wrapper activity demonstrating the use of the new SensorEvent rotation vector sensor, Sensor#TYPE_ROTATION_VECTOR TYPE_ROTATION_VECTO