ppb / pursuedpybear

A python game engine.
https://ppb.dev/
Artistic License 2.0
258 stars 98 forks source link

Program does not load #497

Closed Milan-Chicago closed 3 years ago

Milan-Chicago commented 4 years ago

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?

pathunstrom commented 4 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?

Milan-Chicago commented 4 years ago

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.

pathunstrom commented 4 years ago

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 ?

AstraLuma commented 4 years ago

ping

Milan-Chicago commented 4 years ago

pybear2 what rebels want

pathunstrom commented 4 years ago

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.)

Milan-Chicago commented 4 years ago

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)

pathunstrom commented 4 years ago

Try making the position in the scene.add (0, -3.5) and let me know if it shows up.

Milan-Chicago commented 4 years ago

Same, nothing yet.

pathunstrom commented 4 years ago

Going to take your code and test it on my machine. See if I can spot what's wrong. This is definitely odd.

AstraLuma commented 4 years ago

Ping

AstraLuma commented 4 years ago

Ping

AstraLuma commented 3 years ago

Closing due to the lack of activity >6mo