phanbu / gamboge

This is an adventure game developed by me (phanbu) and some high school students learning the Python programming language.
0 stars 0 forks source link

Make grass begin transition to combat #12

Open phanbu opened 6 years ago

phanbu commented 6 years ago

@CrossSpider3456 --

I don't know how much you were paying attention to what I was saying to @jhanbu yesterday, but here are some things we talked about and other things that you might want to keep in mind:

Either way, remember that you should pull before you start working. When you are finished, after you commit locally, you will either need to fetch or merge before you push back to the remote repo,

CrossSpider3456 commented 6 years ago

okay i have done all of that is there anything else i should do or should i wait till our next class? i created a tile layer for the grass instead of an object layer also my program isnt running correctly right now

phanbu commented 6 years ago

You said that it's not working correctly. What is it doing?

CrossSpider3456 commented 6 years ago

It was saying something about tilemap, but I’m leaving for scouts now so I have to wait till afterwards

I’m Batman 🦇

On Mar 27, 2018, at 5:56 PM, Paul Hanbury notifications@github.com wrote:

You said that it's not working correctly. What is it doing?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

CrossSpider3456 commented 6 years ago

Traceback (most recent call last): File "C:\Program Files\Python36\lib\site-packages\pytmx\pytmx.py", line 621, in get_layer_by_name return self.layernames[name] KeyError: 'exits'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:/pycourse/gamboge/main.py", line 7, in Game().run() File "C:\pycourse\gamboge\game.py", line 29, in init 'VILLAGE': AdventureState(self, 'village', self.camera), File "C:\pycourse\gamboge\state.py", line 59, in init self.map = TiledMap('village', game.messages) File "C:\pycourse\gamboge\world.py", line 27, in init self._load_exits() File "C:\pycourse\gamboge\world.py", line 65, in _load_exits exits = self.tilemap.get_layer_by_name('exits') File "C:\Program Files\Python36\lib\site-packages\pytmx\pytmx.py", line 625, in get_layer_by_name raise ValueError ValueError libpng warning: iCCP: known incorrect sRGB profile

Process finished with exit code 1

THIS IS WHAT HAPPENS WHEN I RUN MAIN BUT WHEN I RUN EVERY OTHER FILE SEPARATELY THEY WORK PERFECTLY