smalruby 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of smalruby might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cba3ddc24f7ab06b5ea74040e8953236bbdcf20a
4
- data.tar.gz: f6547d37b48a49e46e63cd7b39fd255a0676bdff
3
+ metadata.gz: 62c4a71d12c70b3f8f541117e8f2a3b0997d97f8
4
+ data.tar.gz: 0549d26ab6a436e5911af7cc6421eddc39d945d0
5
5
  SHA512:
6
- metadata.gz: d7a6adc8c509559769f7bba5a5e1bdc2603b30cce107d0b371204fed69e3c2a89f6af8d0efbbf06b4311dc622031ccb8156db725f2e6f268f88c45226c4c06c8
7
- data.tar.gz: 814c60608e78bffbe272cdd0b4b19fbd9eda5f997914191e1f68011cc0acb1f93603c0ab14f9649439f6407922637ee1f170125ae29400d8d420ebac336a8377
6
+ metadata.gz: 13b00831d432828208910cc8ef1cd6ee914298494224af2d48d179364785c6450aea8f4f078fd00e1247f47759f1680593c72852e924d2bbde35d9829978a2ac
7
+ data.tar.gz: 316bb5d6cfecd26ea7485206667d3adf6cf2e58406444afe2c6d74fa3f18438cc873d7e0ff11953ccc9602ae67d1e78c3a56f637cca9b436ddac3fd96f8ddf64
@@ -31,7 +31,8 @@ module Smalruby
31
31
  y: 0,
32
32
  costume: nil,
33
33
  angle: 0,
34
- visible: true
34
+ visible: true,
35
+ rotation_style: :free
35
36
  }
36
37
  opt = process_optional_arguments(option, defaults)
37
38
 
@@ -45,7 +46,6 @@ module Smalruby
45
46
  @threads = []
46
47
  @checking_hit_targets = []
47
48
  @angle = 0 unless Util.windows?
48
- @rotation_style = :free
49
49
 
50
50
  self.scale_x = 1.0
51
51
  self.scale_y = 1.0
@@ -57,9 +57,9 @@ module Smalruby
57
57
  end
58
58
  end
59
59
 
60
- if opt[:angle] != 0
61
- rotate(opt[:angle])
62
- end
60
+ self.angle = opt[:angle] if opt[:angle] != 0
61
+
62
+ self.rotation_style = opt[:rotation_style]
63
63
 
64
64
  # HACK: Windows XP SP3の環境でワーカースレッドで音声を読み込めな
65
65
  # い不具合が発生した。このためメインスレッドでプリロードしておく。
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  module Smalruby
4
- VERSION = '0.0.19'
4
+ VERSION = '0.0.20'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smalruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouji Takao
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-07 00:00:00.000000000 Z
11
+ date: 2014-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler