Commit Graph

121 Commits

Author SHA1 Message Date
Maddy Thorson
5dde4ce375 Cleaning 2021-02-06 18:38:53 -08:00
Maddy Thorson
0b39478d1b Collision condition order change. Entity Component getters. Calc.RoundToInt 2021-02-06 18:36:56 -08:00
Maddy Thorson
86b05c648b Collision-with-condition checkers. Entity/Component Awake timing fixes. Batcher.Pixel() 2021-02-06 16:37:38 -08:00
Maddy Thorson
3d5130b45b Big restructuring - sample game is currently broken 2021-02-04 23:11:51 -08:00
Maddy Thorson
05c79b296e Texture filter neartest by default 2021-02-02 18:31:22 -08:00
Maddy Thorson
e359824c4d Logs also go to console 2021-02-02 18:08:39 -08:00
Maddy Thorson
621b044748 Moved Assets.bf. Sprites loading 2021-02-02 18:08:32 -08:00
Maddy Thorson
80c6cf0799 Some quick warning fixes 2021-02-01 19:36:20 -08:00
Maddy Thorson
937479c09d
Merge pull request #3 from Booklordofthedings/patch-1
Display alpha value properly
2020-11-09 10:39:04 -08:00
Booklordofthedings
fea1ce4aaa
Display alpha value properly
The alpha of textures currently only displays as black and not as see through.
This fixes that issue.
2020-11-09 18:04:59 +01:00
Matt Thorson
9ded760c78
Merge pull request #2 from thibmo/contrib_Fix_Textures
Fix textures
2020-11-08 17:04:44 -08:00
Thimo
0c69b4a31e Properly implement texture Mipmap generation
* Add missing GL_GENERATE_MIPMAP
* Add one-time retrieval of glGetIntegerv(GL_MAJOR_VERSION, *)
* Opt for Mipmap generation methos based on OGL version major (<3.0 = GL_GENERATE_MIPMAP, >=3.0 = glGenerateMipmap)
2020-11-08 14:56:30 +01:00
Thimo
ae8ffdd2e3 Fix texures
* Add missing Mipmap generation call
* Add missing state clearing
* Add optional linear Mipmap flag setting
* Add optional edge clamping
* Fix texture orientation in Batcher.bf
* Fix example
2020-11-08 14:20:08 +01:00
Thimo
decb8b855d Add hitbox outline utility method 2020-11-08 14:12:08 +01:00
Thimo
d6713c3a96 Fix compiler warnings 2020-11-08 14:09:47 +01:00
Matt Thorson
658624a73d generic Calc.Approach 2020-09-22 20:57:43 -07:00
Matt Thorson
7603c2e795 Rendering Matrix stuff 2020-09-22 15:54:15 -07:00
Matt Thorson
0203ffbef7 Point is IHashable 2020-09-22 12:15:56 -07:00
Matt Thorson
610ef2308f Entity and Component Ended() 2020-09-19 22:46:45 -07:00
Matt Thorson
8747ae1cab Batcher helpers 2020-09-13 22:53:53 -07:00
Matt Thorson
ce684b1d16 State simplified 2020-09-13 17:38:48 -07:00
Matt Thorson
ce099d0cc8 Moved example physics stuff into the sample game 2020-09-12 23:52:13 -07:00
Matt Thorson
ae21809566 More renderer work 2020-09-08 20:20:26 -07:00
Matt Thorson
52d1d5f383 renderer work 2020-09-06 23:11:45 -07:00
Matt Thorson
82f1f412eb Simplifying PlatformLayer a bit. Setting up texture loading 2020-08-23 18:12:15 -07:00
Matt Thorson
1c084b55f9 OpenGL rendering hooked up. Better platform layer abstraction 2020-08-16 22:00:13 -07:00
Matt
5d62a86947 Basic rendering works 2020-08-14 18:40:07 -07:00
Matt
ae0f4c6e19 OpenGL Batcher work 2020-08-14 18:23:02 -07:00
Matt Thorson
c53bc96a5d Very basic rendering 2020-08-09 18:28:55 -07:00
Matt Thorson
637dcb21a3 Rendering stuff 2020-08-09 01:29:46 -07:00
Matt Thorson
5cef6c2b26 Texture setup 2020-08-08 14:39:08 -07:00
Matt Thorson
7329e98beb Cleanup. GL bindings 2020-08-03 22:45:50 -07:00
Matt Thorson
1bf3c1a62f Setting up open gl stuff 2020-08-03 22:02:05 -07:00
Matt Thorson
823656d8e5 PlatformLayer in, except rendering 2020-08-03 19:09:45 -07:00
Matt Thorson
d736ded07e Console commands work 2020-06-24 23:04:37 -07:00
Matt Thorson
7e929f77fc Draw overloads 2020-06-20 17:31:04 -07:00
Matt Thorson
75364ade37 More console progress 2020-06-20 14:03:45 -07:00
Matt Thorson
9de0160957 Console work 2020-06-18 00:13:50 -07:00
Matt Thorson
f95e638e91 Generalized keystroke->String to a method in Input 2020-06-16 22:38:00 -07:00
Matt Thorson
3af854f3f0 Console key detection 2020-06-16 22:18:28 -07:00
Matt Thorson
ae377c7117 Merge branch 'master' of https://github.com/MattThorson/Strawberry 2020-06-16 00:05:26 -07:00
Matt Thorson
4e3ee63074 Console and Input work 2020-06-16 00:05:23 -07:00
Matt Thorson
9f7f63980d
Update README.md 2020-06-15 23:15:01 -07:00
Matt Thorson
f325ed2598 Memory leak fix. Start of debug console 2020-06-15 23:13:29 -07:00
Matt Thorson
f1285179cd Loading fix. Font usage changes 2020-06-15 22:41:35 -07:00
Matt Thorson
de0146e4e5 Simple font loading and rendering 2020-06-15 00:56:01 -07:00
Matt Thorson
2a9940d7bd Assets split off. Better Calc.Log 2020-06-14 20:48:01 -07:00
Matt Thorson
951cd6bd07 Tween fix 2020-06-14 20:05:18 -07:00
Matt Thorson
bdd32cba8b Tween component. Bezier struct 2020-06-14 20:04:26 -07:00
Matt Thorson
5fdc34c610 Camera stack 2020-06-14 17:56:16 -07:00