diff options
| author | realtradam <[email protected]> | 2021-12-19 22:22:59 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-12-19 22:22:59 -0500 |
| commit | 9419c8e708bfde4344c60d99f2a44027f4ee9b95 (patch) | |
| tree | 6a8a9db97ed12108cde21afbdd27787c4e88a6be /app/components | |
| parent | 154030e74b007b6fc65e45e50107b69b717c7b1f (diff) | |
| download | SteelWings-9419c8e708bfde4344c60d99f2a44027f4ee9b95.tar.gz SteelWings-9419c8e708bfde4344c60d99f2a44027f4ee9b95.zip | |
background added
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/ground_sprite.rb | 21 | ||||
| -rw-r--r-- | app/components/rules/bounds.rb | 4 |
2 files changed, 23 insertions, 2 deletions
diff --git a/app/components/ground_sprite.rb b/app/components/ground_sprite.rb new file mode 100644 index 0000000..01602c5 --- /dev/null +++ b/app/components/ground_sprite.rb @@ -0,0 +1,21 @@ +FF::Cmp.new("Sprite", props: { + x: 640 - 50, + y: 360 - 50, + w: 100, + h: 100, + path: 'sprites/hexagon/red.png', + angle: 0, + a: 255, + r: 255, + g: 255, + b: 255, + source_x: 0, + source_y: 0, + source_w: -1, + source_h: -1, + flip_vertically: false, + flip_horizontally: false, + angle_anchor_x: 0.5, + angle_anchor_y: 0.5, + blendmode_enum: 1 +}) diff --git a/app/components/rules/bounds.rb b/app/components/rules/bounds.rb index 71495e6..7b0c86e 100644 --- a/app/components/rules/bounds.rb +++ b/app/components/rules/bounds.rb @@ -1,5 +1,5 @@ FF::Cmp.new('BoidBounds', - xmax: 1280, xmin: 0, - ymax: 720, ymin: 0, + xmax: 1280, xmin: -1280, + ymax: 1280, ymin: -1280, strength: 10) |
