Skip to content

Commit

Permalink
Improved glow radius of powerups
Browse files Browse the repository at this point in the history
  • Loading branch information
LMH0013 committed Apr 9, 2013
1 parent 3918a88 commit a2537cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/object/flower.cpp
Expand Up @@ -25,7 +25,7 @@ Flower::Flower(BonusType _type) :
sprite(),
drawing_effect(NO_EFFECT),
light(1.0f,1.0f,1.0f),
lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-tiny.sprite"))
lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-small.sprite"))
{
bbox.set_size(32, 32);
lightsprite->set_blend(Blend(GL_SRC_ALPHA, GL_ONE));
Expand Down
2 changes: 1 addition & 1 deletion src/object/growup.cpp
Expand Up @@ -24,7 +24,7 @@ GrowUp::GrowUp(Direction direction) :
MovingSprite(Vector(0,0), "images/powerups/egg/egg.sprite", LAYER_OBJECTS, COLGROUP_MOVING),
physic(),
light(0.0f,0.0f,0.0f),
lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-tiny.sprite"))
lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-small.sprite"))
{
physic.enable_gravity(true);
physic.set_velocity_x((direction == LEFT)?-100:100);
Expand Down
2 changes: 1 addition & 1 deletion src/object/star.cpp
Expand Up @@ -27,7 +27,7 @@ Star::Star(const Vector& pos, Direction direction) :
MovingSprite(pos, "images/powerups/star/star.sprite", LAYER_OBJECTS, COLGROUP_MOVING),
physic(),
light(0.0f,0.0f,0.0f),
lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-tiny.sprite"))
lightsprite(sprite_manager->create("images/objects/lightmap_light/lightmap_light-small.sprite"))
{
physic.set_velocity((direction == LEFT) ? -STAR_SPEED : STAR_SPEED, INITIALJUMP);
//set light for glow effect
Expand Down

0 comments on commit a2537cd

Please sign in to comment.