Welcome to sunnydale
Download
1 / 10

Welcome to Sunnydale - PowerPoint PPT Presentation


  • 53 Views
  • Uploaded on

Welcome to Sunnydale. a web game with multimedia elements Austin Lee. Multimedia files are large. Loading methods JavaScript HTML frames + scripting ActiveX (IE on Windows only!) Java Macromedia Flash. Technologies Used. PHP 5 mySQL 4.x GD 2.x XHTML 1.0 Transitional XML 1.0

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Welcome to Sunnydale' - nishi


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Welcome to sunnydale

Welcome to Sunnydale

a web game

with multimedia elements

Austin Lee


Multimedia files are large
Multimedia files are large

  • Loading methods

    • JavaScript

    • HTML frames + scripting

    • ActiveX (IE on Windows only!)

    • Java

    • Macromedia Flash


Technologies used
Technologies Used

  • PHP 5

  • mySQL 4.x

  • GD 2.x

  • XHTML 1.0 Transitional

  • XML 1.0

  • JavaScript


Database
Database

  • Only search-related data is stored

  • Locations table

    • name

    • x,y,z position

    • map skill level (visibility)

  • Users table

    • id, name, and password

    • email, creation date, descriptions

  • Frequently changing data or highly configurable data is stored in XML files, not the database



Player data
Player Data

<?xml version='1.0' ?>

<player>

<name>Scare Trolfey</name>

<racefile>Human</racefile>

<tslast>1145659370</tslast>

<location>

<x>0</x>

<y>0</y>

<z>0</z>

</location>

<exp>0</exp>

<money>10</money>

<alignment>0</alignment>

<hp>100</hp>

<hpmax>100</hpmax>

<mp>0</mp>

<mpmax>0</mpmax>

<tp>50</tp>

<tpmax>50</tpmax>

<tpfrac>0</tpfrac>

<att>20</att>

<def>20</def>

<matt>0</matt>

<mdef>0</mdef>

<acc>10</acc>

<ev>20</ev>

</player>


Game php main game page
Game.php (main game page)

  • Check session for login key

  • Read player data from file

  • Run Regen rules

  • Run Movement rules

  • Check if location is registered in DB

  • Run event rules

  • Set timestamp to now

  • Write player data to file

  • Display UI and result(s) of actions


Php and gd
PHP and GD

  • Allows images to be created with programming

  • Image script files can be called like:<img src=“media/images/status.php?hp=100&hpmax=100&tp=30&tpmax=50” />


Future updates
Future updates

  • Completion of core game

    • Interactive GUI

    • Races

    • Skills

    • Combat

    • Items

    • Multiplayer interaction

  • Interactive combat(Flash based?)

  • Total conversion to Flash


Demonstration
Demonstration

http://www.lucidmist.com/sunnydale/

http://www2.lucidmist.com:8080/sunnydale/

http://www2.lucidmist.com:5190/sunnydale/


ad