Hi guys,

I need to set the entity hump when the biker comes across the hump he needs to ride over the hump and jump ....can anyone suggest ...how to proceed...

I hav code below pls suggest....

ig.module(
    "game.entities.hump"
).requires(
    "impact.entity"
).defines(function() {
    // Subclassed from ig.Enitity
    EntityHump = ig.Entity.extend({
        // Set some of the properties
        size: {x: 63, y: 45},
		// Load an animation sheet
animSheet: new ig.AnimationSheet("media/obstacles_38_hurdle17_63_45.png", 63, 45),
 
        // Entity type
       type: ig.Entity.TYPE.A, // Player friendly group
	checkAgainst: ig.Entity.TYPE.NONE,
	collides: ig.Entity.COLLIDES.PASSIVE,
 
        init: function(x, y, settings) {
            // Call the parent constructor
            this.parent(x, y, settings);
			// Add animations for the animation sheet
this.addAnim("idle", 1, [0]);
        },
 
        // This method is called for every frame on each entity.
        update: function() {
            // Call the parent update() method to move the entity according to its physics
            this.parent();
			
			
        }
    });
});