PHP Classes
elePHPant
Icontem

First Person View: Browse images like a first person view game

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (18)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2010-08-21 (6 years ago) RSS 2.0 feedStarStarStarStar 70%Total: 794 All time: 4,136 This week: 793Up
Version License PHP version Categories
first-person-view 1.0GNU General Publi...4.0Graphics, Games, Content management
Description Author

This class can be used to browse images like a first person view game.

It takes as parameter the definition of a map virtual place with the positions and images that the user would see on in each place of the map depending on the rotation angle.

The class takes the current user position on the map and the rotation angle and determine which image he should be viewing.

It can also determine if the user can go ahead, backwards, left, right, turn right or turn left.

Innovation Award
PHP Programming Innovation award nominee
September 2010
Number 3


Prize: One book of choice by Packt
First person shooters are games that let the player view the game 3D scene from different points of view and angles.

This class is inspired on that concept. It can emulate a virtual world tour by showing a first person view of the world using images that represent the different points of view for each angle that an user may see from each location in that virtual world.

Manuel Lemos
Name: Oscar Dias <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 35
All time rank: 2232152 in Brazil Brazil
Week rank: 1198 Up94 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots  
  • screenshot.jpg
  Files folder image Files  
File Role Description
Files folder imageimages (16 files)
Plain text file example.php Example Usage example
Plain text file fpv.class.php Class First Person View PHP Class

  Files folder image Files  /  images  
File Role Description
  Image file 1-0.jpg Photo Example image
  Image file 1-180.jpg Photo Example image
  Image file 1-270.jpg Photo Example image
  Image file 1-90.jpg Photo Example image
  Image file 2-0.jpg Photo Example image
  Image file 2-180.jpg Photo Example image
  Image file 2-270.jpg Photo Example image
  Image file 2-90.jpg Photo Example image
  Image file 3-0.jpg Photo Example image
  Image file 3-180.jpg Photo Example image
  Image file 3-270.jpg Photo Example image
  Image file 3-90.jpg Photo Example image
  Image file 4-0.jpg Photo Example image
  Image file 4-180.jpg Photo Example image
  Image file 4-270.jpg Photo Example image
  Image file 4-90.jpg Photo Example image

 Version Control Unique User Downloads Download Rankings  
 0%
Total:794
This week:0
All time:4,136
This week:793Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:70%StarStarStarStar
Rank:326