From dfbd4c267efaf49f3c8ff7f784e75d9298af48f6 Mon Sep 17 00:00:00 2001 From: Jasper Date: Mon, 30 Dec 2013 12:01:08 +0100 Subject: [PATCH] Update ReadMe.rst A small modification in the example code. A change was made to the shader configuration but was not updated in the example code. Extra modifications has been made to make the sprite line more clear. --- ReadMe.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReadMe.rst b/ReadMe.rst index f7efc0c..877bebc 100644 --- a/ReadMe.rst +++ b/ReadMe.rst @@ -271,8 +271,8 @@ Editing scripts and running import pi3d DISPLAY = pi3d.Display.create(w=128, h=128) - shader = pi3d.Shader("shaders/2d_flat") - sprite = pi3d.ImageSprite("textures/PATRN.PNG", shader) + shader = pi3d.Shader("2d_flat") + sprite = pi3d.ImageSprite("your_texture_locations/PATRN.PNG", shader) while DISPLAY.loop_running(): sprite.draw()