238 Commits

Author SHA1 Message Date
sam-astro
2c565d533f
Update README.md v2.1.2 2022-05-27 20:30:04 -04:00
sam-astro
304093386a
Merge pull request #25 from sam-astro/dev
Features and bug fix v2.1.1-alpha
v2.1.1
2022-05-27 20:26:10 -04:00
sam-astro
68c5ef214f
Update README.md 2022-05-27 20:21:27 -04:00
sam-astro
a8ed99a7b4 Don't print escape sequences in logs, print raw 2022-05-27 20:14:07 -04:00
sam-astro
b25fee150a Update builtin.h 2022-05-27 20:00:15 -04:00
sam-astro
dc580c2257 Update builtin.h 2022-05-27 19:57:55 -04:00
sam-astro
c40d902cef Attempt to fix unix time get 2022-05-27 19:51:25 -04:00
sam-astro
582656be7b Update exit message 2022-05-27 19:43:39 -04:00
sam-astro
1188412769 Change version, fix wrong ball rotation, use circle sprite 2022-05-27 19:35:07 -04:00
sam-astro
d24044a242 Fix issues, add features
* Allow for odd spacing, (ex. tabs, no tabs, spaces, etc.)
* Rename from determinant to comparer
* Fix syntax
* Fix issues with single arg function calls, and `Print` and `Printl` functions now work
* Escape sequences now work as they should
2022-05-27 19:16:41 -04:00
sam-astro
49429461e8
Add more error checking 2022-05-27 08:40:19 -04:00
sam-astro
438f366ba4
add EXIT_WHEN_DONE = false 2022-05-27 08:24:56 -04:00
sam-astro
33805294d3
add EXIT_WHEN_DONE = false 2022-05-27 08:24:30 -04:00
sam-astro
5e89ac5884
Fix typos, add EXIT_WHEN_DONE variable, change formatting 2022-05-27 08:17:57 -04:00
sam-astro
89392bc34d
Update Main.cpp
Disable for comment checking, make `ZS.` check safer, allow more variables to be initialized outside of functions (global), let people set the global builtin variable of `EXIT_WHEN_DONE` to true or false, depending if they are a developer and want to leave the console window open after the program finishes.
2022-05-27 08:14:03 -04:00
sam-astro
bfc3c4d727 ^ 2022-05-26 21:02:08 -04:00
sam-astro
44b2e40e94 (broken) Allow for any amount of whitespace 2022-05-26 21:01:44 -04:00
sam-astro
f0321d9927
Update extra-include.zs 2022-05-26 10:49:10 -04:00
sam-astro
865c2761bb
Update Main.cpp 2022-05-26 08:36:45 -04:00
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