Skip to content
Snippets Groups Projects
Commit c4927729 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

Merge branch 'feature-superthrowbombs'

parents 5b7344f3 6ec1f131
No related branches found
No related tags found
No related merge requests found
...@@ -692,9 +692,9 @@ class Bomb(bs.Actor): ...@@ -692,9 +692,9 @@ class Bomb(bs.Actor):
self.handleMessage(ExplodeMessage()) self.handleMessage(ExplodeMessage())
def _handleDropped(self,m): def _handleDropped(self,m):
# throw bombs really far # anton lolz
V_MULT = (50, 10, 50) V_MULT = (10, 0, 10)
V_ADD = (0, 10, 0) V_ADD = (0, -1, 0)
self.node.velocity = tuple( self.node.velocity = tuple(
(v * vm) + va for v, vm, va in zip( (v * vm) + va for v, vm, va in zip(
self.node.velocity, V_MULT, V_ADD)) self.node.velocity, V_MULT, V_ADD))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment