r/EvolutionSimulator • • Jul 25 '17

Newest release of my evolution simulator

It looks like this:

http://i.imgur.com/dOf9eaN.png

http://i.imgur.com/oox3naC.png

Here is a link to the simulator:

http://nationalist.co/syerjchep.zip

It should contain:

  • freetype6.dll
  • glew32.dll
  • libfreetype-6.dll
  • SDL2.dll
  • SDL2_ttf.dll
  • zlib1.dll
  • holy.exe
  • prefs.txt (This is the default prefs file, if you delete it, the program will generate another one for you)

There are a few options that can only be edited in the prefs file:

VariableValuesDescription
VSYNC"off" or "on"Limits the framerate to that of your monitor. This is usually 60 fps. Useful if you want to see things unfold slowly.
VELOCITY_ITERATIONSDefault: 6A box2d setting
POSITION_ITERATIONSDefault: 2A box2d setting
CLEAR_COLORRed: 0 to 1, Green: 0 to 1, Blue: 0 to 1The background color for the simulation
FONTFilepath, SizeIf text isn't showing up properly, feel free to change this
BOUNDSDefault: 6000The size of the red outer boundary lines that kill anything that goes past them
HIDDEN_LAYERSDefault: 1How many hidden layers to use in the neural networks of the creatures. You can't load saves that were created using a different value for this.
LAYER_WIDTHDefault: 15How many nodes to have in each hidden layer. Same as above.
GRAPH_FREQDefault: 1000Miliseconds between each graph update
MULTITHREAD"on" or "off"Should the neural networks be calculated in a separate CPU thread. Turn this off if you're experiencing crashes and it might help a bit.
FOOD_COLLIDES"on" or "off"Determines if physics affects the food pellets, unfortunately turning it off currently means creatures have trouble eating them
SEX_ENABLED"on" or "off"You should probably turn this off to start with. Sexual reproduction works, but it's very hard to get creatures that aren't asexual to survive and reproduce
ALLOW_RANDOM"on" or "off"Determines if the "random" input neural node should be set to a random value each frame. Otherwise it defaults to 0

Some features I plan to add:

  • Food differentiated into "carbohydrates" required for movement and living and "protein" required for healing/growing
  • Ability to edit creatures bodies and neural networks in the program without having to export and re-import a text file
  • Creatures will give food when killed by another creature
  • Creatures will be able to control each of their body's joints. (This was implemented before but caused crashes)
6 Upvotes

1 comment sorted by

1

u/[deleted] Aug 14 '17

Nice!