pc

Core module for the Leinwand GF graphics framework

License

License

Categories

Categories

IDE Development Tools
GroupId

GroupId

de.bright-side.lgf
ArtifactId

ArtifactId

lgf-pc
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

pc
Core module for the Leinwand GF graphics framework
Project Organization

Project Organization

Philip Heyse

Download lgf-pc

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
de.bright-side.lgf : lgf-core jar 1.2.0
de.bright-side.filesystemfacade : filesystemfacade jar 2.6.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

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.0