Skip to content

Dashstrom/The-Legend-of-Link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

The legend of Link

Small project over 7 weeks on the theme of zelda-likes. Use the MVC model with javafx.

Development

Make Maven wrapper

mvn -N io.takari:maven:wrapper

Install source with javadoc

./mvnw dependency:sources

Install Tiled for edit zones

Source

without git

curl -g https://codeload.github.com/Dashstrom/The-Legend-of-Link/zip/refs/heads/master --ouput The-Legend-of-Link.zip
tar xf The-Legend-of-Link-archive.zip
cd The-Legend-of-Link-master

with git

git clone https://github.com/Dashstrom/The-Legend-of-Link.git
cd The-Legend-of-Link

Windows prerequisite

As administrator (not mandatory)

where java
# replace your Path by jdk-X or jre-X
setx JAVA_HOME 'Path'

Build standalone jar

.\mvnw -T 2C clean package

Run game

java -jar target/the-legend-of-link-1.0.1-jar-with-dependencies.jar

Proxy Maven

Sometimes you need to configure your society proxy.

~/.m2/settings.xml

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" 
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
    <proxies>
        <proxy>
            <id>id</id>
            <active>true</active>
            <protocol>http</protocol>
            <username>username</username>
            <password>password</password>
            <host>host</host>
            <port>port</port>
            <nonProxyHosts>local.net|some.host.com</nonProxyHosts>
        </proxy>
    </proxies>
</settings>

.mvn/jvm.config

-Dhttp.proxyHost=host 
-Dhttp.proxyPort=port 
-Dhttps.proxyHost=host 
-Dhttps.proxyPort=port 
-Dhttp.proxyUser=username 
-Dhttp.proxyPassword=password