File tree Expand file tree Collapse file tree 1 file changed +30
-24
lines changed
examples/wave-defense-shooter Expand file tree Collapse file tree 1 file changed +30
-24
lines changed Original file line number Diff line number Diff line change 19611961 "\"transition\"",
19621962 ""
19631963 ]
1964- },
1965- {
1966- "type": {
1967- "value": "SetCenterX"
1968- },
1969- "parameters": [
1970- "MainMenuElement",
1971- "=",
1972- "CameraCenterX()"
1973- ]
1974- },
1975- {
1976- "type": {
1977- "value": "SetCenterX"
1978- },
1979- "parameters": [
1980- "SettingsElement",
1981- "=",
1982- "CameraCenterX() + CameraWidth()"
1983- ]
19841964 }
19851965 ],
19861966 "events": [
20081988 }
20091989 ]
20101990 },
1991+ {
1992+ "type": "BuiltinCommonInstructions::Standard",
1993+ "conditions": [],
1994+ "actions": [
1995+ {
1996+ "type": {
1997+ "value": "SetCenterX"
1998+ },
1999+ "parameters": [
2000+ "MainMenuElement",
2001+ "=",
2002+ "0.5 * CameraWidth()"
2003+ ]
2004+ },
2005+ {
2006+ "type": {
2007+ "value": "SetCenterX"
2008+ },
2009+ "parameters": [
2010+ "SettingsElement",
2011+ "=",
2012+ "1.5 * CameraWidth()"
2013+ ]
2014+ }
2015+ ]
2016+ },
20112017 {
20122018 "type": "BuiltinCommonInstructions::Comment",
20132019 "color": {
49874993 "effects": [],
49884994 "behaviors": [
49894995 {
4996+ "name": "Anchor",
4997+ "type": "AnchorBehavior::AnchorBehavior",
49904998 "bottomEdgeAnchor": 0,
49914999 "leftEdgeAnchor": 1,
4992- "name": "Anchor",
49935000 "relativeToOriginalWindowSize": true,
49945001 "rightEdgeAnchor": 2,
49955002 "topEdgeAnchor": 0,
4996- "type": "AnchorBehavior::AnchorBehavior",
49975003 "useLegacyBottomAndRightAnchors": false
49985004 }
49995005 ],
58305836 "effects": [],
58315837 "behaviors": [
58325838 {
5839+ "name": "Anchor",
5840+ "type": "AnchorBehavior::AnchorBehavior",
58335841 "bottomEdgeAnchor": 2,
58345842 "leftEdgeAnchor": 1,
5835- "name": "Anchor",
58365843 "relativeToOriginalWindowSize": true,
58375844 "rightEdgeAnchor": 2,
58385845 "topEdgeAnchor": 1,
5839- "type": "AnchorBehavior::AnchorBehavior",
58405846 "useLegacyBottomAndRightAnchors": false
58415847 }
58425848 ],
You can’t perform that action at this time.
0 commit comments