Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openaphid/Boilerplate-iOS
A template project for developing iOS games with OpenAphid-Engine
https://github.com/openaphid/Boilerplate-iOS
Last synced: 3 months ago
JSON representation
A template project for developing iOS games with OpenAphid-Engine
- Host: GitHub
- URL: https://github.com/openaphid/Boilerplate-iOS
- Owner: openaphid
- License: other
- Archived: true
- Created: 2012-04-24T15:33:30.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-16T07:12:26.000Z (about 12 years ago)
- Last Synced: 2024-08-03T02:07:59.288Z (7 months ago)
- Language: Objective-C
- Homepage: http://openaphid.github.com/
- Size: 7.53 MB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
- awesome-projects-boilerplates - Boilerplate-iOS
README
The project has been DISCONTINUED. Please refer to the blog post for more details.
[http://openaphid.github.com/blog/2013/01/14/openaphid-engine-v0-dot-2-1f-and-discontinuation-announcement/](http://openaphid.github.com/blog/2013/01/14/openaphid-engine-v0-dot-2-1f-and-discontinuation-announcement/)
Boilerplate-iOS
===============A template project for developing iOS games with OpenAphid.
## Usage
- Open the project with Xcode.
- Open a terminal window, navigate to Boilerplate/ directory, and start the tiny web server for the "Develop Mode" of OpenAphid
```bash
./start_dev_server.sh
````- Edit `OAAppDelegate.m` to customize the configurations:
````objective-C
[self.viewController.glViewController configBundleName:@"game.bundle"
baseURL:[NSURL URLWithString:@"http://129.158.217.36:18080"] //Please replace it with the address of your develop web server
developMode:YES]; //Sets to NO to disable "Develop Mode"self.viewController.glViewController.supportedOrientations = OAOrientationPortrait; //Please refer to OAConstants.h for more details.
````- Build and run the app on the iOS simulator or devices
- Edit game.bundle/main.js with the game logics and put graphic resources inside game.bundle
- Press Home button to exit the app and re-open it to see any changes you made instantly. There is no need to reinstall the app.
## Copyright and License
```
Copyright 2012 Aphid MobileLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
````