PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 62%Total: 893 All time: 3,958 This week: 524Up
Version License PHP version Categories
first-person-view 1.0GNU General Publi...4.0Graphics, Games, Content management


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: 42
All time rank: 2218149 in Brazil Brazil
Week rank: 275 Up24 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  
This week:0
All time:3,958
This week:524Up
 User Ratings  
 All time