An easy open source Android Native Game FrameWork.

Overview

JustWeEngine - Android Game FrameWork

logo
Android Arsenal GitHub release Hex.pm

An easy open source Android Native Game FrameWork.

Engine Flow Chart

engine

How To Use?

  • Import Engine's module as Library.

  • Import engine.jar in your project from "/jar".

  • With Gradle:

    • Step 1. Add the JitPack repository to your build file
      Add it in your root build.gradle at the end of repositories:
      	allprojects {
    		repositories {
    			...
    			maven { url "https://jitpack.io" }
    		}
    	}
     	
    • Step 2. Add the dependency
        dependencies {
            compile 'com.github.lfkdsk:JustWeEngine:v1.13'
      }
    	
  • With Maven:

    • Step 1. Add the JitPack repository to your build file
      <repositories>
    	<repository>
    	    <id>jitpack.io</id>
    	    <url>https://jitpack.io</url>
    	</repository>
    </repositories>
    
    • Step 2. Add the dependency
    	
      <dependency>
        <groupId>com.github.lfkdsk</groupId>
        <artifactId>JustWeEngine</artifactId>
        <version>v1.13</version>
    </dependency>
    

Engine in V1.13

User Guidance

English Guidance

中文教程

繁體中文教程

JustWeEngine's WiKi

Feedback

Please send your feedback as long as there occurs any inconvenience or problem. You can contact me with:

License

Copyright 2017 [刘丰恺](http://www.cnblogs.com/lfk-dsk/)

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.
You might also like...
Minosoft is an open source minecraft client, written from scratch in kotlin (and java).
Minosoft is an open source minecraft client, written from scratch in kotlin (and java).

Minosoft Minosoft is an open source minecraft client, written from scratch in kotlin (and java). It aims to bring more functionality and stability. No

a 2d Java physics engine, native java port of the C++ physics engines Box2D and LiquidFun

jbox2d Please see the project's BountySource page to vote on issues that matter to you. Commenting/voting on issues helps me prioritize the small amou

Free Android 2D OpenGL Game Engine

AndEngine Donations While developing AndEngine was a lot of fun, it also also consumed many(!) months of my life. It actually continues to cost me a s

 Android Kotlin: Matching Kitties: A Game Inspired by Cats
Android Kotlin: Matching Kitties: A Game Inspired by Cats

Android Kotlin: Matching Kitties: A Game Inspired by Cats A kotlin based Android memory game Screenshots | | | | | | | | | Viewing the App You can clo

a bitcoin key collision game for android

BitteryApp BitteryApp is an opensource bitcoin key collision game for Android. How to Build BitteryApp source code build in chromium building environm

SMBClone - SMD clone custom game engine. (Desktop + Android)

SMBClone Simple crossplatform game engine for like SMB game! Supported platforms

Fifteen is a puzzle game created using Jetpack Compose for Android.
Fifteen is a puzzle game created using Jetpack Compose for Android.

Fifteen / Jetpack Compose Fifteen is a puzzle game created using Jetpack Compose for Android. The goal of the game is to arrange the knuckles in ascen

Android Game App made with kotlin. Allows to play online on the same network!
Android Game App made with kotlin. Allows to play online on the same network!

Reversi - Kotlin/Android Project made for Arquiteturas Móveis at ISEC 2021/2022 Notes Build gradle to run app or install the 'reversi.apk' directly on

TicTacToe Game App For Android
TicTacToe Game App For Android

TicTacToe App Android Tic-tac-toe, noughts and crosses, or Xs and Os is a paper-

Comments
  • errors in project

    errors in project

    i downloaded the program and ran it in eclipse and it had 990 errors, Ive corrected some of them but I wanted to know is it the code or the program that is faulty

    opened by Dagye95 11
  • Very good experiment

    Very good experiment

    It's AMAZING that a game could run with so little code. It also proves that Java API has great power. However, it seems that there are still some bugs. When I ran the demo on my simulator, I found that some planes disappeared unexpectedly. In my personal opinion, the project could be more object-oriented. All in all, it's still a good practice of Android graphics practice with Java code.

    opened by Alonexx 2
Releases(v1.13)
  • v1.05beta(Apr 17, 2016)

    
            @Override
        public void load() {
            p = new LogPrinter(1);
        }
    
        @Override
        public void draw() {
            p.draw(getCanvas());
        }
    
    
    

    即可在屏幕中打印日志,但是对CPU的消耗很大,可能是访问间隔太短,待优化。
    另外新增了一位同学的Demo。

    Source code(tar.gz)
    Source code(zip)
  • v1.04(Mar 19, 2016)

    11.SQLite数据库

    SQLite使用了IOC框架。

    11.1创建表

    新建的创建表需要继承Node并且写出注解类。

    
        // 表名
        @TableName(tableName = "lfkdsk")
        public class User extends Node {
    
        // 主键自增 INTEGER型
        @LabelName(autoincrement = true,
                type = LabelName.Type.INTEGER,
                columnName = "name",
                generatedId = true)
        private int name;
    
        // TEXT型 栏名为user_name
        @LabelName(type = LabelName.Type.TEXT,
                columnName = "user_name")
        private String user_name;
    
        // 自增主键所以只需要提供其他信息
        public User(String user_name) {
            super(user_name);
            this.user_name = user_name;
        }
    
        public User(int name, String user_name) {
            super(name, user_name);
            this.name = name;
            this.user_name = user_name;
        }
    
        public int getName() {
            return name;
        }
    
        public void setName(int name) {
            this.name = name;
        }
    
        public String getUser_name() {
            return user_name;
        }
    
        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }
        }
    
    
    
        // 通过这种方式获取数据库   表名
        private DataBase dataBase = DataBase.initAndOpen("user", User.class);
    
    
    

    11.2增删查改

    
        // add
        database.insert(User user);
        // find
        database.get(int position);
        // delete
        database.delete(int position);
        // update
        database.update(User user);
        ...
    
    
    Source code(tar.gz)
    Source code(zip)
  • v1.03(Feb 6, 2016)

    6.2播放音频

    播放音频适合例如背景音乐一样的音乐。

    
        // 传入两个参数 上下文和文件名
        MusicPlayer player = new MusicPlayer(this, "mic/open.mp3");
        player.play();
    
    

    以上的就能实现播放了,下面还有一些其他的方法。

    
        public void dispose() // 清理
        public void setLooping(boolean isLooping) // 是否循环
        public void setVolume(float volume) // 设定音量
        ...
    
    

    6.3通过短音效编曲

    SoundManager中导入多段音频,快速播放达成音效的效果。

    
        SoundManager manager = new SoundManager(this, 5);
        manager.addSound("mic/1.mid");
        manager.addSound("mic/2.mid");
        SoundPlayer player = new SoundPlayer(manager, 500, 16);
        player.addSound("mic/1.mid");
        player.addSound("mic/2.mid");
        ... 
    
    

    使用player.play();进行播放。

    Source code(tar.gz)
    Source code(zip)
  • v1.02(Jan 16, 2016)

    
        // 为状态机添加一个任务
        sprite.addState(new StateFinder() {
            @Override
            public boolean isContent(BaseSub baseSub) {
                return Math.abs(zom.s_position.x - baseSub.s_position.x) > 50;
            }
        }, new FrameAnimation(0, 63, 1));
    
    

    可以通过上述的addState方法为状态机精灵添加一个任务,只有当第一个参数接口回调的返回值为真的时候, 才会去运行第二个参数提供的指令,如果返回为假则会运行第二项状态的判断。 状态的优先级由加入顺序提供。

    Source code(tar.gz)
    Source code(zip)
  • v1.01(Jan 15, 2016)

    网络的使用可参考JustWe-WebServer中的介绍。 按照介绍操作就可以通过:

    
            server.apply("/lfk", new OnWebStringResult() {
                @Override
                public String OnResult() {
                    return "=======";
                }
            });
    
            server.apply("/main", new OnWebFileResult() {
                @Override
                public File returnFile() {
                    return new File(WebServerDefault.WebServerFiles+"/"+"welcome.html");
                }
            });
    
    
    Source code(tar.gz)
    Source code(zip)
  • v1.0(Dec 16, 2015)

Owner
JustWe
I'm Batman. 表演工程师
JustWe
Cocos2d-x is a suite of open-source, cross-platform, game-development tools used by millions of developers all over the world.

cocos2d-x Win32 Others cocos2d-x is a multi-platform framework for building 2d games, interactive books, demos and other graphical applications. It is

cocos2d 16.7k Dec 31, 2022
Cocos2d-x is a suite of open-source, cross-platform, game-development tools used by millions of developers all over the world.

cocos2d-x Win32 Others cocos2d-x is a multi-platform framework for building 2d games, interactive books, demos and other graphical applications. It is

cocos2d 16.7k Jan 7, 2023
Our maze game is an 2d-animation game developed using android studio.

Our maze game is an 2d-animation game developed using android studio. The game consists of a ball and a board with a hole in the center of it. We are using accelerometer as controller to guide ball towards the hole. T

Suraj Devgan 6 Nov 29, 2022
Game made with Korge (Kotlin Multiplatform game engine)

MolesAttack Kotlin Multiplatform Game Play Html/js: https://feliperce.github.io/MolesAttack-Distribution/ Jar: https://feliperce.github.io/MolesAttack

Felipe Rodrigues 10 May 30, 2022
Desktop/Android/HTML5/iOS Java game development framework

Cross-platform Game Development Framework libGDX is a cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux

libgdx 20.9k Jan 8, 2023
A cross-platform Java game Engine (Framework) , support JavaFX / Android / IOS / HTML5 / Linux / MAC / Windows

Loon Game Engine (Java Game Framework) EN / KR Free Game Resources Links Download Loon Game Engine Only Android-studio Template : androidstudio-templa

cping 502 Jan 4, 2023
Desktop/Android/HTML5/iOS Java game development framework

Cross-platform Game Development Framework libGDX is a cross-platform Java game development framework based on OpenGL (ES) that works on Windows, Linux

libgdx 20.9k Dec 28, 2022
Extensive game framework written in Kotlin

CGS is a minigame framework I wrote in December of 2021. This project was closed-source, but unfortunately, a series of events led me to decide to open-source it.

Subham 9 Aug 22, 2022
An open-source, mod-friendly Android+Desktop remake of Civ V, made with LibGDX

Unciv - FOSS Civ V for Android+Desktop What is this? An open-source, mod-friendly Android+Desktop remake of Civ V, made with LibGDX Is this any good?

Yair Morgenstern 4.7k Jan 5, 2023
OpenModInstaller is an innovative open-source application for universal Minecraft mod management.

OpenModInstaller is an innovative open-source application for universal Minecraft mod management.

OpenModInstaller 11 Dec 9, 2021