~ubuntu-branches/ubuntu/utopic/frogatto-data/utopic

« back to all changes in this revision

Viewing changes to data/compiled/objects/heart_fruit.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Dmitry E. Oboukhov
  • Date: 2010-07-16 12:14:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100716121411-tobhfbyxrrz46dwz
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[object_type]
 
2
id="heart_fruit"
 
3
on_collide_object_body="if(collide_with.player,if(level.player.driver.hitpoints < level.player.driver.max_hitpoints,
 
4
                [die(), sound('AppleCrunch.ogg'), set(level.player.driver, 'hitpoints', level.player.driver.hitpoints + 1)]))"
 
5
on_die="map([0]*10, spawn('heart_sparkle_large', level.player.driver.midpoint_x, level.player.driver.y2, 0))"
 
6
on_end_anim="animation('normal')"
 
7
on_process="set(rotate, 340 + (((wave(cycle*10)+1000)/2)*40)/1000)"
 
8
        [animation]
 
9
        body_area="all"
 
10
        duration="7"
 
11
        frame_info="4,8,4,0,874,458,12,12,4,8,4,0,886,458,12,12,4,8,4,0,898,458,12,12,4,8,4,0,910,458,12,12,4,8,4,0,922,458,12,12"
 
12
        frames="5"
 
13
        id="normal"
 
14
        image="compiled-2.png"
 
15
        rect="870,450,889,469"
 
16
        reverse="yes"
 
17
        [/animation]
 
18
 
 
19
[/object_type]
 
20