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

« back to all changes in this revision

Viewing changes to data/compiled/objects/paddle.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
hitpoints="1"
 
3
id="paddle"
 
4
on_end_anim="animation('normal')"
 
5
on_process="[
 
6
  set(velocity_x, (velocity_x*9)/10),
 
7
  if(ctrl_left, set(velocity_x, velocity_x - 100)),
 
8
  if(ctrl_right, set(velocity_x, velocity_x + 100)),
 
9
  if(x <= (0 + level.cycle) and velocity_x < 0, set(velocity_x, -velocity_x/2)),
 
10
  if(x >= ((800-120) + level.cycle) and velocity_x > 0, set(velocity_x, -velocity_x/2)),
 
11
  set(x, x + 1)
 
12
  ]"
 
13
        [animation]
 
14
        duration="20"
 
15
        frame_info="0,0,0,0,126,442,128,16"
 
16
        frames="1"
 
17
        hit="0,0,127,15"
 
18
        hit_frames="0"
 
19
        id="normal"
 
20
        image="compiled-2.png"
 
21
        rect="126,442,253,457"
 
22
        scale="1"
 
23
        [/animation]
 
24
 
 
25
[/object_type]
 
26