refactor & release

This commit is contained in:
Emi Boucly 2025-03-27 13:46:05 +01:00
parent c902241230
commit 0e48e9a529
4 changed files with 27 additions and 15 deletions

View file

@ -1,12 +1,13 @@
# Make your own app! - [appName]
# Make your own app! - Yet Another Collaborative Whiteboard App
## What is it ?
@torineos and @akomry's submission to `Make your own app!` game jam.
Probably a networking or multimedia app or something.
@akomry's submission to `Make your own app!` game jam.
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
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
@ -16,14 +17,20 @@ install a packaged zipped file. Then execute `[extract dir]/bin/app`.
## -Roadmap-
- [x] Brainstorming
- [ ] Find a name
- [ ] List issues
- [x] Find a name
- [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
TBD
## Contributors
* @torineos
* @akomry

View file

@ -9,20 +9,22 @@
<version>1.0-SNAPSHOT</version>
<name>graphical-app</name>
<properties>
<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>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>17.0.6</version>
<version>24</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>17.0.6</version>
<version>24</version>
</dependency>
<dependency>
@ -40,7 +42,7 @@
<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>controlsfx</artifactId>
<version>11.2.1</version>
<version>11.2.2</version>
</dependency>
<dependency>
<groupId>net.synedra</groupId>
@ -59,7 +61,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<version>3.14.0</version>
<configuration>
<source>23</source>
<target>23</target>
@ -71,7 +73,6 @@
<version>0.0.8</version>
<executions>
<execution>
<!-- Default configuration for running with: mvn clean javafx:run -->
<id>default-cli</id>
<configuration>
<mainClass>fr.emiko.graphicalapp/fr.emiko.graphicalapp.DrawApplication</mainClass>

View file

@ -3,16 +3,20 @@ package fr.emiko.graphicalapp;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import javax.imageio.ImageIO;
import java.io.IOException;
import java.util.Objects;
public class DrawApplication extends Application {
@Override
public void start(Stage stage) throws IOException {
FXMLLoader fxmlLoader = new FXMLLoader(DrawApplication.class.getResource("draw-view.fxml"));
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.show();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB