Closed Milan-Chicago closed 3 years ago
That warning is just a warning, you should still get a colored block.
If you're not, can you provide more information?
What OS are you on, which version of Python and ppb are you using?
Can you provide a screen shot of the blank screen? And could you share the code that made the blank screen?
Yes, Hi thanks for the quick response. Using windows 64, Python 3.7.4, please see below screen shots.
Thanks in advance,
Milan
[cid:71d51c17-a6a0-4b69-9109-0772066871bf] [cid:145f6c46-5bba-48b8-98d1-a4447b27c3bc]
From: Piper Thunstrom notifications@github.com Sent: Friday, June 26, 2020 9:52 AM To: ppb/pursuedpybear pursuedpybear@noreply.github.com Cc: Marlon McGraw mcgraw@uchicago.edu; Author author@noreply.github.com Subject: Re: [ppb/pursuedpybear] Program does not load (#497)
That warning is just a warning, you should still get a colored block.
If you're not, can you provide more information?
What OS are you on, which version of Python and ppb are you using?
Can you provide a screen shot of the blank screen? And could you share the code that made the blank screen?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ppb/pursuedpybear/issues/497#issuecomment-650221772, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABXB7K22IDTOBC4NPQ7KCI3RYSY2RANCNFSM4OJMVCVA.
It seems your attachments did not make it through github. Could you upload directly to the issue here: https://github.com/ppb/pursuedpybear/issues/497 ?
ping
Good news, that screen is just the default blank screen! So that's working. Are you sure you added the sprite the current scene? (A copy of your code would be helpful at this point.)
code... import ppb
class Ship(ppb.Sprite):
def on_update(self, update_event, signal):
self.position += 0, -(4 * update_event.time_delta)
def setup(scene): scene.add(Ship(pos=(0, 3.5)))
ppb.run(setup=setup)
Try making the position in the scene.add (0, -3.5) and let me know if it shows up.
Same, nothing yet.
Going to take your code and test it on my machine. See if I can spot what's wrong. This is definitely odd.
Ping
Ping
Closing due to the lack of activity >6mo
HI I get the following error:
WARNING:ppb.assetlib:File not found: 'ship.png'
When the program loads it loads with a blank screen.
Please advise next steps?