burn 0.2.1 → 0.2.2

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.
@@ -73,6 +73,10 @@ module Burn
73
73
  @context.instance_exec { @opcodes << "@screen.activated_sprite_objects << @___#{resource} if @screen.activated_sprite_objects.index(@___#{resource}).nil?" }
74
74
  end
75
75
 
76
+ def inline(code)
77
+ @context.instance_exec { @opcodes << code }
78
+ end
79
+
76
80
  # def fade_in
77
81
  # @context.instance_exec do
78
82
  # [
@@ -104,6 +104,7 @@ module Burn
104
104
 
105
105
  def frame_rate
106
106
  case @@conf.app.frame_rate
107
+ when :extreme then 0.01
107
108
  when :high then 0.03
108
109
  when :normal then 0.5
109
110
  when :slow then 1.0
@@ -1,3 +1,3 @@
1
1
  module Burn
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: burn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-15 00:00:00.000000000 Z
12
+ date: 2014-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor