'#I am new to Pythonista, and the forums, so I apologise if I'm doing anything wrong. The updates to the scene module are confusing me. I really need to be able to add my own image from my photos into the space I mention below, I can't seem to figure it out. I can use the built in sprites just fine, but I want to be able to use my own now.
Help is appreciated, thankyou.
# coding: utf-8
from scene import *
class Game (Scene):
def setup(self):
self.background_color = '#000000'
ground = Node(parent=self)
x = 0
while x <= self.size.w + 64:
tile = SpriteNode('plf:Ground_SnowMid', position=(x, 0))
ground.add_child(tile)
x += 64
self.player = SpriteNode('') #This is where I want to add an image of my own.
self.player.anchor_point = (0.5, 0)
self.player.position = (self.size.w/2, 32)
self.add_child(self.player)
if __name__ == '__main__':
run(Game(), LANDSCAPE, show_fps=True)