„README.md“ ändern

master
Justus Jan Nico Wolff 2022-08-05 21:31:10 +02:00
parent f0b18e4976
commit 9999091b00
1 changed files with 1 additions and 0 deletions

View File

@ -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