nakor 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,9 @@
|
|
1
1
|
Corona Game Template version 1.0
|
2
2
|
(c) 2011 by Radamanthus Batnag
|
3
3
|
|
4
|
-
This is a template project for building games using Ansca Mobile's Corona SDK (http://www.anscamobile.com/corona/)
|
4
|
+
This is a template project for building games using Ansca Mobile's Corona SDK (http://www.anscamobile.com/corona/).
|
5
|
+
|
6
|
+
This has been tested against Daily Build Version 2011.696 (2011.8.2). It uses the Storyboard API, therefore it will not work with builds that do not have yet the Storyboard API.
|
5
7
|
|
6
8
|
USAGE
|
7
9
|
Out of the box, this is a working Corona project. It includes a splash screen (loadmenu.lua, displays images/splashScreen.png for 1 second) and the following menu buttons:
|
@@ -1,22 +1,26 @@
|
|
1
|
-
settings =
|
2
|
-
{
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
supported =
|
7
|
-
{
|
8
|
-
"landscapeLeft", "landscapeRight",
|
1
|
+
settings = {
|
2
|
+
orientation = {
|
3
|
+
default = "portrait",
|
4
|
+
supported = {
|
5
|
+
"portrait"
|
9
6
|
},
|
10
7
|
},
|
11
8
|
iphone = {
|
12
9
|
plist = {
|
13
10
|
UIStatusBarHidden = false,
|
14
|
-
UIPrerenderedIcon = true, -- set to false for "shine" overlay
|
15
11
|
UIApplicationExitsOnSuspend = true,
|
12
|
+
CFBundleIconFile = "Icon.png",
|
13
|
+
CFBundleIconFiles = {
|
14
|
+
"Icon.png",
|
15
|
+
"Icon@2x.png",
|
16
|
+
"Icon-72.png",
|
17
|
+
},
|
16
18
|
}
|
17
19
|
},
|
18
|
-
|
19
|
-
{
|
20
|
-
"android.permission.INTERNET"
|
20
|
+
--[[ For Android:
|
21
|
+
androidPermissions = {
|
22
|
+
"android.permission.INTERNET",
|
21
23
|
},
|
24
|
+
]]--
|
22
25
|
}
|
26
|
+
|
data/lib/nakor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nakor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-12-04 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &70270858535080 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70270858535080
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: aruba
|
27
|
-
requirement: &
|
27
|
+
requirement: &70270858534520 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70270858534520
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: cucumber
|
38
|
-
requirement: &
|
38
|
+
requirement: &70270858533920 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70270858533920
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &70270858533300 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70270858533300
|
58
58
|
description: ! "\n To create a new Corona SDK game using nakor, just run:\n\n nakor
|
59
59
|
generate awesome_game\n\n This will create an awesome_game directory in the current
|
60
60
|
directory, and copy all corona game template files into it.\n\n To run the generated
|