Giter Site home page Giter Site logo

wmora / martianrun Goto Github PK

View Code? Open in Web Editor NEW
258.0 31.0 110.0 8.45 MB

An Open-Source Running Game with libGDX

Home Page: https://play.google.com/store/apps/details?id=com.gamestudio24.cityescape.android

License: Apache License 2.0

Java 100.00%
libgdx android game java

martianrun's Introduction

Martian Run!

A 2D running game built with libGDX.

Get it on Google Play

You can find a tutorial on how this project started here:

Please, DO NOT publish this same game to Google Play. Use it as a blueprint for your game development

Features

Setup

You need to add the following string resources to your Android project in order for the module to compile:

    <!-- Google Analytics: Replace placeholder ID with your tracking ID -->
    <string name="ga_trackingId">UA-XXXXXXXX-X</string>

    <!--
        App ID generated by Google Play Game Services. Replace placeholder ID with yours
    -->
    <string name="app_id">XXXXXXXXXXX</string>

    <!--
        Google Play Game Services IDs (achievements, leaderboards). These are the IDs configured
        for this particular game and you don't need to set any values for them. For your game you
        would have your own achievements, leaderboards, quests and put those strings instead
    -->
    <string name="achievement_getting_started"></string>
    <string name="achievement_like_a_rover"></string>
    <string name="achievement_spirit"></string>
    <string name="achievement_curiosity"></string>
    <string name="achievement_5k_club"></string>
    <string name="achievement_10k_club"></string>
    <string name="achievement_25k_club"></string>
    <string name="achievement_50k_club"></string>
    <string name="achievement_10_jump_street"></string>
    <string name="achievement_100_jump_street"></string>
    <string name="achievement_500_jump_street"></string>
    <string name="leaderboard_high_scores"></string>

    <!-- Google AdMob Unit ID. Place your ad unit ID here -->
    <string name="ad_unit_id"></string>

Credits

Developed by William Mora

Powered by libGDX

Graphics by Kenney

Music by Kevin MacLeod

License

Copyright 2015 William Mora

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

martianrun's People

Contributors

wmora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

martianrun's Issues

Can't find google play services, Build Model fails

Hey there,

I'm trying to include your project in a teaching curriculum (simply as something to deconstruct at the end of the course, not majorly incorporated), but I can't seem to get it to build. The error output is as follows:

FAILURE: Build failed with an exception.

Clearly we just need to point it to the right rpository for Google Play Services, or I need to get the right version locally, but I wasn't quite sure how to do it.

I was able to work around the issue by just removing the compile instruction for GPS, but then obviously I can't build android builds. Desktop builds work just fine, though, so I think I can still work with this!

Yours is the first libGDX game I've been able to get running on Windows in Eclipse, after trying quite a few! Thanks for putting all of this up!

how to add acheivement

i am trying to add game leaderboard but didnt success can pls give any tutorial from where i can understand and make it pls

Maintain string resources

Thank you very much for the great tutorial and for providing the source code, it is the best libGDX tutorial I've found.

I am not able to compile the game as I am not sure how to update the string resources. I thought in the res/xml folder there should be strings.xml, but there is only app_tracker_config.xml, which doesn't look like the place to update.

Best regards,
Stoil

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.