Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
SW Development Course Multiplayer Multimedia Apps on the Web 1 – Getting Started – Possible Applications – What is DimensioneX – Understand dev environment – How to install – Creating a basic multiplayer www.dimensionex.net What do we want to make? Possible Applications: GDR Multiplayer, Adventure Multiplayer, MMORPG Turn-based games Innovative multimedia apps: – Turism – e-Commerce – e-Learning www.dimensionex.net What is DimensioneX It’s a game engine: it makes your software run by doing the basic things, but “parts” are missing (graphics, messages and multimedia elements), also your desired interactions www.dimensionex.net DimX Server Architecture DXW World DXW World DimensioneX (servlet “multiplayer”) Web server (Tomcat) Java Windows / Linux www.dimensionex.net A few Features Simple to use (no downloads nor installs) Web based Sounds/Music Scripting VisualBasic-like language Free hosting 24/7 (www.gamesclan.it) Instant visibility (+13,000 visits/week) for your own little project www.dimensionex.net Practice 1.1 A test tour – Connect to a www.dimensionex.net – English – Online Games – Underworld www.dimensionex.net Working Tools DimensioneX Server (Java+Tomcat+DimX) Text editor (Textpad) Developer’s Reference (PDF) Optional: – Image management (ACDSee) – Image editor (Paint Shop Pro+Anim Pro) www.dimensionex.net How to install Download from: www.dimensionex.net Follow instructions: – Readme.PDF – Installation Manual (online, WIKI) www.dimensionex.net Development environment The DimensioneX folder tree starts here Game pictures and other media files for provided games/demos are here Installed skins for user interface are here DimensioneX java classes and source files are here (for Java developers only!) game descriptions (DXW files) skin descriptions (DXS files) DimX configuration / system files are here www.dimensionex.net Start the server Click Programs/Apache Tomcat/Monitor Tomcat Run the service Navigate to: http://localhost:8080/dimx/ (menu) URL like: http://localhost:8080/dimx/servlet/multiplayer?game=slot www.dimensionex.net Creating a basic Multiplayer Let’s Roll Open www.dimensionex.net world1.dxw in the system folder DXW Format WORLD def. WORLD GUI ROOMS LINKS ITEMS CHARACTERS SCRIPTS END_WORLD www.dimensionex.net DESIGN-TIME Logic RUN-TIME Logic WORLD WORLD NAME IMAGESFOLDER VERSION AUTHOR HELP World 1 /dimx/pics/ 1.5 Cristiano Leoni http://www.dimensionex.net... (body of the game/world) END_WORLD www.dimensionex.net Practice 1.2 edit world1.dxw, restart server Add &view=admin to the URL Click Restart www.dimensionex.net ROOM ROOMS ROOM beach NAME DESCRIPTION IMAGE IMAGE END_ROOMS www.dimensionex.net The beach It is a sunny beach spiaggia1.jpg face image.jpg face =NSEW Practice 1.3 On Google/Images look for 3 suitable scenes Plan how to link them Save in “pics” Right-click, save image as… Edit game and restart www.dimensionex.net LINKS LINKS LINK c1 beach-room2 E MLINK c2 beach-underground NAME pit (more LINKs) END_LINKS www.dimensionex.net D Practice 1.4 Place LINKs! Edit game and restart, test www.dimensionex.net ITEMS ITEMS ITEM box NAME DESCRIPTION POSITION ICON ATTRLIST IMAGE SHOW END_ITEMS www.dimensionex.net a box Just an ordinary box beach icoBox.gif open=0,hideable=0 80x64 box.gif ICON Practice 1.5 Make a box! Edit game, restart and test www.dimensionex.net CHARACTERS CHARACTERS ATTRLIST type=0,Health=10,Strength=1,Experience=1 ' Type da 10 onwards=monsters ' from 1 to 9 humans ' 0 means non-combating robot CHARACTER guy NAME A Guy DESCRIPTION A walking guy. POSITION beach ATTRLIST type=1,Strength=3 IMAGE 120x120 chrSurfer.gif END_CHARACTERS www.dimensionex.net Practice 1.6 Add a character Edit game and restart, test www.dimensionex.net SCRIPTS SCRIPTS EVENT guy.onLook Speak “Hey, what’s up?", “Leave me alone!“ END_SCRIPTS www.dimensionex.net Esercitazione 0.7 Add interactivity Edit game, restart, test www.dimensionex.net Summary Possible Applications What is DimensioneX Understand dev environment How to install Creating a basic multiplayer www.dimensionex.net