Commit e5e2bf47 authored by Hubert Denkmair's avatar Hubert Denkmair
Browse files

remove flickering eyes when head position is not known yet

parent a85a8b6a
......@@ -21,6 +21,7 @@ function Snake(headTexture, segmentPool, name, colorScheme, world_size_x, world_
this._headSegment = new SnakeSegment(headTexture);
this._headSegment.SetPosition(-100000, -100000);
this._nameText = new PIXI.Text(name, {fill:'white', fontSize:14, fontWeight:"bold", dropShadow:true, dropShadowBlur:1, dropShadowDistance:2});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment