Giter Site home page Giter Site logo

deflectouch's People

Contributors

nightblade9 avatar stocyr avatar tito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deflectouch's Issues

Rendering issue with Deflectouch / Kivy on Ubuntu 11.10

The recent version of Deflectouch behaves on Ubuntu 11.10 as visible on this screenshot: Deflectouch glitch

When you begin the game, the first level is generated partially. With each new level only part of the screen is updated. When you move the cannon, the position of targets on the same height (number of pixels from the top) seems to be revealed and they seem to be correctly rendered.

On Ubuntu 11.10 (Unity 2D) only graphic is an issue, sound and buttons work fine.

Enhance collision check algorithm

Bug reported: Bullets goes still through deflectors on some users.

  • Fix: (work around): reduce bullet speed -> collision check routine is called more often.
  • Implement Bullet animation as separate scheduler (with more fps than the default animation scheduler)
  • Implement collision check like in the Kivy game Cocaine

Beep sound repeats too slow

The beep sound doesn't play on every block but only on about every 10th block.
This wasn't the case with kivy v1.7.0 yet...

'NoneType' object has no attribute 'size' when launching game

Hello everyone.

Im new to Kivy but not python. In my opinion the best way to learn anything is to pick something you like built with it and disassemble it :) So I came to this project.

Unfortunately I cannot start it in the first place.

Here is what I get:

$ python main.py
[INFO   ] Kivy v1.6.0
[INFO   ] [Logger      ] Record log in /home/jonas/.kivy/logs/kivy_13-03-29_7.txt
[INFO   ] [Factory     ] 137 symbols loaded
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60s
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=Nones
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_pygame, img_pil, img_gif 
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600s
[DEBUG  ] [Audio       ] register SoundGstreamer
[DEBUG  ] [Audio       ] register SoundPygame
[INFO   ] [Audio       ] Providers: audio_gstreamer, audio_pygame (audio_sdl ignored)
[DEBUG  ] [Cache       ] register <kv.loader> with limit=500, timeout=60s
[INFO   ] [Loader      ] using a thread pool of 2 workers
[INFO   ] [Text        ] Provider: pygame
[DEBUG  ] [App         ] Loading configuration <./deflectouch.ini>
[DEBUG  ] [App         ] Loading kv <./deflectouch.kv>
[INFO   ] [Window      ] Provider: pygame
[DEBUG  ] [Window      ] Display driver x11
[DEBUG  ] [Window      ] Actual window size: 800x600
[DEBUG  ] [Window      ] Actual color bits r8 g8 b8 a0
[DEBUG  ] [Window      ] Actual depth bits: 24
[DEBUG  ] [Window      ] Actual stencil bits: 8
[DEBUG  ] [Window      ] Actual multisampling samples: 4
[INFO   ] [GL          ] OpenGL version <3.0 Mesa 9.0.2>
[INFO   ] [GL          ] OpenGL vendor <Intel Open Source Technology Center>
[INFO   ] [GL          ] OpenGL renderer <Mesa DRI Intel(R) Ivybridge Mobile >
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <1.30>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <16>
[DEBUG  ] [Shader      ] Fragment compiled successfully
[DEBUG  ] [Shader      ] Vertex compiled successfully
[DEBUG  ] [ImagePygame ] Load </usr/lib/pymodules/python2.7/kivy/data/glsl/default.png>
 Traceback (most recent call last):
   File "/usr/lib/pymodules/python2.7/kivy/modules/__init__.py", line 183, in update
     self.activate_module(name, win)
   File "/usr/lib/pymodules/python2.7/kivy/modules/__init__.py", line 143, in activate_module
     module = self.mods[name]['module']
 KeyError: 'module'
[WARNING] [WinPygame   ] SDL wrapper failed to import!
[DEBUG  ] [Window      ] Ignored <sdl> (import error)
[DEBUG  ] [Window      ] Ignored <x11> (import error)
[CRITICAL] [Window      ] Unable to find any valuable Window provider at all!

Deflectouch v1.0  Copyright (C) 2012  Cyril Stoller
This program comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the source code for details.

 Traceback (most recent call last):
   File "main.py", line 542, in <module>
     Deflectouch().run()
   File "/usr/lib/pymodules/python2.7/kivy/app.py", line 527, in run
     root = self.build()
   File "main.py", line 470, in build
     self.deflectouchwidget = DeflectouchWidget(app=self)
   File "/usr/lib/pymodules/python2.7/kivy/uix/widget.py", line 150, in __init__
     Builder.apply(self)
   File "/usr/lib/pymodules/python2.7/kivy/lang.py", line 1247, in apply
     self._apply_rule(widget, rule, rule)
   File "/usr/lib/pymodules/python2.7/kivy/lang.py", line 1338, in _apply_rule
     self.apply(child)
   File "/usr/lib/pymodules/python2.7/kivy/lang.py", line 1247, in apply
     self._apply_rule(widget, rule, rule)
   File "/usr/lib/pymodules/python2.7/kivy/lang.py", line 1361, in _apply_rule
     value, rule, rctx['ids'])
   File "/usr/lib/pymodules/python2.7/kivy/lang.py", line 1063, in create_handler
     raise BuilderException(rule.ctx, rule.line, str(e))
 kivy.lang.BuilderException: Parser: File "./deflectouch.kv", line 35:
 ...
      33:    allow_stretch: True
      34:    keep_ratio: False
 >>   35:    size: win.Window.size
      36:
      37:# Stock Bar description
 ...
 'NoneType' object has no attribute 'size'

Also I am using Kivy v1.6.0 under Python 2.7.3 under Linux Kernel 3.8.4 SMP x86_64.

I hope somebody can help me out on this one.

Stockbar always read as 0

The stockbar level is always read as 0 in the level images.
Most likely the top most line is interpreted as the stockbar line instead of the bottom most.

weird bullet animation

The bullet animation ease function seems to be like this:

|                  ___________________
|             _--^^
|           _-
|  _____---^
+------------------------------------->

And the calculated duration time is much too long.

Source of the problem seems to be line 79 in bullet.py.

Apparently this works flawlessly with kivy v1.7.1, but there the audio volume can't be changed...

Game crashes if no audio support

Audio support should be an optional thing. But if there is not audio support, then all calls to SoundLoader.load will return None, which causes problems later when you try to call play() on them without checking. Perhaps wrap these calls?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.