Giter Club home page Giter Club logo

myantiyoy's Introduction

Setting up

LibGDX Project Generator

(I used antiyoy-dd as the name, anything else is fine)

Download the libgdx project generator: https://libgdx.badlogicgames.com/download.html

Use it to generate a project:

  1. Fill details
    • Antiyoy:
      • antiyoy-dd
      • yio.tro.antiyoy
      • YioGdxGame
      • D:\Projects\Android\antiyoy-dd
  2. Remove ios and html sub-projects
  3. Under ‘Extensions’ enable the following:
    • Freetype
  4. Inside ‘Advanced’ enable ‘IDEA’
  5. Click ‘Generate’
  6. Verify appropriate build-tools (23.0.1) & API (20) versions (NO,OK,NO,OK)

IDEA Project Settings

Open ‘antiyoy-dd.ipr’ (do not import) in IDEA Ignore ballon notification about ‘unlinked gradle project’ (better just press ‘do not show anymore’)

Open settings (Click Ctrl+Shift+Alt+S)

  1. Set Android SDK (default of libGdx - API 20)
  2. Set language level (Antiyoy minimum - 7)

Edit Run/Debug Configurations

  • Android
    1. Click ‘+’ and select ‘Android Application’
    2. Name it RunAndroid
    3. Select module ‘android’
  • Desktop
    1. Click ‘+’ and select ‘Application’
    2. Name it RunDesktop
    3. Set the ‘Main class’ by the button to the right of the field (Shift+Enter)
      • e.g. com. … .desktop.DesktopLauncher
    4. Set working directory to android/assets
    5. Select module ‘desktop’

Or it can be done easier:

  • Android
    1. Go to AndroidLauncher.java
    2. Press Ctrl+Shift+F10
  • Desktop
    1. Go to DesktopLauncher.java
    2. Press Ctrl+Shift+F10
    3. Go to run configuration and set working directoy to ‘android/assets’

Test

At this stage you should be able to run the android and the desktop version of the generated example. Use the run button or press Shift+F10. Also you can use Alt+Shift+F10 to choose which run config to run.

##Copy Antiyoy Source Files Delete ‘android/assets/badlogic.jpg’.

Download or clone the github repository of Antiyoy from: https://github.com/yiotro/Antiyoy

Overwrite the files in ‘antiyoy-dd’ with the files from Antiyoy repository:

  1. The ‘assets’ directory shoud overwrite ‘android/assets’ directory
  2. The ‘core’ directory shoud overwrite ‘core’ directory (At least one file should be replaced, the one that extends ApplicationAdapter)

AndroidManifest

Open ‘android/AndroidManifest.xml’ Change screenOrientation to portrait

Test

At this stage you should be able to run Antiyoy, try it!

TODO - How to make a pull request?

Development Ideas

dvb’s ideas

Progressively Learning AI

AI that can progressively learn to play better against the human player, without a constant predefined set of rules.

Multiplayer Games

Using Google Play Games Services: https://developers.google.com/games/services/android/turnbasedMultiplayer AI players should still be an option, as described in: http://stackoverflow.com/questions/26125273/how-to-create-a-computer-opponent-in-turn-based-google-play-game?rq=1

myantiyoy's People

Contributors

yiotro avatar foxitdog avatar subchannel13 avatar

Watchers

 avatar

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.