- Support single quote ‘a’ chars
- Fix parsing of hex numbers in expressions and fish
- Add while/do_while loops
- Add cd_box_box, cd_line_line and dist_point_line collision detection functions
- Allow registering numbers and strings with DevSettings (+debug and F9)
- Fix parsing of cfg files with = in values
- Allow accessing shim5.json in code using NULL for json handle
- list_directory now returns two vectors, filenames and is_dir flags
- font_draw now has a flag (before rtl) to disable colour/glyph codes
- %(c) %(d) %(x) can now be used in string formatting (numbers will be cast to ints)
- Speed up firing in CoinHunt so it’s more like it originally was. It was doing a fuck tonne of checks but now it’s using dist_point_line and it runs faster even though I also increased max bullets from 7 to 16 and increased fire rate from every 7 frames to every 5 frames.
EDIT: next version I’ll make it 20 bullets max, I still get 30 FPS on my Celeron N5095 with 20. 25 is too much (18 FPS).
EDIT2: Maybe one day I’ll do what I suggested on the bug tracker and keep track of quadrants everything is in for even fewer checks. Then maybe I can put it back to “infinite bullets” (dead on exiting the area)… it’s just too slow on any of my computers I have left.
btw, i checked the fps by firing along the biggest diagonal so there would be no bullets dying out of bounds
EDIT3: I get 60 FPS with unlimited bullets on i5 9500T. So that Celeron is really slow. You can get unlimited bullets by putting a semicolon at the start of line 945 in game.boo. Then it’s exactly like the original which had fire rate of every 5 frames and unlimited bullets.

Leave a Reply