LGF-Android

Android library for the Leinwand Graphics Framework

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

de.bright-side.lgf
ArtifactId

ArtifactId

lgf-android
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

aar
Description

Description

LGF-Android
Android library for the Leinwand Graphics Framework
Project URL

Project URL

https://github.com/pheyse/LeinwandGF
Source Code Management

Source Code Management

https://github.com/pheyse/LeinwandGF

Download lgf-android

How to add to project

<!-- https://jarcasting.com/artifacts/de.bright-side.lgf/lgf-android/ -->
<dependency>
    <groupId>de.bright-side.lgf</groupId>
    <artifactId>lgf-android</artifactId>
    <version>1.2.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/de.bright-side.lgf/lgf-android/
implementation 'de.bright-side.lgf:lgf-android:1.2.0'
// https://jarcasting.com/artifacts/de.bright-side.lgf/lgf-android/
implementation ("de.bright-side.lgf:lgf-android:1.2.0")
'de.bright-side.lgf:lgf-android:aar:1.2.0'
<dependency org="de.bright-side.lgf" name="lgf-android" rev="1.2.0">
  <artifact name="lgf-android" type="aar" />
</dependency>
@Grapes(
@Grab(group='de.bright-side.lgf', module='lgf-android', version='1.2.0')
)
libraryDependencies += "de.bright-side.lgf" % "lgf-android" % "1.2.0"
[de.bright-side.lgf/lgf-android "1.2.0"]

Dependencies

compile (2)

Group / Artifact Type Version
androidx.appcompat » appcompat jar 1.1.0
de.bright-side.filesystemfacade : filesystemfacade jar 2.6.1

Project Modules

There are no modules declared in this project.

Overview

The Leinwand Graphics Framework – short Leinwand GF or just LGF is a 2D graphics framework for Android and Java Desktop (Windows, Linux, Mac). "Leinwand" is the German word for canvas.

Created 2018-2019 by Philip Heyse

License

Apace V2

Features and purpose

The framework is very easy to use. LGF provides many features such as:

  • Screen scaling
  • Images, fonts and animations
  • Running in Android and on Java Desktop (e.g. for faster development and testing)
  • collision detection
  • Scrolling
  • Text effects
  • Saving and loading states
  • User input via touch mouse

Using the framework

Android

In the dependencies section of the „build.gralde“ file simply add this line:

implementation 'de.bright-side.lgf:lgf-android:1.1.0'

(Please replace "1.1.0" with the current framwork version.)

Java Deskop (Windows, Linux, Mac)

In the Maven pom.xml file simply add this dependency:

	<dependency>
		<groupId>de.bright-side.lgf</groupId>
		<artifactId>lgf-pc</artifactId>
		<version>1.1.0</version>
	</dependency>

(Please replace "1.1.0" with the current framwork version.)

Further information

Please look at the file "LeinwandGF-Documentation.odt" for more information:

  • usage
  • concepts
  • PC and Andorid demo project Also look at the demo apps for desktop and Android in the "DemoProjects" folder.

Versions

1.1.0: 2019-11-22:

  • support for panels (sub-objects) in LObject
  • support for continuous opacity value
  • panel demo screen in demo app

1.2.0: 2019-12-13:

  • bugfix: consider camera position for panel items
  • pointers in input element in the update method now contains the pointer movement since last update
  • scrolling in panel demo

Versions

Version
1.2.0
1.1.0
1.0.1
1.0.0