1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-12 08:00:12 +00:00
Commit graph

294 commits

Author SHA1 Message Date
William Barnes ff3c27e28f Added helpful comments in _window. 2022-05-09 13:31:36 -04:00
William Barnes cad135dc80 Eliminated fudge factors from Draw routine. 2022-05-09 13:26:17 -04:00
William Barnes 51a898854f Revamped Window/Draw/M interplay. 2022-05-09 09:22:52 -04:00
boxgaming 5f5d14a23d Updated _LoadImage for consistent cross-origin behavior 2022-05-06 16:57:54 -05:00
boxgaming be5a6facde sizing optimizations for flappy bird sample 2022-05-06 16:56:52 -05:00
boxgaming b08ea74ab8 updated index files included with export to set viewport 2022-05-06 16:56:14 -05:00
boxgaming 0efe3fd768 reinstated fullscreenFlag for proper detection 2022-05-06 16:55:27 -05:00
boxgaming b3080e251e Added support for dynamic Object type 2022-05-05 17:20:03 -05:00
boxgaming fcab57bac1 Added support for _Source keyword 2022-05-04 22:40:25 -05:00
boxgaming 81ecb485b2
Merge pull request #20 from WFBarnes/main
Window mostly implemented, updated draw.
2022-05-04 22:20:17 -05:00
boxgaming f598369a36 updated flappy bird sample to use fullscreen 2022-05-04 17:28:50 -05:00
William Barnes 5c77ff3bf5 Improvements to Window & cursor tracking.. 2022-05-04 16:27:48 -04:00
William Barnes 212ac7f06a Graphics state init now respects Window and Draw. 2022-05-04 00:02:03 -04:00
William Barnes 6a4ceaddb6 Merge branch 'main' of https://github.com/boxgaming/qbjs 2022-05-03 23:15:52 -04:00
William Barnes 314ece963e Managed variable names in draw. 2022-05-03 23:13:06 -04:00
William Barnes ff66085ba5 Progress with Window implementation, Draw bugfix. 2022-05-03 20:38:42 -04:00
William Barnes 65e0ae68d4 Prototyping Window command. 2022-05-03 02:51:26 -04:00
boxgaming 501db5258d fullscreen fix 2022-05-02 16:31:47 -05:00
boxgaming 407f5a499f Fixed Confirm method to be a Function instead of a Sub 2022-05-02 16:05:54 -05:00
boxgaming 43d8a88042 removed dependency on gx project include 2022-05-02 16:00:21 -05:00
boxgaming 13818cd719
Merge pull request #19 from WFBarnes/main
Deeper reworking of the Draw/M routine. Nearly pixel-perfect to original?
2022-05-01 08:55:49 -05:00
William Barnes 02e598c17b Refined Draw/M model, reduced all weirdness into var fudgeFactor. 2022-04-30 23:01:44 -04:00
William Barnes cb4bd49c1c Reworked M-function in Draw subsystem. 2022-04-30 01:53:22 -04:00
boxgaming f6fdf5daee Merge branch 'main' of https://github.com/boxgaming/qbjs 2022-04-29 22:26:52 -05:00
boxgaming 07d91adf60 added ability to export consts in modules 2022-04-29 22:24:36 -05:00
boxgaming 942339be01
Merge pull request #18 from WFBarnes/main
Draw routine implemented, undergoing final touches.
2022-04-29 22:21:59 -05:00
William Barnes 6595b68da9 Improved Draw routine. 2022-04-29 21:26:25 -04:00
William Barnes f0baebf9b0 Improved Draw routine. 2022-04-29 21:22:25 -04:00
William Barnes ef0cadb051 Remove stray VS folder. 2022-04-29 08:05:52 -04:00
William Barnes aa30c940eb Merge branch 'main' of https://github.com/boxgaming/qbjs into main 2022-04-29 08:04:11 -04:00
William Barnes 8e8253e3f7 Update qb.js 2022-04-29 01:26:57 -04:00
William Barnes a9ca6c49bc Improvements to Draw, set fgColor default after graphics call. 2022-04-29 01:00:28 -04:00
boxgaming e151e935ea Added support for character-based screen sizing 2022-04-28 22:06:24 -05:00
William Barnes 44e1cd06dc Resync and update qb-lang.js. 2022-04-28 21:21:06 -04:00
William Barnes 2c2b1f12da Merge branch 'main' of https://github.com/boxgaming/qbjs 2022-04-28 21:18:27 -04:00
William Barnes f532d5c565 Prototyped Draw function. Implemented stand-in for Varptr$. Fixed hexrep permutation and alpha scale. 2022-04-28 21:14:59 -04:00
boxgaming 1d9e71147c Fix for internal QB.getImage method to support DomGetImage 2022-04-28 15:41:17 -05:00
boxgaming 4a6e8973ea Added support for _FullScreen 2022-04-28 14:30:25 -05:00
boxgaming b62c49fbc3 added beep keyword 2022-04-28 10:14:53 -05:00
boxgaming c05c17b09e
Merge pull request #17 from WFBarnes/main
Implemented alternative trig functions (cosh, sinh, r2d, d2r), optimized Paint, introduced _strokeThickness constant.
2022-04-27 11:33:48 -05:00
William Barnes ef8dd31757 Improved Paint color matching, created _strokeThickness constant. 2022-04-27 12:26:17 -04:00
William Barnes b233809f6c Implemented _D2R, _R2D. 2022-04-26 20:33:35 -04:00
William Barnes f12cef7bfb Implemented _Cosh, _Sinh. 2022-04-26 20:29:34 -04:00
boxgaming 4d36f378eb
Merge pull request #16 from WFBarnes/main
Improvements to Point, implementation of Preset, Paint.
2022-04-26 14:26:38 -05:00
William Barnes eb31ea367a Improved readability of sub-Paint. 2022-04-26 14:40:26 -04:00
William Barnes dd2487d0d7 Merge branch 'main' of https://github.com/boxgaming/qbjs 2022-04-26 14:34:36 -04:00
William Barnes db616e15db Added Paint floodfill . 2022-04-26 14:34:12 -04:00
boxgaming a449a982b4 Added support for RGB colors defined with number literals 2022-04-26 10:28:01 -05:00
boxgaming 8234492c12 removed web keywords that were moved to separate modules 2022-04-26 10:24:17 -05:00
boxgaming 5ef13983fd added support for hex, oct, and binary number literals 2022-04-26 10:22:45 -05:00