<commit_before>var BirdEntity = me.ObjectEntity.extend({
  init: function(x, y) {
    var settings = {};
    settings.image = me.loader.getImage('clumsy');
    settings.width = 85;
    settings.height = 60;
    settings.spritewidth = 85;
    settings.spriteheight= 60;


    this.parent(x, y, settings);
    this.alwaysUpdate = true;
    this.gravity = 0.6;
    this.impulse = 10;
    this.dy = 0;
    this.maxAngleRotation = Number.prototype.degToRad(25);
    this.maxAngleRotationDown = Number.prototype.degToRad(40);
    this.renderable.addAnimation("flying", [0, 1, 2]);
    this.renderable.addAnimation("idle", [0]);
    this.renderable.setCurrentAnimation("flying");
    this.animationController = 0;
    // manually add a rectangular collision shape
    this.addShape(new me.Rect(new me.Vector2d(5, 5), 70, 50));

    // a tween object for the flying physic effect
    this.flyTween = new me.Tween(this.pos);
    this.flyTween.easing(me.Tween.Easing.Exponential.InOut);
  },<commit_msg>Making the game easier<commit_after>var BirdEntity = me.ObjectEntity.extend({
  init: function(x, y) {
    var settings = {};
    settings.image = me.loader.getImage('clumsy');
    settings.width = 85;
    settings.height = 60;
    settings.spritewidth = 85;
    settings.spriteheight= 60;


    this.parent(x, y, settings);
    this.alwaysUpdate = true;
    this.gravity = 0.5;
    this.impulse = 8;
    this.dy = 0;
    this.maxAngleRotation = Number.prototype.degToRad(25);
    this.maxAngleRotationDown = Number.prototype.degToRad(40);
    this.renderable.addAnimation("flying", [0, 1, 2]);
    this.renderable.addAnimation("idle", [0]);
    this.renderable.setCurrentAnimation("flying");
    this.animationController = 0;
    // manually add a rectangular collision shape
    this.addShape(new me.Rect(new me.Vector2d(5, 5), 70, 50));

    // a tween object for the flying physic effect
    this.flyTween = new me.Tween(this.pos);
    this.flyTween.easing(me.Tween.Easing.Exponential.InOut);
  },
{'fraction_non_alphanumeric': 0.13841524573721165, 'fraction_numerical': 0.028585757271815445, 'mean_word_length': 3.433333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7185140', 'n_tokens_mistral': 712, 'n_tokens_neox': 657, 'n_words': 135}