Commit Graph

56 Commits

Author SHA1 Message Date
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
d269760c80 Progress on adding GL shader system. 2020-05-28 13:51:44 -05:00
93937a8b34 Refactoring. 2020-05-28 10:20:54 -05:00
fb9bbdd123 Added more OpenGL delegates, and restructured game manager.
Largely untested.
2020-05-28 10:19:38 -05:00
1a2ef5a109 Fixed imports. 2020-05-28 00:56:45 -05:00
d1ed96e7ed Progress on OpenGL portion. 2020-05-28 00:55:23 -05:00
af7c1b37f9 Improved window and input handling.
Window now has some events.

Keyboard and mouse implemented.
2020-05-27 20:24:02 -05:00
e6230c013b Made sure division is done to double values instead of ints. 2020-05-27 11:20:18 -05:00
9ecfd079b2 Game engine now uses timespan structures to be more precise. 2020-05-27 11:07:18 -05:00
a3401e1c22 Removed console logging. 2020-05-27 10:24:57 -05:00
4fc84e6a97 Updated gitignore to ignore .log files. 2020-05-27 10:24:47 -05:00
442d357626 Improved dispose structure. 2020-05-27 00:33:26 -05:00
a013c476e7 Began working on a graphical playground for testing.
Improved SDL exception class.

Engine code changes.

General progress.
2020-05-27 00:20:41 -05:00
0f0395fd63 Class rename that accounts for potential changes. 2020-05-26 21:07:58 -05:00