Android Open Source - SpaceRagdoll Space Ragdoll Activity






From Project

Back to project page SpaceRagdoll.

License

The source code is released under:

GNU General Public License

If you think the Android project SpaceRagdoll listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*******************************************************************************
 * Copyright (C) 2015 Tuukka Ruhanen// w  w  w  .j a va  2s.  c  o  m
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *******************************************************************************/
package fi.karu.spacebird_android;

import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;

import android.os.Bundle;
import fi.karu.spaceragdoll.SpaceRagdoll;

public class SpaceRagdollActivity extends AndroidApplication {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
        config.useAccelerometer = false;
        config.useCompass = false;
        config.useWakelock = true;
        config.useGL20 = false;
        initialize(new SpaceRagdoll(), config);
    }
}




Java Source Code List

fi.karu.spacebird_android.SpaceRagdollActivity.java
fi.karu.spaceragdoll.GameScreen.java
fi.karu.spaceragdoll.Planet.java
fi.karu.spaceragdoll.Ragdoll.java
fi.karu.spaceragdoll.SpaceRagdoll.java
fi.karu.spaceragdoll.SpaceRenderer.java
fi.karu.spaceragdoll.Space.java
fi.karu.spaceragdoll.controller.Controller.java
fi.karu.spaceragdoll_desktop.SpaceRagdollDesktop.java