Maddy Thorson
bc2dfc73ce
More Module setup
2021-02-20 19:13:31 -08:00
Maddy Thorson
bb7e3de917
Working on the module system more + some cleanup
2021-02-20 17:17:47 -08:00
Maddy Thorson
bfd044544a
Restructuring - added modules
2021-02-18 23:06:00 -08:00
Maddy Thorson
6c37bb7af5
Imgui debug overlay hooks
2021-02-17 22:11:52 -08:00
Maddy Thorson
71d17afa78
Added ImGui dependency and hooked it up
2021-02-16 22:56:49 -08:00
Maddy Thorson
3aff5a3c3f
Struct helpers
2021-02-13 16:50:50 -08:00
Maddy Thorson
d9c75b1e0d
Facings operators
2021-02-11 22:50:20 -08:00
Maddy Thorson
c546c69434
Vector operators. Rect constructor. Scene condition getters
2021-02-11 16:53:19 -08:00
Maddy Thorson
c5ae789804
Hitbox helpers
2021-02-10 22:43:09 -08:00
Maddy Thorson
ed35a605fc
Entity.All tweak
2021-02-10 22:16:55 -08:00
Maddy Thorson
671e25f7ce
Calc.Pi
2021-02-08 23:22:30 -08:00
Maddy Thorson
6e1c8c7558
Image scale/rotation works
2021-02-08 22:43:25 -08:00
Maddy Thorson
9f1f04358b
Vector.Transform. Batcher Matrix Stack. Image component
2021-02-08 22:36:48 -08:00
Maddy Thorson
ccf4db2f9f
Grid out of bounds checks snap into bounds. RemoveSelf->Destroy
2021-02-07 18:01:14 -08:00
Maddy Thorson
33dad92fcf
Components of removed Entities untracked
2021-02-07 14:43:42 -08:00
Maddy Thorson
b41ff6078c
Timer empty constructor
2021-02-07 14:13:35 -08:00
Maddy Thorson
3b681a0149
Cardinals IsHorizontal, IsVertical
2021-02-07 00:01:04 -08:00
Maddy Thorson
7f1c1d8337
IEarlyUpdate
2021-02-06 23:41:43 -08:00
Maddy Thorson
1fb4ed7c9b
Tracker fixes and debug methods. ComponentInterfaceAttribute removed, interface use is auto-detected. Scene actually calls update and draw methods
2021-02-06 23:13:02 -08:00
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