4 days, 20 hours and 7 minutes to go....





well, my framework is done, it is not perfect, I know, but I have the confidence to finish my work. Once meet the problem about tiled map, use hard code :)

Now I am wondering the game logic, it is a problem :) I will keep trying, as a game, first thing should be funny.

OK, go back to build my A* path finding, maybe I will abondon it if I can get it out today.

(log in to comment)

Comments

Hi :) I have issue running the game, seems like something connected with audio module. Windows 10 64bit.

[INFO ] Logger: Record log in C:\Users\user\.kivy\logs\kivy_17-10-21_2.txt

[INFO ] Kivy: v1.10.0

[INFO ] Python: v3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 20:20:57) [MSC v.1600 64 bit (AMD64)]

[INFO ] Factory: 194 symbols loaded

[INFO ] Image: Providers: img_tex, img_dds, img_pil, img_gif (img_sdl2, img_ffpyplayer ignored)

[INFO ] Text: Provider: pil(['text_sdl2'] ignored)

[CRITICAL] Window: Unable to find any valuable Window provider.

sdl2 - ImportError: DLL load failed: The specified module could not be found.

  File "C:\Python34\lib\site-packages\kivy\core\__init__.py", line 59, in core_select_lib

    fromlist=[modulename], level=0)

  File "C:\Python34\lib\site-packages\kivy\core\window\window_sdl2.py", line 26, in <module>

    from kivy.core.window._window_sdl2 import _WindowSDL2Storage

[INFO ] Audio: Providers: (audio_ffpyplayer, audio_sdl2 ignored)

[WARNING] Audio: Unable to find a loader for <C:\Users\user\Downloads\pyweek_submissions\xmzhang1\pyweek24-master\laughter.ogg>

[WARNING] stderr: Traceback (most recent call last):

[WARNING] stderr: File "main.py", line 25, in <module>

[WARNING] stderr: SOUND_LAUGH.load()

[WARNING] stderr: AttributeError: 'NoneType' object has no attribute 'load'

Any ideas?

hi,tito, glad to hear the feedback, I run it on my computer, the log info is


[INFO ] [Logger ] Record log in C:\Users\TJ\.kivy\logs\kivy_17-10-22_12.txt

[INFO ] [Kivy ] v1.10.0

[INFO ] [Python ] v3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32 bit (Intel)]

[INFO ] [Factory ] 194 symbols loaded

[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)

[INFO ] [Text ] Provider: sdl2

[INFO ] [OSC ] using <thread> for socket

[INFO ] [Window ] Provider: sdl2

[INFO ] [GL ] Using the "OpenGL" graphics system

[INFO ] [GL ] GLEW initialization succeeded

[INFO ] [GL ] Backend used <glew>

[INFO ] [GL ] OpenGL version <b'4.0.0 - Build 10.18.10.4358'>

[INFO ] [GL ] OpenGL vendor <b'Intel'>

[INFO ] [GL ] OpenGL renderer <b'Intel(R) HD Graphics 4000'>

[INFO ] [GL ] OpenGL parsed version: 4, 0

[INFO ] [GL ] Shading version <b'4.00 - Build 10.18.10.4358'>

[INFO ] [GL ] Texture max size <16384>

[INFO ] [GL ] Texture max units <16>

[INFO ] [Window ] auto add sdl2 input provider

[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked

[INFO ] [AudioGstplayer] Using Gstreamer 1.10.2.0

[INFO ] [Audio ] Providers: audio_gstplayer, audio_sdl2 (audio_ffpyplayer ignored)

[INFO ] [GL ] NPOT texture support is available

[INFO ] [VideoGstplayer] Using Gstreamer 1.10.2.0

[INFO ] [Video ] Provider: gstplayer

[ERROR ] [Image ] Error loading texture carbomb.mkv

[INFO ] [Base ] Start application main loop

[INFO ] [Base ] Leaving application in progress...


personally, I think the problem is SDL2 required? https://kivy.org/docs/installation/installation-windows.html

In the installation doc,step 2



Install the dependencies (skip gstreamer (~120MB) if not needed, see Kivy’s dependencies):


python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew

python -m pip install kivy.deps.gstreamer


compared to my log,[INFO ] [Window ] Provider: sdl2 . I think sdl2 is needed. Goodluck :)

Yeah, it works :) I've installed SDL as you mentioned, but also I've switched to Python 2.7. Nice game, good job :)