Skip to content
This repository was archived by the owner on Jun 12, 2025. It is now read-only.

Commit 7e6e2a6

Browse files
author
Patrick Rye
authored
Merge pull request #29 from Dragon-Wonder/dev
Update Master to v5.0.1
2 parents 36affa0 + 52c002a commit 7e6e2a6

34 files changed

+4848
-1517
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,14 @@
5252
# Archived images that don't need to be on Github
5353
*.zip
5454
*.rar
55+
*.gz
5556

5657
# I'll name files this if I don't want them on Github
5758
*.tmp
5859

5960
# I store my SDL2 include and lib here
61+
/SDL2Stuff/
62+
/SDL2Stuff/*
6063
/SDL2Stuff/include/
6164
/SDL2Stuff/lib/
6265

@@ -67,3 +70,6 @@
6770
# Other Libraries (such as libjpeg-9) that I store the dll & license files here in case I decide to use them later.
6871
/OtherLibraries/
6972
/OtherLibraries/*
73+
74+
/gh-pages/
75+
Project/Experimental-Platformer-AI.layout.cbTemp

Cleanup.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ IF EXIST %~dp0Config.ini del /F %~dp0Config.ini
3434
IF EXIST %~dp0gmon.out del /F %~dp0gmon.out
3535
IF EXIST %~dp0Images.rar del /F %~dp0Images.rar
3636
IF EXIST %~dp0Images.zip del /F %~dp0Images.zip
37-
IF EXIST %~dp0PlatformerExperiment.exe del /F %~dp0PlatformerExperiment.exe
37+
::IF EXIST %~dp0PlatformerExperiment.exe del /F %~dp0PlatformerExperiment.exe
3838
IF EXIST %~dp0PlatformerExperiment-PRIVATE.exe del /F %~dp0PlatformerExperiment-PRIVATE.exe
3939
IF EXIST %~dp0PlatformerExperiment del /F %~dp0PlatformerExperiment
4040
IF EXIST %~dp0PlatformerExperiment-PRIVATE del /F %~dp0PlatformerExperiment-PRIVATE

Documentation/ChangeLog.md

Lines changed: 54 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,87 @@
33
All notable changes to this project will be documented here.
44
This project adheres to [Semantic Versioning](http://semver.org/)
55

6-
## [4.1.2] - 2015-09-04
6+
## [5.0.1] - 2017-02-21
7+
### Updated
8+
* Changed default away from human build
9+
10+
## [5.0.0] - 2017-02-21
11+
### Added
12+
* Expanded config file. You can now modifiy max number of steps, number of players each generation and number of best players taken each generation.
13+
14+
### Changed
15+
* Base monsters array is now a vector.
16+
* Various changes to improve code readiability and performance.
17+
* Defines changed to constexpr.
18+
* Lots of code clean up.
19+
* Removed some unneeded debug messsages.
20+
* Generations are now vector based.
21+
* Steps are now vector based.
722

823
### Fixed
24+
* Bug with play sometimes not collecting a coin
25+
* Bug with gravity not being applied correctly
26+
27+
## UNRELEASED [4.2.0] - 2015-09-22
28+
### Added
29+
* Human inputs for game under certain builds
30+
* Added 5 new brick textures
31+
* Map loading functionality
32+
* Doxygen Support
33+
* Messages that informs the user about the software status.
34+
35+
### Changed
36+
* Player and Monster movement is now velocity based.
37+
* Map
38+
* Map tiles now referenced in hexadecimal
39+
40+
### Notes
41+
* This version was never fully released on its own because I stopped working on it before it was ready for release.
42+
When I came back to it, there were too many things I wanted to changed for me to consider it under the same version number, so I just named those updates as v5.0.0
43+
44+
45+
## [4.1.3] - 2015-09-11
46+
### Added
47+
* An edge detector (testing the water with it)
48+
* Some states to monsters and players (this is mostly for later versions)
49+
50+
### Changed
51+
* Clock now runs off of seconds instead of ticks
52+
* Screen Loaded Boolens now grouped together
53+
* Colors now grouped together
54+
* Textures now grouped together
55+
* All map tile are now a single image with clipping
56+
57+
### Fixed
58+
* Issue with -s, -Os, or -O3 enabled during complie
59+
960

61+
## [4.1.2] - 2015-09-04
62+
### Fixed
1063
* VSnyc bug
1164
* Screen being jumpy as the player moves (screen is locked on the first 35 spaces until
1265
player goes to the 36th spot then it will be locked on the next 35 spaces, and so on.)
1366
* Font loading issue on Cygwin
1467

1568
### Added
16-
1769
* Player can now to nothing! Wow!
1870

1971
### Changed
20-
2172
* Error image is now embedded so that even if it cannot load images; it will show the error pictures instead.
2273
* If font cannot be loaded, messages won't appear instead of program closing
2374

2475

25-
## Old versions
26-
27-
```
2876

2977
## [4.1.1] - 2015-09-03
30-
3178
### Fixed
32-
3379
* A bug with screen height being linked to player height causing screen to be a bit strange.
3480

3581
### Note
36-
3782
* In this release I accidently left DEFINED_VER_STATUS as "Alpha" which means that the config file will always be replaced.
3883

3984

4085
## [4.1.0] - 2015-09-03
41-
4286
### Added
43-
4487
* Debug Compile batch file as well as a final Compile batch
4588
* SDL graphics for show map.
4689
* SDL TTF for text on screen.
@@ -49,7 +92,6 @@ This project adheres to [Semantic Versioning](http://semver.org/)
4992
* Note to ReadMe explaining that you HAVE to use SDL 2.0.4
5093

5194
### Changed
52-
5395
* clsConfig::exists to use the cstdio library instead of fstream
5496
* My_Icon.rc merged into Boilerplate.rc
5597
* Complie batch files updated for changes.
@@ -62,40 +104,33 @@ This project adheres to [Semantic Versioning](http://semver.org/)
62104
* Tick wait is decreased the longer the rest of the program runs for
63105

64106
### Removed
65-
66107
* Some redundant and pointless code.
67108
* Entity Start (now everything is handled in main.cpp)
68109

69110
### Fixed
70-
71111
* Private build define not properly registering in boilerplate
72112
* Prompt for using old config not working
73113

74114

75115
## [4.0.0] - 2015-08-21
76-
77116
### Notes
78-
79117
* This version has a completely rewritten code; I'll to remember the major things that are different but I may have forgotten stuff.
80118
* The main point of this rewrite was to improve the structure of the code so later changes are easier as opposed to adding a bunch of new features.
81119
* This was one big pain of a rewrite but hopefully it'll make things easier to improve upon in the future.
82120

83121
### Removed
84-
85122
* Generate Random Number Function as it was quite useless
86123
* Windows.h library requirement
87124
* The increase chance of the player with the highest fitness being selected over the other players.
88125

89126
### Changed
90-
91127
* Spilt the program into a lot more .cpp to better organize everything
92128
* Change complier from Cygwin to MinGW
93129
* Changed the icon (same author just different coloring)
94130
* Change log around so that the bullet points appear
95131
* The Read Me so that it is not off putting to the people who find the code. As well as better explain it.
96132

97133
### Added
98-
99134
* Classes
100135
* Tick with universal "sleep"
101136
* More debug messages.
@@ -110,13 +145,10 @@ This project adheres to [Semantic Versioning](http://semver.org/)
110145
* A short death animation
111146

112147
## [3.3.0] - 2015-08-05
113-
114148
### Added
115-
116149
* More comments to (hopefully) better explain stuff
117150

118151
### Changed
119-
120152
* The icon (like 3 times because I can't decide what I want)
121153
* File version numbering changed slightly in boilerplate
122154
For File Version it goes [MAJOR].[MINOR].[PATCH].[BUILD NUMBER]
@@ -133,50 +165,40 @@ This project adheres to [Semantic Versioning](http://semver.org/)
133165
* How "Mating" is done to make the New generation
134166

135167
### Fixed
136-
137168
* It just occurred to me that the program does not log the last player of a generation
138169
so I fixed that.
139170

140171

141172
## [3.2.0] - 2015-08-04
142-
143173
### Changed
144-
145174
* Player gets fitness boost for killing a monster
146175
* Monster from "O" to "+"
147176
* Name from Mario to Platformer!
148177
(Please don't sue me Nintendo!)
149178

150179
### Added
151-
152180
* Coins (are "O")
153181
* Score for player. Goes up after collecting coins, and killing monsters.
154182
Weighs into fitness (I did this because under hard mode these actions would not effect fitness)
155183

156184

157185
## [3.1.0] - 2015-08-04
158-
159186
### Added
160-
161187
* Multiple jumps allowed; it is configurable
162188
* Configurable Jump height
163189

164190
### Changed
165-
166191
* How player falling is handled.
167192
* Config functions split into its own .cpp
168193
* Changed Monster symbol from '?' to 'O'
169194

170195
### Fixed
171-
172196
* Bug where all fitnesses were displayed as 0 because I was
173197
restarting the map before I recorded the fitness -_-
174198

175199

176200
## [3.0.0] - 2015-08-04
177-
178201
### Changed
179-
180202
* Made several variable defined at the start of the code to make them easier to change.
181203
These include:
182204
* Map Height
@@ -189,87 +211,67 @@ restarting the map before I recorded the fitness -_-
189211

190212

191213
## [2.1.0] - 2015-08-03
192-
193214
### Added
194215
* Program now checks version number written to config file with its own
195216
if the numbers do not match it will overwrite the old file with a new one
196217
this is to prevent program crashing bugs if I add something to a new config
197218
that isn't in the old one.
198-
199219
* Added Icon to complied application (will likely change later just testing what I can do.)
200220

201221
### Changed
202-
203222
* A player "jumping" on a monster will kill it.
204223

205224

206225
## [2.0.0] - 2015-08-01
207-
208226
### Added
209-
210227
* "Hard Mode" in config
211228
* With this enabled players die under more conditions
212229

213230
### Changed
214-
215231
* Fitness drop from frames increased.
216232
* Code performance increased (removed unneeded for loops)
217233
* Map up a bit to increase the chances of a player making it through
218234

219235
### Removed
220-
221236
* A lot of debugging lines I commented out
222237

223238

224239
## [1.2.1] - 2015-08-01
225-
226240
### Fixed
227-
228241
* A misplaced check of if the map should be shown that crashed the program
229242

230243

231244

232245
## [1.2.0] - 2015-08-01 - [YANKED]
233-
234246
### Added
235-
236247
* Version Number added to Config file
237248

238249
### Fixed
239-
240250
* Monster movement is no longer randomly move.
241251
Hopefully to improve survivability between generations
242252

243253

244254

245255
## [1.1.2] - 2015-08-01 - [YANKED]
246-
247256
### Fixed
248-
249257
* Best Player list no longer appears on show map update
250258

251259

252260

253261
## [1.1.1] - 2015-08-01
254-
255262
### Fixed
256-
257263
* Increase wait delay from 20 to 65 so updating is not so jarring.
258264

259265

260266

261267
## [1.1.0] - 2015-07-31
262-
263268
### Added
264-
265269
* Wait between show map: 20 ms
266270

267271
### Changed
268-
269272
* Map no longer waits for pause between EVERY update.
270273

271274
### Fixed
272-
273275
* A monster walking into a player will kill them
274276
* A player attempting to jump with a block two spaces above them will only jump 1 block
275277
* Player can no longer jump through a 1 block high platform
@@ -279,22 +281,16 @@ restarting the map before I recorded the fitness -_-
279281

280282

281283
## [1.0.0] - 2015-07-31
282-
283284
### Added
284-
285285
* Monsters that move randomly
286286

287287

288288

289289
## [0.9.0] - 2015-07-29
290-
291290
### Added
292-
293291
* Change Log
294292
* Config file so I don't have to keep recompiling to test stuff
295293

296294
### Notes
297-
298295
* Original
299296

300-
```

Documentation/Credits.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,26 @@
22

33
We would like to thank the following people for their work and support (knowingly or not) towards this project.
44

5-
```
5+
66
[Daniele De Santis] (http://www.danieledesantis.net/) for his icon that is currently being used for the project.
77

8+
[Sandro Pereira] (http://sandrodcpereira.deviantart.com/?rnrd=50936) for his/her Coin image that is used.
9+
10+
[Hopstarter](http://hopstarter.deviantart.com/) for his/her error image that is used.
11+
12+
[SpoonGraphics](http://blog.spoongraphics.co.uk/) for his/her monster image that is used.
13+
14+
[Oxygen Team] (http://www.oxygen-icons.org/) for his/her save icon.
15+
16+
[IconsMind] (https://www.iconsmind.com/) for his/her close icon.
17+
18+
[Icojam] (http://www.icojam.com) for his/her left and right arrow icons.
19+
20+
[Eponasoft] (http://opengameart.org/content/basic-bricks) for his/her wall textures.
21+
822
The Developers of the [SDL Library] (https://www.libsdl.org/credits.php)
923

1024
Mr Foo for his amazing tutorial on SDL, which can be found [here](http://lazyfoo.net/)
1125

1226
Sam Lantinga for his SDL TTF library
13-
```
27+

0 commit comments

Comments
 (0)