From 9999091b00519a163a855de1f7985bd9a6fcf399 Mon Sep 17 00:00:00 2001 From: Justus Jan Nico Wolff Date: Fri, 5 Aug 2022 21:31:10 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0a78fde..dd252ce 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ if you want to control the hashtag use this code: import time #imports the time module import main #imports the hashengine module +import keyboard #imports the keyboard module game = main.game() # makes a variable with the game instance box = main.object("#", y=10, gravity=0.1, antixforce=1) # creates the box antixforce selects the braking gravity selects the gravity y selects the y start position x selects the x start position character selects what character the object should be in our case a hashtag just experiment with the settings and you may programm something cool! game.addobj(box) # adds the box to the game so the game knows that it exists