yiotro/Antiyoy
소개
'antiyoy'라는 Android 게임의 소스 코드입니다.
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalAntiyoy
Antiyoy is a simple turn-based android strategy. Easy to learn, hard to master.
Latest apk file and pc version can be found here: https://drive.google.com/open?id=1p36opkblTxY_Pc6SUZ_zTh8g4iJsm3jV
Features:
- Hotseat multiplayer up to 10 players
- Random map generator
- Smooth animations and good optimization
- Easy tutorial
What is this
This repository contains source code of antiyoy. You are free to download, modify and run it. This is non-commercial project, so commercial use is forbidden.
Here is how you set up this project on your computer:
- Create blank libgdx project. Make sure that you can compile and run it.
- Swap source code of that project with source from this repo.
- Do same thing with assets.
Making a sample libgdx project
Now, in more details. Here is how you make sample libgdx project:
- Download libgdx project generator: https://libgdx.badlogicgames.com/download.html
- Launch it.
- Name: Antiyoy
- Package: yio.tro.antiyoy
- Game class: YioGdxGame
- Destination: doesn't matter
- Android SDK: path to your android sdk folder. You should have it already installed.
- Uncheck 'Html' and 'Box2D'
- Check 'Freetype'
- Press 'Advanced' and check 'IDEA'.
- Press 'Generate'. It should take some small time and finish with 'BUILD SUCCESSFULL' message.
Compile and run in IDEA
Now, here is how you open this project in Intellij IDEA, compile and run it:
- Launch IDEA.
- Press 'File - Open'
- Find '.ipr' file in project folder and choose it.
- Now in IDEA go to 'DesktopLauncher.java' file. To do it just press 'Shift' couple times and type in 'dekstoplauncher'. IDEA should find it.
- Press Ctrl+Shift+F10. This will create run configuration for desktop version and launch it.
- First time it will fail with mistake: something about being unable to load some assets. That's because assets folder is not set up correctly for some reason.
- Press 'Alt+Shift+F10'. This will open list on run configurations. Choose 'Desktop' and press 'right'. Then choose 'Edit' and press enter.
- Change 'Working directory' to '/android/assets'.
- Now desktop run configuration should work properly.
Finally
At this point you should have a working sample libgdx project (just a window with single image). Now just replace source and assets in this project with source and assets from the repo and check if it works. Final touch: go to DesktopLauncher.java and change window dimension there.
To run in on android just do the same thing as with 'DekstopLauncher.java' but with 'AndroidLauncher.java'. Note: you'll also have to change 'screenOrientation' in 'AndroidManifest.xml' file (which you can also find by pressing shift few times and typing 'anman').
If you want to make a mod, check out HD version. It has much better code quality. Link: https://github.com/yiotro/antiyoy_hd
If you have some feedback about this game then please email me ([email protected]) about it.
관련 프로젝트 살펴보기
불러오는 중…