Iwgame Game Engine SDK Programming by Pocketeers Limited Iwgame Game Engine SDK Programming V0.29

Total Page:16

File Type:pdf, Size:1020Kb

Iwgame Game Engine SDK Programming by Pocketeers Limited Iwgame Game Engine SDK Programming V0.29 IwGame Game Engine SDK Programming by Pocketeers Limited IwGame Game Engine SDK Programming v0.29 Developed and maintained by Mat Hopwood of Pocketeers Limited (http://www.pocketeers.co.uk). For support please visit http://www.drmop.com This document is protected under copyright to Pocketeers Limited @2011. Page 1 of 140 IwGame Game Engine SDK Programming by Pocketeers Limited Table of Contents 1.0 IwGame............................................................................................................................................ 1.1 What is IwGame?......................................................................................................................... 1.2 Installing IwGame........................................................................................................................ 1.3 Usage Rights and Warranties....................................................................................................... 1.4 Brief How To on Using IwGame................................................................................................. 1.5 IwGame Concepts........................................................................................................................ 1.5.1 Standard Class Definitions................................................................................................... 1.5.2 Getters and Setters............................................................................................................... 1.5.3 Init / Release......................................................................................................................... 1.5.4 Singletons............................................................................................................................. 1.5.5 Event Notification................................................................................................................ 1.5.6 XOML Mark-up Language.................................................................................................. 1.5.7 Local and Global Resources................................................................................................ 1.6 Example Code and Tutorials........................................................................................................ 2.0 CIwGame Object – The Eye in the Sky........................................................................................... 2.1 Introduction.................................................................................................................................. 2.2 Implementing our own CIwGame............................................................................................... 3.0 CIwGameScene Object – A Place for Actors to Play....................................................................... 3.1 Introduction.................................................................................................................................. 3.2 Creating a Scene.......................................................................................................................... 3.3 Virtual Canvas.............................................................................................................................. 3.4 Scene Object Management.......................................................................................................... 3.5 Scene Extents and Clipping......................................................................................................... 3.6 Scene Camera.............................................................................................................................. 3.7 Potential Colliders and Collision Handling................................................................................. 3.8 Current Scene Concept................................................................................................................ 3.9 Actor Management....................................................................................................................... 3.10 Scene Naming and Finding Scenes............................................................................................ 3.11 Scene Layers.............................................................................................................................. 3.12 Scene Origin.............................................................................................................................. 3.13 Scene Visibility and Active State............................................................................................... 3.14 Scene Transitions....................................................................................................................... 3.15 Creating a Scene from XOML................................................................................................... 3.16 Animating Scene Components................................................................................................... 3.17 Creating a Custom Scene........................................................................................................... 4.0 CIwGameActor Object – Sprites With Brains.................................................................................. 4.1 Introduction.................................................................................................................................. 4.2 Creating Actors............................................................................................................................ 4.3 Creating a CIwGameActorImage................................................................................................ 4.4 Actor Lifetimes............................................................................................................................ 4.5 Actor Naming and Finding Actors............................................................................................... 4.6 Actor Types.................................................................................................................................. 4.7 Moving, Rotating and Spinning Actors....................................................................................... 4.8 Attaching a Visual and an Animation Timeline........................................................................... 4.9 Changing an Actors Colour.......................................................................................................... 4.10 Obeying Scene Extents.............................................................................................................. Page 2 of 140 IwGame Game Engine SDK Programming by Pocketeers Limited 4.11 Actor Layering........................................................................................................................... 4.12 Scene Visibility and Active State............................................................................................... 4.13 Resetting Actors......................................................................................................................... 4.14 Collision Checking.................................................................................................................... 4.15 Creating an Actor from XOML................................................................................................. 4.16 Animating Actor Components................................................................................................... 4.17 Creating a Custom Actor............................................................................................................ 5.0 CIwGameString – String Building Without Fragmentation............................................................. 5.1 Introduction.................................................................................................................................. 5.2 Basic String Building................................................................................................................... 5.3 Comparing Strings....................................................................................................................... 5.4 Stream Style Searching................................................................................................................ 5.5 Getting Strings Values................................................................................................................. 5.5 Other Useful String Tools............................................................................................................ 6.0 CIwGameFile – File System Access................................................................................................ 6.1 Introduction.................................................................................................................................. 6.2 Loading a Local File.................................................................................................................... 6.3 Saving a Local File ..................................................................................................................... 6.4 Loading a Memory Based File..................................................................................................... 6.5 Loading a Remote File................................................................................................................. 6.6 Other Useful File Tools...............................................................................................................
Recommended publications
  • Uila Supported Apps
    Uila Supported Applications and Protocols updated Oct 2020 Application/Protocol Name Full Description 01net.com 01net website, a French high-tech news site. 050 plus is a Japanese embedded smartphone application dedicated to 050 plus audio-conferencing. 0zz0.com 0zz0 is an online solution to store, send and share files 10050.net China Railcom group web portal. This protocol plug-in classifies the http traffic to the host 10086.cn. It also 10086.cn classifies the ssl traffic to the Common Name 10086.cn. 104.com Web site dedicated to job research. 1111.com.tw Website dedicated to job research in Taiwan. 114la.com Chinese web portal operated by YLMF Computer Technology Co. Chinese cloud storing system of the 115 website. It is operated by YLMF 115.com Computer Technology Co. 118114.cn Chinese booking and reservation portal. 11st.co.kr Korean shopping website 11st. It is operated by SK Planet Co. 1337x.org Bittorrent tracker search engine 139mail 139mail is a chinese webmail powered by China Mobile. 15min.lt Lithuanian news portal Chinese web portal 163. It is operated by NetEase, a company which 163.com pioneered the development of Internet in China. 17173.com Website distributing Chinese games. 17u.com Chinese online travel booking website. 20 minutes is a free, daily newspaper available in France, Spain and 20minutes Switzerland. This plugin classifies websites. 24h.com.vn Vietnamese news portal 24ora.com Aruban news portal 24sata.hr Croatian news portal 24SevenOffice 24SevenOffice is a web-based Enterprise resource planning (ERP) systems. 24ur.com Slovenian news portal 2ch.net Japanese adult videos web site 2Shared 2shared is an online space for sharing and storage.
    [Show full text]
  • A Game Engine Designed to Simplify 2D Video Game Development
    A Game Engine Designed to Simplify 2D Video Game Development Miguel Chover ₁ Carlos Marín ₂ ₅ Cristina Rebollo ₃ Inmaculada Remolar ₄ Institute of New Imaging Technologies - Universitat Jaume I. Castellón. Spain. ₁ [email protected][email protected][email protected][email protected] ₅ Corresponding Author. E-mail: [email protected]. Phone Number: +34 616 29 76 65 Abstract In recent years, the increasing popularity of casual games for mobile and web has promoted the development of new editors to make video games easier to create. The development of these interactive applications is on its way to becoming democratized, so that anyone who is interested, without any advanced knowledge of programming, can create them for devices such as mobile phones or consoles. Nevertheless, most game development environments rely on the traditional way of programming and need advanced technical skills, even despite today’s improvements. This paper presents a new 2D game engine that reduces the complexity of video game development processes. The game specification has been simplified, decreasing the complexity of the engine architecture and introducing a very easy-to-use editing environment for game creation. The engine presented here allows the behaviour of the game objects to be defined using a very small set of conditions and actions, without the need to use complex data structures. Some experiments have been designed in order to validate its ease of use and its capacity in the creation of a wide variety of games. To test it, users with little experience in programming have developed arcade games using the presented environment as a proof of its easiness with respect to other comparable software.
    [Show full text]
  • Dragon Magazine #172
    Issue # 172 SPECIAL ATTRACTIONS Vol. XVI, No. 3 August 1991 Welcome to the Underdark 9 Our special section on underground adventuring. Publisher Seeing the Sights in Skullport Ed Greenwood and Steven E. James M. Ward 10 Schend. Skullport: A great place to visit, if your insurance is paid up. Editor The Dragons Bestiary The readers Roger E. Moore 16 Caves have the nastiest things living in them, like these three fine fellows. Fiction editor Barbara G. Young The Ecology of the Galeb Duhr Robert Isaacson 20 Just because it looks like a rock doesnt mean it has to act like one. Assistant editor Dale A. Donovan REGULAR FEATURES Art director Larry W. Smith Role-playing Reviews Allen Varney 26 Where have all the miracles gone? A look at super-hero games and Production staff supplements. Gaye OKeefe Angelika Lokotz The Lay of Droone fiction by William B. Crump Tracey Zamagne 34 The lizards had taken the mountainbut, thanks to the dwarves, they wouldnt enjoy their victory. Subscriptions The Voyage of the Princess Ark Bruce A. Heard Janet L. Winters 41 Alphatia and Thyatis face their doom, and the incredible powers of cinnabar are revealed! US. advertising Roseann Schnering The Role of Computers Hartley, Patricia, and Kirk Lesser 55 The gods are not kind in Darkspyre; if you fail them, humanity dies. U.K. correspondent Into the Spirit of Things Michael DeWolfe and U.K. advertising 66 Spirit and divine magic of the strangest kind for your RUNEQUEST* Bronwen Livermore game. Shining Armor Thomas M. Kane 68 When you care enough to send the very best, put an M1A1 Abrams tank in your TOP SECRETIS/S.I.
    [Show full text]
  • A Game Engine for the Blind
    Bachelor in Computer Science and Engineering 2016/2017 Bachelor Thesis Designing User Experiences: a Game Engine for the Blind Álvaro Cáceres Muñoz Tutor/s: Teresa Onorati Thesis defense date: July 3rd, 2017 This work is subject to the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License. Abstract Video games experience an ever-increasing interest by society since their incep- tion on the 70’s. This form of computer entertainment may let the player have a great time with family and friends, or it may as well provide immersion into a story full of details and emotional content. Prior to the end user playing a video game, a huge effort is performed in lots of disciplines: screenwriting, scenery design, graphical design, programming, opti- mization or marketing are but a few examples. This work is done by game studios, where teams of professionals from different backgrounds join forces in the inception of the video game. From the perspective of Human-Computer Interaction, which studies how people interact with computers to complete tasks [9], a game developer can be regarded as a user whose task is to create the logic of a video game using a computer. One of the main foundations of HCI1. is that an in-depth understanding of the user’s needs and preferences is vital for creating a usable piece of technology. This point is important as a single piece of technology (in this case, the set of tools used by a game developer) may – and should have been designed to – be used on the same team by users with different knowledge, abilities and capabilities.
    [Show full text]
  • Games and Creativity in Education and Training
    GAMES AND CREATIVITY IN EDUCATION AND TRAINING EDITORS Mario Barajas Anna Trifonova Games and Creativity in Alessandra Delli Veneri Frédérique Frossard Barbara Mellini E ducation and T raining Image: David Castillo Dominici / FreeDigitalPhotos.net Image: Fridericiana Editrice Universitaria Games and Creativity in Education and Training (GACET’11) Rome, Italy, 17-18 November, 2011 EDITORS: Mario Barajas, Anna Trifonova, Alessandra Delli Veneri, Frédérique Frossard, Barbara Mellini FEU Universitat de Barcelona Università di Roma La Sapienza Centre for Advanced Software Technology Limited Università degli Studi di Napoli Federico II Universidad Complutense de Madrid Universitatea din Bucuresti Fridericiana Editrice Universitaria http://www.fridericiana.it/ This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/3.0/ or send a letter to: Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. First Italian Edition November 2011 Mario Barajas (editor): Games and Creativity in Education and Training. Mario Barajas, Anna Trifonova, Alessandra Delli Veneri, Frédérique Frossard, Barbara Mellini (editors) Napoli : Fridericiana Editrice Universitaria, 2011 ISBN 978-88-8338-118-8 1 Game-based learning 2. Digital games I. Titolo Updates: ——————————————————————————————————————————————— 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Index 1 Preface 3 Conference Organisers 5 Moderators and
    [Show full text]
  • The Shiva Game Engine (Multiplatform 3D Game Engine)
    Code Ninja Competition The Shiva Game Engine (Multiplatform 3D Game Engine) www.stonetrip.com Sam Redfern www.it.nuigalway.ie/ sredfern ~ www.psychicsoftware.com Shiva: General Overview The Shiva IDE Overview of the Shiva API Flow of Control Key game/API entities Miscellaneous useful/important topics Shiva Game Engine (www.stonetrip.com) A closed-source games engine ● well designed and elegant to use ● excellent GUI/HUD editing and animation system ● exposes 'just enough' thru its API (this is a good thing) ● reasonable price full licence (~€200) ● deploys to: iOS, Android, Web plugin, Windows, Mac OSX, Linux, Wii, and more ● free version can do Web deployment + watermarked other versions for testing only Shiva: platforms/"authoring tool" Export executable app. immediately or produce project for further integration with 3rd party SDKs etc. .stk file = shiva package exported from the main development environment iOS/OSX: Xcode projects The precompiled shiva library Engine-to-script bridge ObjectiveC-to-C++ bridge Your Lua game code as C++ classes (optional) Shiva header files 3rd party library headers Standard resources for Xcode project (icon file etc.) Your game's .stk file Android: Eclipse projects 3rd party java/android files main java/android project files Your game's .stk file shiva header files, engine-to-script bridge and C++-to-java bridge Your Lua game code as C++ classes (optional) the precompiled shiva library is in here Standard android project resources in here (icon file, etc.) Some of my own Shiva games ● Since Feb 2011
    [Show full text]
  • User Manual V1.61.1 Table of Contents Introduction 7 Chapter I: the Basics 9
    By Chris Burton User Manual v1.61.1 Table of Contents Introduction 7 Chapter I: The Basics 9 1. Setting up 10 1.1. Installation 11 1.2. Running the demo games 13 1.3. The Game Editor window 14 1.3.1. The New Game Wizard 15 1.3.2. The Scene Manager 16 1.3.3. The Settings Manager 23 1.3.4. The Actions Manager 25 1.3.5. The Variables Manager 26 1.3.6. The Inventory Manager 27 1.3.7. The Speech Manager 29 1.3.8. The Cursor Manager 30 1.3.9. The Menu Manager 31 1.4. Preparing a 3D scene 32 1.4.1. Adding a PlayerStart 33 1.4.2. Adding visuals 34 1.4.3. Adding colliders and/or a NavMesh 35 1.4.4. Adding cameras 36 1.4.5. Adding interactivity 37 1.5. Preparing a 2D scene 38 1.5.1. Adding a 2D PlayerStart 40 1.5.2. Adding visuals 41 1.5.3. Adding a 2D NavMesh 42 1.5.4. Adding a Sorting Map 43 1.5.5. Adding 2D cameras 46 1.5.6. Adding interactivity 47 1.6. Preparing a 2.5D scene 48 1.6.1. Adding a PlayerStart 49 1.6.2. Adding backgrounds and cameras 50 1.6.3. Adding colliders and/or a NavMesh 52 1.6.4. Adding scene sprites 54 1.6.5. Adding interactivity 55 1.7. Updating Adventure Creator 56 1.8. Minimally-importing Adventure Creator 57 2. Input and navigation 58 2.1.
    [Show full text]
  • Mobile Game Arch D3.1 21122011 PU Version: 1.1
    Consortium groups the following Organizat ions: Partner Name Short name Country JCP-CONSULT SAS JCP FR DEUTSCHE TELEKOM AG DTAG D INTERDISCIPLINARY INSTITUTE FOR BROADBAND IBBT B TECHNOLOGY TECHNISCHE UNIVERSITAET MUENCHEN TUM D KUNGLIGA TEKNISKA HOEGSKOLAN KTH S ADVA AG OPTICAL NETWORKING ADVA D ERICSSON AB EA S ERICSSON TELECOMUNICAZIONI TEI I ACREO AB. ACREO S MAGYAR TELEKOM TAVKOZLESI NYILVANOSAN MAGYAR H MUKODO RESZVENYTARSASAG TELEKOM “Mobile Games Architecture: State of theRT Art of the SLOVAK TELEKOM AS SLOVAK SK European Mobile Games IndustryTELEKOM” UNIVERSITY OF ESSEX UESSEX UK D3.1 Abstract: Document to be considerate as Word Template for all deliverables Mobile Game Arch_D3.1_21122011_PU Version: 1.1 Last Update: 21.12.2011 Distribution Level: RE ••• Distribution level PU = Public, RE = Restricted to a group of the specified Consortium, PP = Restricted to other program participants (including Commission Services), CO= Confidential, only for members of the OASE Consortium (including the Commission Services) “The research leading to these results has received funding from the European Community's Seventh Framework Programme (FP7/2007-2013) under grant agreement n° 249025” Partner Name Short Name Country JCP-CONSULT JCP FR European Game Developers Federation EGDF SW NCC SARL NCC FR NORDIC GAME RESOURCES AB NGR SW Abstract: The authors of this paper have started to compile an accurate overview of the mobile games industry in the fourth quarter of 2011. The facts, observations, and analysis in this document are intended to feed the discussions for the first Mobile Game Arch Workshop, to be held in Paris on December 7, 2011. It is the authors’ intention to continue this work with, hopefully, a growing number of knowledgeable contributors.
    [Show full text]
  • Digital Pathways Programme
    DIGITAL PATHWAYS PROGRAMME PATHWAYS DIGITAL To find out more about the project visit digitalpathways.eu or contact the Project Co-ordinator at PROGRAMME H2 Learning The Digital Exchange, Crane Street, Dublin 8 [email protected] 2014-2-IE-IE01-KA205-008473 Project Title: Digital Skills Pathways for Youth across Europe (Digital Pathways) Project Number: 2014-2-IE-IE01-KA205-008473 Project Duration: February 2015 – January 2017 Digital Pathways Programme Contents Programme Description 1 Story of the Programme 3 The Young People Involved 4 Workshop Activities 4 MODULE PLANS Introduction and Team building Module 9 Film Module 10 Digital Image Editing Module 13 Stop Motion Animation Module 14 2D Animation Module 16 Sound Module 18 Social Media Module 20 Game Making Module 21 SESSION PLANS Introduction and Teambuilding - Session 1 25 Film Session Plan 1 28 Film Session Plan 2 29 Film Session Plan 3 30 Film Session Plan 4 32 Digital Image Editing Session Plan 1 34 Stop Motion Animation Session Plan 1 36 Stop Motion Animation Session Plan 2 38 2D Animation Session Plan 1 40 2D Animation Session Plan 2 42 Sound Session Plan 1 44 Sound Session Plan 2 46 Social Media Session Plan 1 48 Game Making Session Plan 1 53 Programme Description The Digital Pathways for Youth across Europe (called Digital Pathways in short) is a project funded by Léargas1, the Irish National Agency for the Erasmus + Programme. The programme focuses on developing young people’s digital literacy skills in an out-of-school context by providing them with a series of structured learning activities.
    [Show full text]
  • Software for Creating Games Free Download
    Software for creating games free download Game Maker, free and safe download. Game Maker latest version: Create your own computer games. Have you ever Alternative apps · Report software. Thanks to these awesome free game development software tools, a game that might've required one year Download — Game Maker: Studio. The 3D Game Builder is a tool for 3D game creation and environments simulation. It uses the RAD (Rapid Application Development) concept and allows a quick. If you want to make your own games, this is the program to try first. Game Maker installs quickly and launches automatically, starting up by generating a new. Download GameSalad Creator for free to get the world's fastest game design engine and cross- platform publishing tool. Learn to make and publish hit games on. Game Maker is a powerful tool that allows you to create your own games in simple format This program is free and totally functional even though it does offer a. Open source game creation software: No programming or coding is required! Make HTML5 and natives games for Windows, Linux (Ubuntu) and Mac OS X. Quickly build and share your games on mobile multi-language; Games gallery; Download Your games are also based on robust, free & open source technologies. Try for FREE today! "GMS 2 is absolutely amazing and I cannot get over how great this software is "I would probably not be where I am without Game Maker". Game Maker Free Download software setup in single direct link. Design and create interesting games with Game Maker. Creating games was. Indie game making and 3D video game design with indie game development software and tools.
    [Show full text]
  • A New Multiplayer Environment for Creating Adventure Games
    International conference on Intelligent Systems, Data Mining and Information Technology (ICIDIT’2014), April 21-22, 2014 Bangkok (Thailand) A New Multiplayer Environment for Creating Adventure Games David Gouveia, and Carlos Vaz de Carvalho interactions were handled outside the game, on the web Abstract—Nostalgia Studio is an extension of project SELEAG platform. whose goal was to evaluate the use of serious games for learning Although Time Mesh was originally meant to be played history and social relations with an extensible multiplayer online autonomously by students in their free times, the game also game based on collaboration and social interaction. The game that ended up being tested and used in a classroom context, and has was developed was a graphic adventure game known as Time Mesh which managed to achieve very positive results, but due to technical already been played by over 1.000 different users across constraints, some of the initial goals could not be explored in depth. several European countries, often as part of school activities. This article presents the first results of the implementation of this In general, results have been positive in terms of children game editor and engine. enjoyment. Nostalgia Studio is an extension of project SELEAG and Keywords—adventure games, game engine, game editor, game- solves the technical constraints of that environment. This based learning. article presents the first results of the implementation of this game editor and engine. I. INTRODUCTION HE Project SELEAG—Serious Learning Games—was an II. ADVENTURE GAMES TEuropean project created to evaluate the use of serious Video games can be categorized under a multitude of games for learning history, culture and social relations, genres, such as action, adventure, role-playing, simulation, or through the implementation of an extensible, online, multi- strategy, depending on their gameplay and interaction styles.
    [Show full text]
  • Technical Paper
    Multidisciplinary Senior Design Conference Kate Gleason College of Engineering Rochester Institute of Technology Rochester, New York 14623 Project Number: P19002 Gamified Rehabilitation for Independent Practice G.R.I.P. Rhythm Game Anup Jonchhe Forrest Shooster Ken Nepomuceno Biomedical Engineering Biomedical Engineering, Biomedical Engineering Game Design and Development Dominic Arcoraci William Bates Computer Engineering Computer Engineering Abstract After implantation of a hand-based prosthetic, transradial amputees require practice to learn how to effectively use their new device. GRIP (Gamified Rehabilitation for Independent Practice) is a novel rhythm game produced with the goal of providing amputee patients an engaging and challenging means of practice for learning movements with their new prosthetic at home. The game takes design influence from past successful rhythm games, with tracks for each degree of freedom that contain notes to a corresponding song. Similar to these games, notes must be hit to improve score and measure performance. To better serve the games purpose, GRIP introduces a novel slider bar system that enables notes to be placed vertically on each degree of freedom track, dictating the position on the prosthetic required to hit a given note. Performance data including score, practice time, and raw positional data are recorded to allow for analysis of user performance using metrics like stability, percent overshoot, and lag time. Testing made possible by the development of a glove-like controller that simulates input from a prosthetic user. The game is designed to run on standard desktop PCs, and will be able to eventually interface directly with the DEKA LUKE arm. Introduction There are approximately 1.9 million amputees in the United States.
    [Show full text]