Commit graph

17 commits

Author SHA1 Message Date
Zed A. Shaw
4c3a4b2501 A bit more working on goc to support windows. 2024-05-05 04:09:43 -04:00
Zed A. Shaw
6363457d0f Add a little click sound to test out sounds. 2024-04-28 19:43:59 -04:00
Zed A. Shaw
8f3840b602 Add a fun little meh face guy for a sprite. 2024-04-27 21:36:38 -04:00
Zed A. Shaw
321e4ddbf0 Preparing for more cleaned up design but that'll involve finally learning C++ again since I will want to make a class or struct to hold game state and other things. 2024-04-27 21:08:36 -04:00
Zed A. Shaw
6735355e28 Need some extra stuff to make it work in mingw on Windows. 2024-04-27 00:39:01 -04:00
Zed A. Shaw
ae93ac52b8 Apply some torque to it so it spins. 2024-04-27 00:07:14 -04:00
Zed A. Shaw
084a9c59a6 Make the arrow keys work too. 2024-04-27 00:04:50 -04:00
Zed A. Shaw
38c0fee65c Now box 2d lets you move the box around with right and left mouse buttons. 2024-04-27 00:03:48 -04:00
Zed A. Shaw
285cd4971f And now clicking with a mouse jumps the square to that spot. 2024-04-26 21:50:37 -04:00
Zed A. Shaw
37199bdd19 Now you can move the square around with the keyboard. 2024-04-26 21:40:48 -04:00
Zed A. Shaw
4cb1465dbc And now it's spinning ni the center. I don't know why x=100, y=100 is the center origin of a 100x100 square so more research needed. 2024-04-26 21:15:53 -04:00
Zed A. Shaw
c3d16f7930 Now I have a spinning square in the center and a clock. Kind of a weird spin but it work. We got motion. 2024-04-26 21:12:12 -04:00
Zed A. Shaw
29a9949498 Testing out the threads with C++11 lambdas. 2024-04-26 20:30:07 -04:00
Zed A. Shaw
d2dfb72775 Super jank clock in ImGUI to learn the SFML time keeping functions. 2024-04-26 19:43:43 -04:00
Zed A. Shaw
e7efc197a1 Quick hack to watch my source and rebuild. 2024-04-26 19:14:28 -04:00
Zed A. Shaw
53bc5c93ed Try out fmt which is a very nice printing/formatting library. 2024-04-25 01:41:35 -04:00
Zed A. Shaw
b4ff44788a Bring in a simple SDL2 demo for completeness. It's running in a main.cpp to test SDL2 in C++. 2024-04-24 06:51:37 -04:00
Renamed from sfmldemo/sfmlprog.cpp (Browse further)