Releases: sam-astro/Z-Sharp
ZSharp v2.1.3-alpha
What's Changed
- Dev by @sam-astro in #29
- idk, maybe someone will use it :) by @Susyboy23 in #30
- updated dependencies on readmd (made it more readable) by @bsikar in #33
- Dev by @sam-astro in #34
- Add the "ZS.System.Command" function by @Rexo35 in #43
- Add simple benchmark script by @sam-astro in #44
New Contributors
- @Susyboy23 made their first contribution in #30
- @bsikar made their first contribution in #33
- @Rexo35 made their first contribution in #43
Full Changelog: v2.1.2...v2.1.3
ZSharp v2.1.2-alpha
Fixed dumb issues regarding single argument functions and Printl
+ Print
Full Changelog: v2.1.1...v2.1.2
ZSharp v2.1.1-alpha
What's Changed
- Allow for odd spacing, (ex. tabs, no tabs, spaces, etc.)
- Rename from determinant to comparer
- Fix syntax
- Fix issues with single arg function calls
Print
andPrintl
functions now work- Escape sequences now work as they should
- Interpreter log and error log now ignore escape sequences and write as raw text for easier string debugging
- Add
EXIT_WHEN_DONE
builtin variable. WhenEXIT_WHEN_DONE
is equal totrue
, the console window will automatically close when the program is done/when you close the game window - Add mathematical functions by @Kaputchino in #22
New Contributors
- @Kaputchino made their first contribution in #22
Full Changelog: v2.1.0...v2.1.1
ZSharp v2.1.0-alpha
What's Changed
- Versioning is now in
alpha
, which it should have been from the beginning - Allow for curly brackets on the same line as if statements and while loops (you need a space between the argument and bracket ex.
if 1 == 1 {
) - Scaling sprites
- Different window scaling options, provided as an extra argument in ZS.Graphics.Init
ZS.Graphics.Init("Title of window", screenWidth, screenHeight, scalingAmount)
- You can now use
include
to use the functions and variables from another Z# file inside of your script. use like so:include "./path/to/script.zs"
- Fixed issues regarding the example Pong game and made more efficient
More
- Use TTF_RenderText_Blended for smoother text by @TheAwesome98-Real in #13
- 📝 Add dependency install instructions for Arch-based systems by @sheeepdev in #18
New Contributors
- @TheAwesome98-Real made their first contribution in #13
- @sheeepdev made their first contribution in #18
Full Changelog: v2.0.2...v2.1.0
ZSharp v2.0.2-alpha
- Created a new Windows installer for ease of use and automatic file association.
- Fixed issue with escaped quotes and having strings start at beginning of read.
For Windows users:
The installer is now the best option for using ZSharp.
Full Changelog: v2.0.1...v2.0.2
ZSharp v2.0.1-alpha Fixes
-
Add extra classes for console color output because it would sometimes break on windows
-
Startup program name and version
-
Linux example was broken, so fixed it
-
Create LICENSE by @sam-astro in #2
Full Changelog: v2.0.0...v2.0.1
ZSharp v2.0.0-alpha Major
Major Update
-
ZSharp (Z#) is the new project name. It is more professional and sounds better than "StuLang", for "Stupid Language". It also pays homage to the language that inspired it, CSharp.
-
Previous programs are incompatible with this newer version, but they can easily be converted like so:
- First, just change the script's file extension from
.SLG
to.ZS
. Any file extension will actually work, even.TXT
, but the correct.ZS
allows for better future-proofing in case that changes. - Next, if you were using any direct "SlangBuiltIn" functions, (ex.
SLG.Graphics.Init
), then replace theSLG
withZS
. This meansSLG.Graphics.Init
will become ->ZS.Graphics.Init
- First, just change the script's file extension from
Full Changelog: v1.2.2...v2.0.0
StuLang v1.2.2-alpha
- Include required .dll files required by SDL: Added libfreetype-6.dll, libjpeg-9.dll, libpng16-16.dll, libtiff-5.dll, libwebp-7.dll, zlib1.dll. This will fix errors for those who do not have SDL or it's requirements installed
- Change [ ] operator to .at() for accessing vector items, which will allow for accurate error handling and better prevent seemingly random crashes without an error message.
Full Changelog: v1.2.1...v1.2.2
StuLang v1.2.1-alpha
Minor, updated pong
Added toggleable AI
Instructions text on the bottom of the screen
More easily editable parameters in the script
Full Changelog: v1.2.0...v1.2.1