Tuesday, November 15, 2011

Phase 3: Final Project Proposal

For my final project I'll be using the Unity Game Engine to create a virtual environment for my MMMORG game framework.

Unity will deliver the physics of the game through the Augmented Reality View I'll be setting up soon.

I need to figure out a way to convert Location data from phone into the unity engine (which is possible) and have two phones moving two characters in a bluetooth network environment.  I think if I network through the unity engine and Xcode simultaneously I'll probably have the best results.

The camera orientation in unity will be determined by the "Attitude" of the phone (gyro, accellerometer) and shooting vectors will be the normal of the video viewfinder.

creating a map overlay using the coreData and SQLite with another phone

exchanging xyz data through bluetooth

create a basic server to handle game wide data exchange.



My final essay will be about my experience with this insane amount of work, my intentions with the technology, and how I foresee this gaming system progress technologically, artistically and socially.

Here are some screen captures:

The quality is awful but I'll make better ones soon.

















I'm currently experimenting with Xcode and rebuilding source code projects from:

iOS Developer Library

among other places...

Lots of resources.........  I'll reorganize soon.


Xcode Apps: How to create our own delegate for any class in iPhone?
Core Data Tutorial: Getting Started | Ray Wenderlich
Game Kit Data Send/Receive Demo Project | Learn & Master Cocos2D Game Development
Conway’s Game of Life Painted with Incoming Video (Core Image Tut) | Indie Ambitions
IPhone Tutorials « Esramkumar’s Blog
3DAR - Getting Started
Head First into Unity with UnityScript - Unify Community Wiki
UNITY: State of Social (Panel)
Unity 3D Assets/Prefabs Collection - Proper - CGPersia Forums
Head Tracking for Desktop VR Displays using the WiiRemote - YouTube
Georg Klein Home Page
Map Kit Framework Reference
SmartFoxServer: massive multiplayer game server for Flash, Unity 3D, Silverlight, iPhone games, MMO, virtual worlds and communities
Dastardly Banana Productions - FPS Weapons Package
Array based Object Placement Tool (Editor Extension)
mel wiki - - Your Maya mel / Python / API / scripting resource on the web -
Transitioning to ARC Release Notes
Black Art of 3D Game Programming, Chapter 10: 3D Fundamentals - Dpfileswiki
Install json-framework | Mike Zupan's Random Blog
What do I need to get the Layar Player to work in my iPhone app? : Layar Developer Support
http://iphonefall2010.crowdvine.com/system/talks/presentations/000/015/298/JRPowers_CoreMotion.pdf?1289428985
AR Landscape/Draft - Points of Interest
Gyroscope apps and games
camera - iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly? - Stack Overflow
/ - zxing - Multi-format 1D/2D barcode image processing library with clients for Android, Java - Google Project Hosting
ZBar bar code reader
Teragon Audio: Developer Tools
uLink Developer Site - Tools - uCollab
How to Build and Test an iPhone App that Uses the Accelerometer - O'Reilly Answers
iPhone 4 Gyro Control in Unity | Quick Fingers
ios - Compensating compass lag with the gyroscope on iPhone 4 - Stack Overflow
Game Kit Programming Guide: Peer-to-Peer Connectivity
Technical Q&A QA1753: Technical Q&A QA1753
Core Location Framework Reference
Xcode 4.2 - Shake and Break iPhone app [HOW-TO] - YouTube
Rory Lewis, Rory, Dr. Lewis, Rory Lewis Band, Xcode, Storyboarding
BuildBot

Pauls Online Notes : Calculus III - Quadric Surfaces
Lines - Planes - Equations - Distances - Angles
GKPeerPickerController Class Reference
FLARManager: Augmented Reality in Flash | transmote speaks...
WikiStart/en - Spark project
Apple GameKit Bluetooth Integration Tutorial
flex - Completing a socket connection across an intranet or internet - Stack Overflow
Finding the current location in your mobile app using Geolocation | Gregs Ramblings
Location Labs Launches Advanced Mobile Cloud Platform | Cloud Computing Journal
Extending Adobe AIR | Adobe Developer Connection
Adobe Flex Cookbook
Adobe Flash Platform * Basics of user interaction
Adobe Flash Platform * Touch, multitouch and gesture input
Components | Adobe Developer Connection
Report: iPhone Applications Are Getting Cheaper | TechCrunch
Learning Objective-C: A Primer
Cocoa Source Code - Matt Legend Gemmell
iPhone Development: Drawing a HUD Display in OpenGL ES
objective c - How do I use UIImagePickerController just to display the camera and not take a picture? - Stack Overflow
ArcGIS iPhone API - Creating a New Xcode Project
Debugging peer-to-peer and wifi apps on the iPhone « Talk Funnel
Game kit is going to be a pain to test. - MacRumors Forums
iPhone Bluetooth Programming
iPhone Software Development: Sample Source Code : iPhone OS 3.0 peer to peer bluetooth connectivity
Bluetooth P2P connection - iPhone Dev SDK Forum
Beginners Guide to Objective-C Programming
Object-Oriented Programming with Objective-C: Introduction
DevMaster.net - A Beginner's Guide to Creating a MMORPG
SQL Introduction
What is Required When Building An MMORPG Server? - DevMaster.net Forums
Network Programming: Chapter 7 - iPhone SDK Application Development - O'Reilly Media
How to Socket Connection? - iPhone Dev SDK Forum

Tuesday, November 8, 2011


VIDEO FILES FAILED, HAVE TO REDO ASSIGNMENT


Wander like a Situation



The camera rigged to a kite casts an omniscient view upon the wandering sailboat.  If one disregards the  existence of the camera rig, then the subject appears to be alone in an empty world.  The viewer become's an omniscient voyeur who's own personal experience is tied arbitrarily to their position within this dynamic.

I would like to walk from one end of the city to the other, probably along the coast, with a bunch of helium balloons rigging a digital camera following us throughout my journey.  I suppose I could track my route with a gps and over lay the video feed to a view on google earth.


Tuesday, October 25, 2011

Phase 2: Organizing Chaos

https://docs.google.com/document/d/1WPXiCihhQ_pssGhpzSauYh3Wi2QZxVk-JFR2nS_0Xzc/edit?hl=en_US


























Core Data Variable Matrix Spreadsheet (first draft)- Creating matrices that lay out the specific actions, functions, attributes, settings and numerical data involved with creating variables utilized by objects within Xcode has permitted me to really comprehend the logic pattern construction and organization of objective c programming.  









Cocoa: delegation and memory management.




Model-View-Controller—This design pattern governs the overall structure of your app.
Delegation—This design pattern facilitates the transfer information and data from one object to another.
Target-action—This design pattern translates user interactions with buttons and controls into code that your app can execute.
Block objects—You use blocks to implement callbacks and asynchronous code.
Sandboxing—All iOS apps are placed in sandboxes to protect the system and other apps. The structure of the sandbox affects the placement of your app’s files and has implications for data backups and some app-related features.












Applicable Sample Codes
how to successfully authenticate using GameKit (iOS 4.2)http://developer.apple.com/library/ios/#samplecode/GKAuthentication/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010933

Proper use of region monitoring, significant location changes, and handling location events in the background on (iOS iOS 4.3 or later):
http://developer.apple.com/library/ios/#samplecode/Regions/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010726

demonstrates using a CLGeocoder instance to perform forward and reverse geocoding on strings and dictionaries. The application also includes an example distance calculator that will display the distance between two placemarks:
http://developer.apple.com/library/ios/#samplecode/GeocoderDemo/Introduction/Intro.html#//apple_ref/doc/uid/DTS40011097

Gang of 4 book...? - On Cocoa obj. c coding purchase?




bookmarks:




Pauls Online Notes : Calculus III - Quadric Surfaces
Lines - Planes - Equations - Distances - Angles
GKPeerPickerController Class Reference
FLARManager: Augmented Reality in Flash | transmote speaks...
WikiStart/en - Spark project
Apple GameKit Bluetooth Integration Tutorial
flex - Completing a socket connection across an intranet or internet - Stack Overflow
Finding the current location in your mobile app using Geolocation | Gregs Ramblings
Location Labs Launches Advanced Mobile Cloud Platform | Cloud Computing Journal
Extending Adobe AIR | Adobe Developer Connection
Adobe Flex Cookbook
Adobe Flash Platform * Basics of user interaction
Adobe Flash Platform * Touch, multitouch and gesture input
Components | Adobe Developer Connection
Report: iPhone Applications Are Getting Cheaper | TechCrunch
Learning Objective-C: A Primer
Cocoa Source Code - Matt Legend Gemmell
iPhone Development: Drawing a HUD Display in OpenGL ES
objective c - How do I use UIImagePickerController just to display the camera and not take a picture? - Stack Overflow
ArcGIS iPhone API - Creating a New Xcode Project
Debugging peer-to-peer and wifi apps on the iPhone « Talk Funnel
Game kit is going to be a pain to test. - MacRumors Forums
iPhone Bluetooth Programming
iPhone Software Development: Sample Source Code : iPhone OS 3.0 peer to peer bluetooth connectivity
Bluetooth P2P connection - iPhone Dev SDK Forum
Beginners Guide to Objective-C Programming
Object-Oriented Programming with Objective-C: Introduction
DevMaster.net - A Beginner's Guide to Creating a MMORPG
SQL Introduction
What is Required When Building An MMORPG Server? - DevMaster.net Forums
Network Programming: Chapter 7 - iPhone SDK Application Development - O'Reilly Media
How to Socket Connection? - iPhone Dev SDK Forum


Open Source Web And Mobile Maps | Web & Mobile Application Development
Esri - The GIS Software Leader | Mapping Software and Data
www.adobe.com/devnet-apps/flex/tourdeflex/web/
nctc.fws.gov/csp/oilspill/training/gps/ArcGIS Mobile/ArcGIS_Mobile_User_Guide.pdf
ryanstewart/GpxAS3 - GitHub
Adobe AIR * iOS Settings
How to use Adobe's iPhone Packager without an Apple Developer Subscription
000webhost.com Members Area
Website Builder
ccoenraets/flex-spring-mobile-testdrive - GitHub
Google Maps API for Flash - Google Code
help.adobe.com/en_US/flex/mobileapps/developing_mobile_apps_flex.pdf
Flex in a Week video training | Adobe Developer Connection

phase 2


Working with Files in Objective-C - Techotopia
C# Operators (C#)
ellipsoid parametric equations - Wolfram|Alpha
An Introduction to Objective-C for .NET Programmers
GpsPasSion Forums - GPS altitude : wgs84 / msl / geodetic corrections
How to Measure Altitude in iPhone | iPhone Tutorial | iPhone iOS4 iPad SDK Development & Programming Blog
Accelerometer - Wikipedia, the free encyclopedia
Accelerometer angle with phone laying on back? - iPhone Dev SDK Forum
Can you calibrate N900 accelerometer? [Archive] - maemo.org - Talk
How do you use accelerometer measure tilt angle
finding angle in cell phone using accelerometer
iPhone docs in Xcode - iPhone Dev SDK Forum
iPhone from A Game Developer’s Perspective: Objective C | Games from Within
Data Management - iOS Technology Overview - Apple Developer
iPhone SDK Tutorial: Reading data from a SQLite Database | dBlog.com.au
Writing SQL Queries: Let's Start with the Basics
Xcode 4 User Guide: About Xcode 4
Cocoa Fundamentals Guide: Introduction
Using Core Data with iCloud Release Notes
SQLite vs. Core Data - CocoaDev Forums
Mobile accelerometers and gyroscopes explained - O'Reilly Answers
iPhone - detecting motion with gyroscope/accelerometer - Stack Overflow

Debug


Working with Static Analyzer in Xcode 3.2 - O'Reilly Answers
Cocoa Fundamentals Guide: Cocoa Design Patterns
B e n j a m i n · M a r r a

Reading Response! NEED TO DO LUCAS!

Tuesday, September 27, 2011

Phase 1 - Locative Game Project



Aphturr Eigh-Paac Eel Lips 
(A Lazy Working Title)


A Seemingly Complete Flowchart 
for the Entire System of Programs



Theme: Post Apocalyptic Anarchy: “Road Warrioresque” …  (A more realistic scenario than Zombies.  Come On Now!
Applications Needed:

Work in Progress in Adobe Flashbuilder 4.5.1 with Adobe AIR,
ArcGIS Desktop 10, OpenScales (a geologging software)
*Basically ArcGIS has all of the mapping info and Flashbuilder has
all the coding info to get ArcGIS to do cool stuff.  It's just so much work!
Worth it!

             Every player can be either on their own (go rogue) or team up (Clan) with others. It's a wild, dangerous, futuristic, second life where one's phone allows them to escape (even while one's going about their monotonous, generic day) to compete with the rest of the user network community for a title along the lines of “The Wildest Wandering Weapon Wielding Warrior” within the game's community (Experience Points), Kills, and whatever other stats determine rankings. Aside from the general anarchy in the game in which I'd like to create for the players, there could/would be side (secret) missions to allow for experience and inventory growth even if few people are in the game field (close proximity to a user when they're linked in). These might need to be user created, democratic user driven forum decisions that effect the players who have to “try to survive” in their respective home towns/cities. Every other player is an enemy unless the two parties agree to clan up together. It's likely that after one user “kills” another with the Bluetooth P2P locative data exchange based “attack algorithm” (based on the difference in the latitude, longitude, and altitude of the users).

I aim to combine locative media devices, with p2p social networking while integrating Mass Multi Online Role Playing Game style virtual game play with Live Action Role Play. Alas it's not just for the D and D nerds or Mel Gibson Fans, but anybody who needs an excuse to bolt out of a lecture or a board meeting because they're getting shot at close proximity via a gps locational algorithm. I'm moving slower than I thought I would but working at least 5 hours a day on becoming an Ace at Flash Mobile Application Creation Seems to be a valuable way to spend time. Hey at least I'm not playing video games right?
 Early Gameplay Interface Design

(Ignore the Robots and Dragons)




Brainstorm on Writing the SmartPhone
to SmartPhone 'Attack' Application
& Algorithm 



Diagram of Device-Server-User
Interactions and Communications




 Early Gameplay Interface Brainstorm



What I Wanted Out of the Server



Game Additions Brainstorm and Planning


Basic Menu Flow














Resources:
1. http://resources.arcgis.com/content/web-based-help: ESRI's ArcGIS
Resource Center....Software development aids - "ArcGIS Mobile Help";
"ArcGIS Viewer for Flex Help"; "ArcGIS API for Flex"
2. 
http://blogs.infosupport.com/blogs/alexb/archive/2010/11/29/developing-a-mobile-application- with-flex-4-5-air-2-5-flash-builder-burrito-wcf-and-the-entity-framework.aspx:
Developing Introductory Programs in Flex
3. Http://
help.adobe.com/en_US/flex/mobileapps/developing_mobile_apps_flex.pdf:
 Everything cruciall in the process of using Adobe FlashBuilder to
build
4. 
http://www.gsmarena.com/apple_iphone_3gs-2826.php - Hardware
specifications for a wide range of mobile devices
5. 
http://www.webmapsolutions.com/category/open-source-web-and-mobile-maps-
Tutorials and Open Source Locative Mobile phone Application
development resources.
6. 
http://www.devx.com/wireless/Article/43502/1954 - iPhone Bluetooth
Programming - XCode (and a Mac) May be needed for utilizing
7. 
http://jrobinsonmedia.wordpress.com/2007/04/19/xcode-flex-application-template/-
Template for XCode (Mac) to organize programming and some awesome Flex
links.
8. 
http://help.arcgis.com/en/webapi/flex/help/index.html#/ArcGIS_API_for_Flex_diagram/017p0000001v000000/:
"The following diagram shows the logical grouping of all the classes
and packages in the ArcGIS API for Flex."
9. 
http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7fc4.html:
"Basic Info on Adobe Air"
10.)http://
www.flexarmyknife.org/2011/06/creating-fast-and-easy-map-view-in.html
- Another way to write an Air Application to view an ArcGIS map aside
from what they provided in thier API Package
11.) 
http://www.adobe.com/devnet/flash-builder/articles/mobile-mapping-app-arcgis.html
- Building an Android and iOS mobile mapping application using the
ArcGIS API for Flex
12.)
https://github.com/ccoenraets/flex-spring-mobile-testdrive - Open
Source Coding to analyze and learn from Application Code Structure
Logic and Design.
13.) 
http://gregsramblings.com/2011/09/08/geolocation-tips-quirks-bugs-flash-actionscript/
14.) 
http://blog.digitalbackcountry.com/gpxas3/ :
Coding library for GPS data. an example application.
15.) 
http://blog.digitalbackcountry.com/2010/02/example-added-for-gpxas3-the-flashflex-gpx-library/:
  an open source application manipulation spen source application
example GPX data tracking
16.) 
http://mobile.tutsplus.com/tutorials/android/build-a-gps-speedometer-getting-into-air-for-android/:
Build a GPS Speedometer: Getting Into AIR for Android'
17.) 
http://blog.flashgen.com/2011/07/16/my-10-tips-when-developing-for-multiple-devices/
- tips for App Development
18.) 
http://www.adobe.com/devnet/flashcatalyst.html:
-Good tutorials and help with Flash Catalyst (For Basic Application Framework Design)
and crossovers to Flash Builder
19.)
http://thunderheadxpler.blogspot.com/2010/11/how-to-use-esri-flex-api-on-android-and.html
How to use ESRI Flex API on Android and iPhone
  1. http://www.adobe.com/devnet/flex/videotraining.html - FlashBuilder in a Week Video and Lesson Tutorial.





Locative Game Research



Locative Zombie Game Research

How to on Locative, Mobile, Collaborative Game Development:

Game: catchbob

*Notes From the Article:

1.) Wifi is used to track location of objects:"PlaceLab" or "CRAFT demon" - Wifi sniffing for Wifi Access Points

*Google Maps Mobile uses GPS when available, and then wifi access points and cell triangulation when a gps signal cannot be reached. (outdoor play)
Indoor play requires a radio map of specific buildings in play using a database of prerecorded access points with appropriate wifi signal strengths for optimal play (Empirical Model). Otherwise radio mapping uses a propagation model which uses algorithm based calculations to account for an ever changing WIFI radio map (maybe open source algorithm exists?)

*Look at open source accurate WI-FI Positioning software

-every 30s clients positions, commands, messages are broadcasted via a central server (SOAP)
SOAP: xml based protocol lets applications exchange information over HTTP.

-good for small games needing synchronization and data consistency.
Epidemic Algorithm: information is disseminated reliably in a distributed system propagating throughout a group of individuals: each process of the system chooses random peers to whom it relays the information it's received. (I'm not sure if this technique is entirely applicable to my concept.)

2.)Decentralized & Peer to Peer systems based on RendezVous, JXTA or Jini
JXTA or Juxtapose: 
-Morality Concern: upon logging into the application user allows their personal location to be transmitted into the server. When logged out all communication is shut off.

3.) Past and Present Locations must be stored on Server's RAM
-Back up location storage:“Hibernate” - Object Relational Mapper (ORM)

4.)Positioning Algorithms:
-Centroid Algorithm: computes location with arithmetic mean of access points position weighted by -their signal strength.
-Fingerprinting
-Particle Filters

.............................


Information was slightly out of date, however necessary in beginning to design game framework.


..............................








*Random Notes
Setting up a server network
Try to accomplish in wifi if phone doesn't have Internet free locatives
Access phone locative info (hack?)
Editing google maps to input item and member pin locations
Programming item info available for download
Menu design apps
Layer shooting screen. Emulated reality
Editing layer (integrate?)
Height of phone from sea level
Easiest code for mobile apps