diff --git a/README.md b/README.md index 35c19910e18cedd18f10046236edb51e0388b575..c6ec5e7634a87c61f1001cc08842d51e9e427336 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,17 @@ Download all the files to convinient folder. # Setup There are a few variables you can change in Godot +You can open the script by clicking like shown in the screenshot: + + ## World +Lines: 39-41 1. human_player: If set to true, you can drive with wasd and brake with space. Otherwise it waits for a client to connect. 2. learn_with_images: Also returns a 60x80 screenshot of the game in every step, if set to true. 3. show_game: If set to false, it won't render the game, but still sends all the information to the client. ## Car +Lines: 5-8 1. brake_str: Can be used to reduce the brake-strength of the car. 2. NUMBER_OF_SENSORS: Determines the number of sensors around the car (Always start at the front and goes clockwise). 3. max_range_sensor: Range of the sensors in pixels (~31 m) @@ -35,11 +40,14 @@ There are a few variables you can change in Godot ## Godot 1. Start Godot -2. Click Scan to a a new project and select the folder with the downloaded files +2. Click Scan to add a new project and select the root folder of the downloaded files 3. Now doubleclick the project 4. Run the Project by pressing F5 ## Python 1. After starting the Project in Godot you can run your own Python programm or the example progamm (main_test) from the files +- Press "Windows"-Key + "R" and type "cmd" +- Type "cd (your rootfolder)/" +- To run the example code type "python main_test.py" ___ Created by Midras Lappe and Theo Brockmann diff --git a/Variabeln.PNG b/Variabeln.PNG new file mode 100644 index 0000000000000000000000000000000000000000..60f9606a84f164a8ff382d46ce73386ab3bca11c Binary files /dev/null and b/Variabeln.PNG differ