mirror of
https://github.com/Akomry/makeyourownapp-jam.git
synced 2025-12-06 08:43:54 +00:00
refactor & release
This commit is contained in:
parent
c902241230
commit
0e48e9a529
4 changed files with 27 additions and 15 deletions
23
README.md
23
README.md
|
|
@ -1,12 +1,13 @@
|
||||||
# Make your own app! - [appName]
|
# Make your own app! - Yet Another Collaborative Whiteboard App
|
||||||
|
|
||||||
## What is it ?
|
## What is it ?
|
||||||
@torineos and @akomry's submission to `Make your own app!` game jam.
|
@akomry's submission to `Make your own app!` game jam.
|
||||||
Probably a networking or multimedia app or something.
|
|
||||||
|
Basically, this is an online drawing app. It only has the most basic tools for now, pen and eraser with custom color, but I hope to be able to add more.
|
||||||
|
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
You need at least **[Java 23](https://adoptium.net/temurin/releases/?version=23)** up and running.
|
Probably **[Java 23](https://adoptium.net/temurin/releases/?version=23)** up and running.
|
||||||
|
|
||||||
|
|
||||||
## Installation guide
|
## Installation guide
|
||||||
|
|
@ -16,14 +17,20 @@ install a packaged zipped file. Then execute `[extract dir]/bin/app`.
|
||||||
|
|
||||||
## -Roadmap-
|
## -Roadmap-
|
||||||
- [x] Brainstorming
|
- [x] Brainstorming
|
||||||
- [ ] Find a name
|
- [x] Find a name
|
||||||
- [ ] List issues
|
- [x] List issues
|
||||||
|
- [x] Experiment with javafx Canvas
|
||||||
|
- [x] Implement Canvas creation
|
||||||
|
- [x] Implement TCP/IP server/client
|
||||||
|
- [x] Implement event callback
|
||||||
|
- [x] Implement brush, its size and color
|
||||||
|
- [x] Implement eraser
|
||||||
|
- [ ] Implement zoom control (WIP, sketchy zoom)
|
||||||
|
- [ ] Implement layering system
|
||||||
|
|
||||||
## License
|
## License
|
||||||
TBD
|
TBD
|
||||||
|
|
||||||
|
|
||||||
## Contributors
|
## Contributors
|
||||||
* @torineos
|
|
||||||
* @akomry
|
* @akomry
|
||||||
|
|
@ -9,20 +9,22 @@
|
||||||
<version>1.0-SNAPSHOT</version>
|
<version>1.0-SNAPSHOT</version>
|
||||||
<name>graphical-app</name>
|
<name>graphical-app</name>
|
||||||
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<junit.version>5.10.0</junit.version> </properties>
|
<junit.version>5.10.0</junit.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-controls</artifactId>
|
<artifactId>javafx-controls</artifactId>
|
||||||
<version>17.0.6</version>
|
<version>24</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.openjfx</groupId>
|
<groupId>org.openjfx</groupId>
|
||||||
<artifactId>javafx-fxml</artifactId>
|
<artifactId>javafx-fxml</artifactId>
|
||||||
<version>17.0.6</version>
|
<version>24</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
@ -40,7 +42,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.controlsfx</groupId>
|
<groupId>org.controlsfx</groupId>
|
||||||
<artifactId>controlsfx</artifactId>
|
<artifactId>controlsfx</artifactId>
|
||||||
<version>11.2.1</version>
|
<version>11.2.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.synedra</groupId>
|
<groupId>net.synedra</groupId>
|
||||||
|
|
@ -59,7 +61,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.11.0</version>
|
<version>3.14.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>23</source>
|
<source>23</source>
|
||||||
<target>23</target>
|
<target>23</target>
|
||||||
|
|
@ -71,7 +73,6 @@
|
||||||
<version>0.0.8</version>
|
<version>0.0.8</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<!-- Default configuration for running with: mvn clean javafx:run -->
|
|
||||||
<id>default-cli</id>
|
<id>default-cli</id>
|
||||||
<configuration>
|
<configuration>
|
||||||
<mainClass>fr.emiko.graphicalapp/fr.emiko.graphicalapp.DrawApplication</mainClass>
|
<mainClass>fr.emiko.graphicalapp/fr.emiko.graphicalapp.DrawApplication</mainClass>
|
||||||
|
|
|
||||||
|
|
@ -3,16 +3,20 @@ package fr.emiko.graphicalapp;
|
||||||
import javafx.application.Application;
|
import javafx.application.Application;
|
||||||
import javafx.fxml.FXMLLoader;
|
import javafx.fxml.FXMLLoader;
|
||||||
import javafx.scene.Scene;
|
import javafx.scene.Scene;
|
||||||
|
import javafx.scene.image.Image;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
|
import javax.imageio.ImageIO;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
public class DrawApplication extends Application {
|
public class DrawApplication extends Application {
|
||||||
@Override
|
@Override
|
||||||
public void start(Stage stage) throws IOException {
|
public void start(Stage stage) throws IOException {
|
||||||
FXMLLoader fxmlLoader = new FXMLLoader(DrawApplication.class.getResource("draw-view.fxml"));
|
FXMLLoader fxmlLoader = new FXMLLoader(DrawApplication.class.getResource("draw-view.fxml"));
|
||||||
Scene scene = new Scene(fxmlLoader.load(), 1280, 720);
|
Scene scene = new Scene(fxmlLoader.load(), 1280, 720);
|
||||||
stage.setTitle("PixelWriter");
|
stage.setTitle("Yet Another Collaborative Drawing App");
|
||||||
|
stage.getIcons().add(new Image(Objects.requireNonNull(getClass().getResourceAsStream("icon.png"))));
|
||||||
stage.setScene(scene);
|
stage.setScene(scene);
|
||||||
stage.show();
|
stage.show();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
graphical-app/src/main/resources/fr/emiko/graphicalapp/icon.png
Normal file
BIN
graphical-app/src/main/resources/fr/emiko/graphicalapp/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 151 KiB |
Loading…
Add table
Add a link
Reference in a new issue