more print stuff

pull/1/head
Julius Riegel 7 years ago
parent f4d4902233
commit 61948531c8

@ -2,7 +2,7 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="49388e57-2b9e-468a-b880-1d7fb243112d" name="Default" comment=""> <list default="true" id="49388e57-2b9e-468a-b880-1d7fb243112d" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/update.sh" afterPath="$PROJECT_DIR$/update.sh" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/main.py" afterPath="$PROJECT_DIR$/main.py" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" /> <option name="TRACKING_ENABLED" value="true" />
@ -26,11 +26,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="main.py" pinned="false" current-in-tab="false"> <file leaf-file-name="main.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/main.py"> <entry file="file://$PROJECT_DIR$/main.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="287"> <state relative-caret-position="474">
<caret line="25" column="26" lean-forward="false" selection-start-line="25" selection-start-column="26" selection-end-line="25" selection-end-column="26" /> <caret line="36" column="26" lean-forward="false" selection-start-line="36" selection-start-column="26" selection-end-line="36" selection-end-column="26" />
<folding> <folding>
<element signature="e#0#19#0" expanded="true" /> <element signature="e#0#19#0" expanded="true" />
</folding> </folding>
@ -38,7 +38,7 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="update.sh" pinned="false" current-in-tab="true"> <file leaf-file-name="update.sh" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/update.sh"> <entry file="file://$PROJECT_DIR$/update.sh">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="51"> <state relative-caret-position="51">
@ -85,8 +85,8 @@
<option value="$PROJECT_DIR$/motor.py" /> <option value="$PROJECT_DIR$/motor.py" />
<option value="$PROJECT_DIR$/servo_2.py" /> <option value="$PROJECT_DIR$/servo_2.py" />
<option value="$PROJECT_DIR$/thermo.py" /> <option value="$PROJECT_DIR$/thermo.py" />
<option value="$PROJECT_DIR$/main.py" />
<option value="$PROJECT_DIR$/update.sh" /> <option value="$PROJECT_DIR$/update.sh" />
<option value="$PROJECT_DIR$/main.py" />
</list> </list>
</option> </option>
</component> </component>
@ -456,16 +456,6 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/servo_2.py" /> <entry file="file://$PROJECT_DIR$/servo_2.py" />
<entry file="file://$PROJECT_DIR$/thermo.py" /> <entry file="file://$PROJECT_DIR$/thermo.py" />
<entry file="file://$PROJECT_DIR$/main.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="287">
<caret line="25" column="26" lean-forward="false" selection-start-line="25" selection-start-column="26" selection-end-line="25" selection-end-column="26" />
<folding>
<element signature="e#0#19#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/update.sh"> <entry file="file://$PROJECT_DIR$/update.sh">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="51"> <state relative-caret-position="51">
@ -474,5 +464,15 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/main.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="474">
<caret line="36" column="26" lean-forward="false" selection-start-line="36" selection-start-column="26" selection-end-line="36" selection-end-column="26" />
<folding>
<element signature="e#0#19#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component> </component>
</project> </project>

@ -27,12 +27,14 @@ def main():
#pygame stuff #pygame stuff
screen = graphiclib.Screen(size=(1000,1000)) screen = graphiclib.Screen(size=(1000,1000))
print('created screen')
all_sprites = pygame.sprite.RenderUpdates() all_sprites = pygame.sprite.RenderUpdates()
list = graphiclib.List((0,0),(500,1000)) list = graphiclib.List((0,0),(500,1000))
all_sprites.add(list) all_sprites.add(list)
all_sprites.add(camera) all_sprites.add(camera)
clock = pygame.time.Clock() clock = pygame.time.Clock()
running = True running = True
print('in running loop')
while running: while running:
clock.tick(25) clock.tick(25)

Loading…
Cancel
Save