Commit Graph

73 Commits

Author SHA1 Message Date
Ben
25baf06b3f SDL configs 2018-11-29 18:17:21 +00:00
Ben
ac22247b08 Fixed compile error 2018-11-29 18:07:12 +00:00
Ben
26bbbf09ec Updated CMakeLists.txt to compile the entity system 2018-11-29 15:14:29 +00:00
Ben
68802b5749 Added some to the entity code and changed up the header for ResourceManager to include a virtual destructor 2018-11-29 14:52:24 +00:00
Ben
883d152893 Started an entity system 2018-11-29 14:23:16 +00:00
Ben
30168411c7 Rect classes and basic texture management with SDL_image 2018-11-29 14:12:00 +00:00
Ben
fbf2a65515 Updated TODO and CMake to hopefully compile on windows and linux and link SDL_image 2018-11-29 09:29:34 +00:00
plane000
b7305b33c6 Windows DLLs and (not working) windows build support 2018-11-28 20:16:33 +00:00
Ben
63ec7cc955 baic rendering and a bit on keyboard 2018-11-28 18:25:20 +00:00
Ben
6d6e9b7fd0 Added gitignore and vscode dependancy 2018-11-28 16:01:42 +00:00
Ben
93e2e109e5 Input handling and basic render capabilities along with an updated CMakeList 2018-11-28 16:01:12 +00:00
Ben
62a36bacd7 Removed Makefile generated by cmake 2018-11-27 21:11:01 +00:00
Ben
1c5a04674e WHYYY 2018-11-27 20:58:20 +00:00
Ben
66692fb863 Compiles with SDL2 and Cmake, ready for rewrite 2018-11-27 20:48:41 +00:00
Ben
6cf2cd35e4 Sorting out CMake and SLD2 2018-11-26 22:09:34 +00:00
Ben
92d63e8308 Trying to get smooth animation working but there's a null access pointer issue 2018-10-12 18:50:26 +01:00
Ben
d2c53faa7d Removed previous examples 2018-10-11 15:50:42 +01:00
Ben
e20929ffa9 Camera now applied to more render calls and started a demo 2018-10-11 15:17:45 +01:00
plane000
9b13205b86 Added todo in code and removed useless image 2018-10-10 20:32:31 +01:00
plane000
faf47367eb Noticed posible future memory leak, Camera class complete, zoom not working, TODO updated and entity class constructor bug where m_renderer was nullptr fixed 2018-10-10 20:24:33 +01:00
Ben
49b3aa9904 Camera class ready for rendering implimentation 2018-10-10 12:47:52 +01:00
Ben
053aa9e91a Rect class GetX, GetY, GetW, GetH now exist for camera calculations in the future 2018-10-10 11:39:26 +01:00
Ben
1757c67ab3 Camera class now can be passed to renderer and game to apply an active camera 2018-10-10 11:32:32 +01:00
Ben
7e259e4a02 Updated TODO.txt with new developments 2018-10-09 16:39:14 +01:00
Ben
c93d7e4927 (STABLE BUILD) all errors resolved, refractor complete 2018-10-09 16:36:47 +01:00
Ben
725536a4c3 (BROKEN) finished refractor, weird compiler and intelisense bugs, not sure what's wrong 2018-10-09 09:09:33 +01:00
Ben
f6e42e5f72 (BROKEN) started to refractor as stated in TODO 2018-10-08 17:54:43 +01:00
Ben
91cc2343e4 Added render functions, now moving everything to use rect and render functions 2018-10-08 13:32:20 +01:00
plane000
5e5f4b5d0f Project files 2018-10-06 17:00:38 +01:00
plane000
d77bed5c5a nmuch 2018-10-06 16:59:05 +01:00
plane000
e2ade750d1 Camera class complete 2018-10-06 16:27:37 +01:00
plane000
ff67b7fe8c Rectangle class complete 2018-10-06 16:07:04 +01:00
Ben
d5b9d88a30 Upadted TODO.txt 2018-10-06 11:51:28 +01:00
Ben
e08080bdfd Updated files, new rect plan and updated TODO.txt 2018-10-06 11:49:38 +01:00
Ben
048cbd1fe4 todo list and camera class 2018-10-04 16:39:57 +01:00
plane000
c75c0a84a2 not really done anything 2018-10-03 20:16:06 +01:00
Ben
be120ebb37 VS project files diddnt update in the last commit 2018-10-03 15:28:17 +01:00
Ben
40ff1ecc4d added some new files and started on a GameWorld and Camera structures 2018-10-03 14:08:56 +01:00
plane000
72d3f76de4 Spritesheet cutting working 2018-10-02 20:21:56 +01:00
Ben
89e0180174 Sprite class coming along, spritemap rendering almost working as intended, just gotta clean up and deallocate variables properly now 2018-10-02 16:36:03 +01:00
plane000
a95c631386 sprite maps 2018-10-01 20:56:07 +01:00
plane000
12d18f4059 Done all README and COC and Contributing, made an example showcase game and updated the Entity and Sprite classes 2018-10-01 19:30:14 +01:00
Ben
1b2e620f40 Worked on the sprite class, got texture loading working with sprite class, addad garbage colection to entities and sprites, and also added maintatining aspect ratio in the entity render 2018-10-01 15:02:23 +01:00
plane000
32e44a9018 not much 2018-09-30 15:59:36 +01:00
plane000
24b195e1da Removed useless implimentation cpp file 2018-09-29 19:39:32 +01:00
plane000
b944337044 Framerate independent logic updater, and started the sprite class 2018-09-29 19:38:55 +01:00
plane000
7962e94e7d Testing somthign 2018-09-29 16:16:27 +01:00
plane000
d0d649df9d line abstraction for entity class 2018-09-29 16:03:27 +01:00
plane000
6a470f4457 Cube entity abstractions complete 2018-09-29 13:50:30 +01:00
Ben
119649353c MathHelper and entity abstractions 2018-09-29 10:42:47 +01:00