A demo that works better than the last one

I've patched a bunch of cocos so hopefully this version will work on more people's computers:

  stalk-2.zip

Move with WASD or arrows. Aim with mouse, shoot with LMB. No, there's nothing to shoot at yet.
 
Please let me know what you think.

(log in to comment)

Comments

Strange error:


>C:\Python26\pythonw -u "run_game.pyw"
Traceback (most recent call last):
  File "run_game.pyw", line 4, in <module>
    main.main()
  File "C:\Documents and Settings\george\My Documents\downloads\stalk-2\gamelib\main.py", line 11, in main
    cocos.director.director.init(width=500, height=500, config=config)
  File "C:\Documents and Settings\george\My Documents\downloads\stalk-2\cocos\director.py", line 346, in init
    self.window = window.Window( *args, **kwargs )
  File "C:\Documents and Settings\george\My Documents\downloads\stalk-2\pyglet\window\win32\__init__.py", line 131, in __init__
    super(Win32Window, self).__init__(*args, **kwargs)
  File "C:\Documents and Settings\george\My Documents\downloads\stalk-2\pyglet\window\__init__.py", line 512, in __init__
    config = screen.get_best_config(config)
  File "C:\Documents and Settings\george\My Documents\downloads\stalk-2\pyglet\canvas\base.py", line 139, in get_best_config
    raise window.NoSuchConfigException()
pyglet.window.NoSuchConfigException
Sorry, no edit on comments and I posted a little hastily. I just edited out config=config in the director.init call, and it works fine. Great rail shooter concept! Really sweet visuals. 
Looks interesting.
Ah, you probably can't do multisampling (anti-aliasing). I'll put in code to handle that.
Looks cool! Reminds me of "Jack and the Beanstalk" for some reason ;)

When the left mouse button is pressed repeatedly (aka shooting a lot), the movement of the aim (moving mouse around) seems impaired or jaggy.
I think maybe that released version didn't include the on_mouse_drag handler ... if you hold the mouse button down and move the mouse does the target star move?
If I hold down the mouse button, and move the mouse, the target star stays still.
Yep, that means version 2 didn't include the on_mouse_drag handler. The current version does so you won't have the same issue.