sottolio 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3302a0c8ca55309175a4a45d4d5872ae8f35ce3
4
- data.tar.gz: 68a55bfb5a2327b9f32ef929ce31df916c869b46
3
+ metadata.gz: c5866755d52b865ed989fccdd744bbb5c3054ffe
4
+ data.tar.gz: 7c69a79370671b796dbbe8721c1a481854025214
5
5
  SHA512:
6
- metadata.gz: b8f6d66c5d9538dcd83a6298004b13df0226d2517393e820f5b3c5bb83c4898f1458acfeb914e30ed2977648a29becc234e57722d4c6276edb1641c4cea2770f
7
- data.tar.gz: 7c89c068f822e862594fa9116829bc9550045657ed75c14f70a2c033d6951efd5b92bd3e0a40a0593091d29963e4055b4fca513b72a6ff2ee3fb3dfaa5467b5d
6
+ metadata.gz: ca206ce545c60213215245f73babe6e20d6f1b91a7168b66f8bcf4bc5360a5f01615a5b49085049a46c752729716f389ea0dd1ef87af46d1cfc5d98a581ec012
7
+ data.tar.gz: 2290d7bbbddba76393ed78131b91c2fba9abf32bffd8f0c02ee5572e76c1884f35be6223c53de3e8e98ef5a0831566fe808c8d9b63adbfd67b4e2295dcbcaf10
data/README.md CHANGED
@@ -1,12 +1,12 @@
1
- Sottolio - È sopraffino
1
+ sottolio - è sopraffino
2
2
  ========================
3
- Porting of [Sottaceto](https://github.com/RoxasShadow/Sottaceto) in JavaScript written in Ruby thanks to Opal.
3
+ Porting of [Sottaceto](https://github.com/RoxasShadow/Sottaceto) in JavaScript written in Ruby thanks to [Opal](https://github.com/opal/).
4
4
 
5
- Just like Sottaceto, sottolio is a game engine to create visual novels with ease. These games run everywhere, you only need a~~~n internet browser which supports JavaScript and HTML5~~~ decent internet browser.
5
+ Just like Sottaceto, sottolio is a game engine to create visual novels with ease. These games run everywhere, you only need a~~n internet browser which supports JavaScript and HTML5~~ decent internet browser.
6
6
 
7
- The scripts (check `compiler/scripts`) are pretty self-explanatory (even more than Sottaceto's ones, actually).
7
+ The scripts (check `example/scripts`) are pretty self-explanatory (even more than Sottaceto's ones, actually).
8
8
 
9
- Backgrounds, musics, and other stuff are kept inside `game/resources/`.
9
+ Backgrounds, musics, and other stuff are kept inside `example/game/resources/`.
10
10
 
11
11
  Setup
12
12
  =====
@@ -19,8 +19,14 @@ Run the demo
19
19
  `$ sottolio example/scripts example/game/sottolio`
20
20
 
21
21
 
22
- sottolio will generate `sottolio.js` and `sottolio.min.js` inside `example/game` that are nothing but the compiled version of the scripts inside `example/scripts`.
22
+ sottolio will generate `example/game/sottolio.js` and `example/game/sottolio.min.js` that are nothing but the compiled versions of the scripts inside `example/scripts`.
23
23
 
24
24
  You're now ready to open `example/game/index.html` in your browser!
25
25
 
26
26
  The [demo](http://www.giovannicapuano.net/sottolio/) is also available in the web, as well the [video gameplay](http://www.youtube.com/watch?v=djV_Z5OeBmg&feature=youtu.be) (it's a bit old tho).
27
+
28
+ FAQ
29
+ ===
30
+ **Q**: I can't see one or more assets (girls, images, sounds or whatever)
31
+
32
+ *R*: This is a well known bug. Please refresh the page.
@@ -21,6 +21,7 @@ require 'sottolio'
21
21
 
22
22
  abort 'Usage: sottolio <scripts> <output>' if ARGV.length != 2
23
23
 
24
+ Opal.append_path 'opal'
24
25
  Opal.append_path ARGV[0]
25
26
 
26
27
  build = Opal::Builder.build('sottolio').to_s
@@ -3,13 +3,15 @@
3
3
  <head>
4
4
  <meta charset="utf-8">
5
5
  <title>sottolio - è sopraffino</title>
6
- <style> .asset { display: none } </style>
6
+ <style>
7
+ #game { border: 0px solid #000000; }
8
+ </style>
7
9
  <script src="include/jquery.min.js"></script>
8
10
  <script src="include/CanvasText-0.4.js"></script>
9
11
  <script src="include/howler.min.js"></script>
10
12
  </head>
11
13
  <body>
12
- <canvas id="game" width="1280" height="850" style="border:0px solid #000000;">
14
+ <canvas id="game" width="1280" height="850">
13
15
  Your browser is not accepted here. Pick another one.
14
16
  </canvas> <img id="next" src="resources/right_arrow.png">
15
17
 
@@ -17,5 +17,5 @@
17
17
  # along with sottolio. If not, see <http://www.gnu.org/licenses/>.
18
18
  #++
19
19
  module Sottolio
20
- VERSION = '0.1'
20
+ VERSION = '0.1.1'
21
21
  end
@@ -16,6 +16,8 @@
16
16
  # You should have received a copy of the GNU General Public License
17
17
  # along with sottolio. If not, see <http://www.gnu.org/licenses/>.
18
18
  #++
19
+ require 'opal'
20
+
19
21
  require 'sottolio/sottolio'
20
22
  require 'sottolio/script'
21
23
  require 'sottolio/lock'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sottolio
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano
@@ -11,11 +11,6 @@ cert_chain: []
11
11
  date: 2015-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- version_requirements: !ruby/object:Gem::Requirement
15
- requirements:
16
- - - "~>"
17
- - !ruby/object:Gem::Version
18
- version: '0.8'
19
14
  name: opal
20
15
  prerelease: false
21
16
  requirement: !ruby/object:Gem::Requirement
@@ -24,12 +19,12 @@ dependencies:
24
19
  - !ruby/object:Gem::Version
25
20
  version: '0.8'
26
21
  type: :runtime
27
- - !ruby/object:Gem::Dependency
28
22
  version_requirements: !ruby/object:Gem::Requirement
29
23
  requirements:
30
24
  - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: '10.4'
26
+ version: '0.8'
27
+ - !ruby/object:Gem::Dependency
33
28
  name: rake
34
29
  prerelease: false
35
30
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +33,11 @@ dependencies:
38
33
  - !ruby/object:Gem::Version
39
34
  version: '10.4'
40
35
  type: :development
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.4'
41
41
  description: Engine to make visual novel games to be run inside your web browser.
42
42
  email: webmaster@giovannicapuano.net
43
43
  executables: