Compare commits

...

3 Commits

Author SHA1 Message Date
28c4b421d2 Made changes to script
I renamed the file to reflect that it is only for MinGW (I plan to create
similar scripts for other operating systems), and added code to zip the release folder,
inside the shell script.
2024-03-07 07:49:39 -05:00
13ce75067b Updated TODO 2024-03-07 07:48:28 -05:00
635d71f1c5 Slightly lowered speed, to make the game a little easier to play 2024-03-07 07:46:38 -05:00
3 changed files with 4 additions and 2 deletions

View File

@@ -19,3 +19,6 @@ cp "$BASE_DIR/build/pong" "$REL_DIR"
# Remove the temporary file.
rm "$BASE_DIR/tmp_file.txt"
#Zip the $REL_DIR folder
zip -r "$BASE_DIR/release/netpong-win.zip" "$REL_DIR"

View File

@@ -38,7 +38,7 @@ const int PADDLE_SPEED = 8;
const int CIRC_RAD = 10;
const float BASE_BOUNCE_DEG = 45;
const float BASE_BOUNCE_RAD = (BASE_BOUNCE_DEG / 180.0) * M_PI;
const float BASE_SPEED_COMPONENTS = 18;
const float BASE_SPEED_COMPONENTS = 15;
const float BASE_SPEED = sqrt(powf(BASE_SPEED_COMPONENTS, 2) * 2);
typedef enum {M_SINGLE, M_CLIENT, M_SERVER} Mode;

View File

@@ -1,5 +1,4 @@
1. Try to make the ball go between screens.
2. Reduce ball speed.
3. Add code to zip the dist/ folder inside the release_build script.
4. Sign Windows executable, to remove 'Unknown Publisher' warnings.
5. Remove debugging print statements.