Пример #1
0
        public void             create(Texture texture)
        {
            this.sprite = Sprite2DRoot.get().createSprite(texture, true);
            this.sprite.setSize(Vector2.one * 64.0f);
            this.sprite.setVisible(false);

            this.fcurve = new ipModule.FCurve();
            this.fcurve.setSlopeAngle(70.0f, 5.0f);
            this.fcurve.setDuration(0.7f);
            this.fcurve.start();
        }
Пример #2
0
        // ================================================================ //

        public void             create(Texture moji_texture, Texture moji_mae_texture)
        {
            this.moji_texture      = moji_texture;
            this.moji_mae_texture  = moji_mae_texture;
            this.moji_texture_size = new Vector2(this.moji_texture.width, this.moji_texture.height);

            this.sprite = Sprite2DRoot.get().createSprite(this.moji_mae_texture, true);
            this.sprite.setSize(Vector2.one * 64.0f);

            this.fcurve = new ipModule.FCurve();
            this.fcurve.setSlopeAngle(70.0f, 5.0f);
            this.fcurve.setDuration(0.3f);

            this.spring        = new ipModule.Spring();
            this.spring.k      = 100.0f;
            this.spring.reduce = 0.90f;
        }
Пример #3
0
	// ================================================================ //

	public void		create(Texture moji_texture, Texture moji_mae_texture)
	{
		this.moji_texture      = moji_texture;
		this.moji_mae_texture  = moji_mae_texture;
		this.moji_texture_size = new Vector2(this.moji_texture.width, this.moji_texture.height);

		this.sprite = Sprite2DRoot.get().createSprite(this.moji_mae_texture, true);
		this.sprite.setSize(Vector2.one*64.0f);

		this.fcurve = new ipModule.FCurve();
		this.fcurve.setSlopeAngle(70.0f, 5.0f);
		this.fcurve.setDuration(0.3f);

		this.spring = new ipModule.Spring();
		this.spring.k      = 100.0f;
		this.spring.reduce = 0.90f;
	}
Пример #4
0
	public void		create(Texture texture)
	{
		this.sprite = Sprite2DRoot.get().createSprite(texture, true);
		this.sprite.setSize(Vector2.one*64.0f);
		this.sprite.setVisible(false);

		this.fcurve = new ipModule.FCurve();
		this.fcurve.setSlopeAngle(70.0f, 5.0f);
		this.fcurve.setDuration(0.7f);
		this.fcurve.start();
	}