219 Commits

Author SHA1 Message Date
sam-astro
a4f7bdab2b
Remove useless lines during preprocessing 2022-05-26 08:16:38 -04:00
sam-astro
a1dcb55468 Antialiased text as an extra Text option, update platformer 2022-05-25 17:34:06 -04:00
sam-astro
70a2c8ce7e
Merge pull request #22 from Kaputchino/master
Add mathematical functions
2022-05-25 15:21:37 -04:00
sam-astro
b321a36b7d
Fix formatting, spelling 2022-05-25 15:20:17 -04:00
Kaputchino
7ce2d39b93
sort correctly the added functions 2022-05-25 19:02:29 +02:00
Kaputchino
7d7033cd61
add functions 2022-05-25 18:56:07 +02:00
sam-astro
ba92119cfe
Add DLL requirements for windows 2022-05-25 11:10:56 -04:00
sam-astro
1ad7019940
Allow for single args as bool ex. if 3 instead of if 3 == 3 2022-05-25 10:45:15 -04:00
sam-astro
e0966a7920
Update if and while
Make `if` and `while` more efficient, and allow using the `break` and `continue` keywords
2022-05-25 10:33:59 -04:00
sam-astro
63ba06713c
Update betweenChars function
To make more efficient and allow for strings with special characters as function arguments
2022-05-25 09:06:47 -04:00
sam-astro
86af2af61a
Optimize script 2022-05-25 07:46:22 -04:00
sam-astro
3d8fca05ba
Add description 2022-05-25 07:25:14 -04:00
sam-astro
2cce226575 Working on platformer 2022-05-24 21:40:58 -04:00
sam-astro
725ec88fd5 Merge branch 'master' into dev 2022-05-24 21:12:47 -04:00
sam-astro
4fd4964f57 Fix issues that make pong not run in 2.1.0-alpha v2.1.0 2022-05-24 19:08:51 -04:00
sam-astro
30d8bb5424 Change version to alpha 2022-05-24 19:01:05 -04:00
sam-astro
64149d31ca Update ZSharpInstallerMakerInnoSetup.iss 2022-05-24 18:42:03 -04:00
sam-astro
21bc707432 Change version to 2.1.0 2022-05-24 18:40:11 -04:00
sam-astro
f6462291a7 Convert int to string 2022-05-24 18:27:23 -04:00
sam-astro
92bc9ebea4 Change from c_str to std::string 2022-05-24 18:25:20 -04:00
sam-astro
8fd332495c Merge branch 'dev' of https://github.com/sam-astro/Z-Sharp into dev 2022-05-24 18:24:42 -04:00
sam-astro
350072a6ac Change from c_str to std::string 2022-05-24 18:24:32 -04:00
sam-astro
b6eba24fbe
Merge dev Feature additions
* 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"`
2022-05-24 18:21:35 -04:00
sam-astro
83f0affa64
Merge branch 'master' into dev 2022-05-24 18:20:20 -04:00
sam-astro
b8320da1aa Allow sprite scaling 2022-05-24 18:10:28 -04:00
sam-astro
3c684f2153 Much better function ARG parsing, allowing other functions as ARGs 2022-05-24 16:10:39 -04:00
sam-astro
4ae56e427a
Update README.md 2022-05-24 15:42:34 -04:00
sam-astro
19073fcc7c Merge branch 'dev' of https://github.com/sam-astro/Z-Sharp into dev 2022-05-24 15:39:34 -04:00
sam-astro
75914d57b2 Line number reversion fixed & started on functions issue
Fixed issue where line number was reverted, causing if statements to not skip if false. Started working on problem causing functions to not execute correctly.
2022-05-24 15:39:32 -04:00
sam-astro
532d983195
Add some error checking 2022-05-24 08:15:01 -04:00
sam-astro
ab6f04e3cc
Fix pixel scaling from fixed value to WINDOW 2022-05-24 07:24:18 -04:00
sam-astro
d9af3705ad Merge branch 'master' of https://github.com/sam-astro/Z-Sharp 2022-05-23 15:24:38 -04:00
sam-astro
0c700407f6 Update ZSharpInstallerMakerInnoSetup.iss 2022-05-23 15:24:35 -04:00
sam-astro
61a6d98e49
Fix bug with changing Sprite scale at runtime 2022-05-23 09:34:20 -04:00
sam-astro
44b07f402b
Change function evaluation to allow for other unsolved functions as args 2022-05-23 09:29:07 -04:00
sam-astro
5e02c71b1d
Add function to better process function args and such 2022-05-23 09:20:24 -04:00
sam-astro
ebb54a0a27
Add function to better process function args and such 2022-05-23 09:20:14 -04:00
sam-astro
572da33ee0
Fix issues with if and while, also added an else statement 2022-05-23 08:08:43 -04:00
sam-astro
01433fcba3
Merge pull request #18 from sheeepdev/master
📝 Add dependency install instructions for Arch-based systems
2022-05-23 07:49:29 -04:00
sheep
04e4125ae4
📝 Add install instructions for Arch-based systems
Include the command and package name equivalent to the debian packages on arch linux
2022-05-23 12:13:11 +02:00
sam-astro
036253e92c
Update README.md 2022-05-22 18:23:33 -04:00
sam-astro
faeef8851e
Change initial load RenderText to also be Blended 2022-05-22 17:25:21 -04:00
sam-astro
5d709f8d2a
Merge pull request #13 from TheAwesome98-Real/master
Use TTF_RenderText_Blended for smoother text
2022-05-22 17:18:31 -04:00
sam-astro
664c6de666 Implement new functions for easier parsing, pixel scaling, and started making threading 2022-05-22 16:39:53 -04:00
sam-astro
74df9cdaf7 Allow for same-line curly brackets on: if, while, func 2022-05-22 13:28:57 -04:00
sam-astro
cefbbd140b Allow including other .ZS files in order to import other functions and variables 2022-05-22 13:06:02 -04:00
TheAwesome98
9c1f999425
change rendertext to use blended 2022-05-22 17:36:38 +01:00
sam-astro
575195930b Change output folder to ZS_Win_Base_Raw 2022-05-22 10:34:26 -04:00
sam-astro
bbc1e1f16b Change output folder to ZS_Win_Base_Raw 2022-05-22 10:33:46 -04:00
sam-astro
032d1fefe6 Switch back to \n 2022-05-22 10:27:40 -04:00