1
1
2
- [ b-travis-img ] : https://travis-ci.org/Hartrik/Sand-Game-2.svg?branch=master
3
- [ b-travis-link ] : https://travis-ci.org/Hartrik/Sand-Game-2
4
- [ b-release-img ] : https://img.shields.io/github/release/Hartrik/Sand-Game-2.svg
5
- [ b-release-link ] : https://github.com/Hartrik/Sand-Game-2/releases
6
2
[ prev-ui ] : .github/preview-ui.png
3
+ [ prev-fire ] : .github/preview-fire.png
4
+ [ prev-device ] : .github/preview-device.png
7
5
[ prev-scripting ] : .github/preview-scripting.png
8
6
[ prev-templates ] : .github/preview-templates.png
9
7
[ prev-chunks ] : .github/preview-chunks.png
12
10
:bulb : * Note: there is a successor called [ Sand Game JS] ( https://github.com/Hartrik/sand-game-js ) . It's not as feature-rich, but it's playable in the browser.*
13
11
14
12
# Sand Game 2
15
-
16
- [ ![ Build Status] [ b-travis-img ]] [ b-travis-link ]
17
- [ ![ GitHub Release] [ b-release-img ]] [ b-release-link ]
18
-
19
- ** Sand Game 2** is a * falling sand* game where you are given an empty canvas and
20
- a wide range of various elements. Try to build something cool!
13
+ ** Sand Game 2** is a * falling sand* game that presents an empty canvas and a wide range of various elements.
14
+ The player can create landscapes out of dirt, sand and water, then plant grass and watch it grow.
15
+ Or build metal structures and then melt them with thermite, or perhaps set fire to an oil pond.
16
+ Or mix water and salt to make brine – that can be distilled back to pure salt.
17
+ And many other possibilities.
21
18
22
19
** Features**
23
20
- many elements and tools
@@ -31,6 +28,9 @@ a wide range of various elements. Try to build something cool!
31
28
32
29
![ Preview - ui] [ prev-ui ]
33
30
31
+ ![ Preview - fire] [ prev-fire ]
32
+
33
+ ![ Preview - device] [ prev-device ]
34
34
35
35
## Controls
36
36
@@ -51,7 +51,7 @@ Shape and size can be changed in `menu > tools`.
51
51
### Templates
52
52
53
53
Several prepared templates can be found in ` menus > tools ` .
54
- Insertion can be canceled using * RMB* .
54
+ Insertion can be cancelled using * RMB* .
55
55
56
56
Saved canvases can also be inserted as templates.
57
57
@@ -93,7 +93,7 @@ Get inspired by [examples][scripts].
93
93
The canvas is divided into chunks – square areas with dimensions usually 20×20 points.
94
94
This allows to distinguish areas where “nothing moves” and these areas are then
95
95
“ignored”, thus saving performance. ** The aim is therefore to have the least active chunks** .
96
- Do you want a really big heap of sand? – no problem – until it moves.
96
+ Do you want a huge heap of sand? – no problem – until it all moves.
97
97
98
98
Another factor affecting performance is the canvas size.
99
99
** Choose the canvas size with respect to performance of your computer.**
@@ -103,15 +103,29 @@ Another factor affecting performance is the canvas size.
103
103
![ Preview - chunks] [ prev-chunks ]
104
104
105
105
106
+ ## Development
107
+ Most of the codebase comes from 2014 and 2015.
108
+ In 2016 version 2.03 Beta was released as the last bigger release, introducing new elements and behaviour.
109
+ Version 2.04 Beta was released in 2017 with English localization and performance improvements.
110
+
111
+ Sand Game 2 is now in maintenance mode. No new features are planned in the future.
112
+ Currently, it has over 29,000 source lines of code (Java only).
113
+
114
+ In the past, there have always been issues with Java backwards compatibility:
115
+ * wild changes in JavaFX between Java 7 and Java 8 (APIs removed, rendering changes),
116
+ * JavaFX was removed from Java distributions since Java 11,
117
+ * JavaScript engine was removed from Java distributions since Java 15.
118
+
119
+
106
120
## Download
107
121
### Distribution with Java (Windows only)
108
122
The easiest way. No need to have Java installed...
109
123
110
124
1 ) Download [ SandGame2_2-04-bundle.zip] ( https://github.com/Hartrik/Sand-Game-2/releases/download/2.04-J11-hotfix/SandGame2_2-04-bundle.zip )
111
125
2 ) ** Unzip the file**
112
- 3 ) Double click on ** start.bat**
126
+ 3 ) Double- click on ** start.bat**
113
127
114
- ### Jar Distribution
128
+ ### Jar distribution
115
129
Java must be installed. Minimal supported version is Java 8 update 40.
116
130
117
131
* ** Java 8** update 40 – [ Sand-Game-2_2-04.zip] ( https://github.com/Hartrik/Sand-Game-2/releases/download/2.04/Sand-Game-2_2-04.zip )
0 commit comments