PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 770 All time: 4,148 This week: 1,125Up
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
Picture of Oscar Dias
Name: Oscar Dias <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 34
All time rank: 2220155 in Brazil Brazil
Week rank: 1623 Up122 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  • 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:770All time:4,148
 This week:0This week:1,125Up