Commit Graph

69 Commits

Author SHA1 Message Date
e4b7c12dbb Refactored and removed overlap check. Fixed contain check.
Overlap was built in.

check for vector in rectangle was bugged. Fixed now.
2020-07-11 17:07:04 -05:00
72925842b7 Fixed object pool unlimited mode. 2020-07-11 11:45:03 -05:00
326d97bd64 Added size limit to pool. 2020-07-11 11:18:16 -05:00
ab58480434 Added overlap detection against rectangles and points. 2020-07-11 01:38:24 -05:00
d4efce48c3 Added pooling system. 2020-07-11 01:37:45 -05:00
f339a33d3e State Manager now calls activate on the initial state. 2020-07-10 23:48:50 -05:00
1f8bc5fb61 Fixed choppiness with variable framerate.
Note: framerate seemed to decrease, may be due to processes at the time.
2020-07-10 23:48:30 -05:00
110c7dbfad Added easy way of switching to nearest filtering. 2020-07-10 21:56:11 -05:00
75f691133a Rectangle mesh texture bounds can now be changed. 2020-07-10 21:55:12 -05:00
4b1e57ac72 More data safety checking, doesn't load spaces. 2020-07-10 19:00:36 -05:00
f4aa9b7ffb Removed useless code, fixed early SDL quitting. 2020-07-10 18:05:14 -05:00
98869c2d38 Added default path modifier, fixed how it references assets. 2020-07-10 18:04:56 -05:00
68c506670b glClearColor never actually generates an error. 2020-07-10 18:01:09 -05:00
3bb56a50d1 Changed how interpolation between updates happen. 2020-07-07 14:16:31 -05:00
512b5f4b13 Refactored, and added separate constructor for custom shader. 2020-07-07 01:41:12 -05:00
614602e7cd MeshBatch now records states to reduce data sent to shader per call. 2020-07-07 01:07:33 -05:00
fd7edc2629 Fixed typo, playground debug now attaches log listener on toggle. 2020-07-06 18:06:46 -05:00
636efaaaf9 Updated readme. 2020-07-06 14:30:18 -05:00
74b1728dcb Fixed some typos. 2020-07-06 14:04:49 -05:00
80adda7afb Mainstate view ratio corrected, camera2D takes float dimensions now.
added additional debug logging.
2020-07-06 12:23:56 -05:00
319ade258e Refactoring. 2020-07-05 23:45:04 -05:00
b2a47ebefc Refactoring, added more logging, minor command structure change. 2020-07-05 23:32:50 -05:00
63a31c491d So loud added, changed how dependencies are organized. 2020-07-05 22:50:54 -05:00
02c1ceae14 Adding soloud stuff. 2020-07-05 02:06:25 -05:00
7d418a75ff Restructured logging in tools. 2020-07-04 18:57:59 -05:00
b744ae653c Changed to custom logging solution. 2020-07-04 18:41:06 -05:00
30d7221a85 Added unit measurements to bitmap font. 2020-07-04 17:29:20 -05:00
5a8e7a9ccb Added line breaks to bitmap font. 2020-07-04 16:14:32 -05:00
75ef59293f Changed how the bitmap font prepares characters.
Playground was updated to reflect this.
2020-07-04 13:35:38 -05:00
0e3f1dfef3 Main state changed to reflect font rendering capability. 2020-07-04 00:39:40 -05:00
fbda9b912f Added yielding, input refreshes as fast as possible. 2020-07-04 00:39:23 -05:00
3ecd32520c Moved inputs inside update section of game loop. 2020-07-03 18:17:07 -05:00
ad77fec3a2 Bitmap font system works. 2020-07-03 18:07:55 -05:00
378712283a Fixed missing mesh. 2020-07-02 14:51:45 -05:00
a881f1a086 Basic font rendering working. 2020-07-02 13:13:04 -05:00
56eca1b0d6 New LRU cache with unit tests in preparation for TTF font rendering. 2020-06-27 17:11:31 -05:00
bb3d0bced5 Refactoring. 2020-06-27 17:09:21 -05:00
9f6ef94f06 MeshBatch now only pushes camera matrices when nessecary. 2020-06-27 17:09:15 -05:00
364803bf6c Changed dependencies, added dependencies for TTF rendering. 2020-06-26 22:10:29 -05:00
0225f0821c Restructuring and clean up. Preparation for loading library. 2020-06-25 11:19:39 -05:00
bbdafb2489 Added camera axis' for convenience.
Untested.
2020-06-25 11:18:54 -05:00
8827bfbb78 Added linear interpolation between updates to mesh batch.
Cleaned up code.
2020-06-25 00:05:44 -05:00
e781aea776 MeshBatch now renders with or without textures.
General structure clean up as well.
2020-06-23 23:54:42 -05:00
6a19d1f5c7 Basic rendering with camera controls are functional. 2020-06-23 20:07:12 -05:00
1c4ca6c97b Lots of progress on rendering textures. 2020-06-05 23:49:45 -05:00
23597f02b1 Began implementing an asset loading system. 2020-06-03 01:36:24 -05:00
484dbbece3 Fixed issue with incorrect delegate signature. 2020-06-01 16:32:18 -05:00
e59e78e08c General progress on getting OpenGL based rendering. 2020-06-01 01:28:03 -05:00
5e85eb5de1 Cleaned up code and added some parameter checks.
Removed some unused code fragments from older plans.
2020-05-29 00:01:05 -05:00
51cfc84cc7 More progress on shader implementation.
Changed engine OpenGL version to 4.1.

Added OpenGL program pipeline handles.

Added fragment shaders.

Some class name changes.
2020-05-28 23:22:44 -05:00