Ticho Hidding
b12c74433a
merge to UI
2025-10-01 15:31:38 +02:00
Bas Antonius de Jong
2f9b155e6e
Alpha DrawCondition update ( #89 )
...
* drawConditions gemaakt en geimplementeerd
* drawConditions gemaakt en geimplementeerd, werkt wanneer je het lokaal draait
* better draw conditions in a shorter amount of lines
* commit for ticho
* working draw conditions (maybe?)
* moved a little bit
* removed a little bit
---------
Co-authored-by: michiel <m.brands.3@st.hanze.nl >
2025-10-01 15:20:02 +02:00
Bas Antonius de Jong
eb6dc03a3d
Alpha UI update ( #88 )
...
* broken push
* broken push
* Alpha rebase complete, added asset loader for UI branch
---------
Co-authored-by: ramollia <@>
2025-10-01 15:09:26 +02:00
lieght
527378ac00
Alpha rebase complete, added asset loader for UI branch
2025-10-01 15:08:18 +02:00
lieght
197db4faac
Merge remote-tracking branch 'origin/UI' into UI
...
# Conflicts:
# app/pom.xml
# app/src/main/java/org/toop/app/gui/RemoteGameSelector.java
# app/src/main/java/org/toop/tictactoe/LocalTicTacToe.java
# app/src/main/java/org/toop/tictactoe/gui/UIGameBoard.java
2025-10-01 15:04:03 +02:00
ramollia
5edd3a2278
broken push
2025-10-01 15:01:32 +02:00
lieght
823a2cd4df
Added ability to track loading amount through event.
2025-10-01 14:50:47 +02:00
lieght
b2b8601f0c
Added methods to FontAsset to make it usable.
2025-10-01 04:30:35 +02:00
lieght
5e4db91750
Moved loads to own class for better memory management. Added ability to add text- and localizationassets.
2025-10-01 04:19:28 +02:00
lieght
f11ff0421b
Merge remote-tracking branch 'origin/assetManager' into assetManager
2025-10-01 00:13:04 +02:00
lieght
6cd2c083b7
Refactored to have assets use self reflection to identify with certain extensions
2025-10-01 00:12:38 +02:00
aba8f682ec
Merge remote-tracking branch 'origin/assetManager' into assetManager
2025-10-01 00:08:01 +02:00
7ff65de1ca
Added an isLoaded check to AudioAsset getNewClip().
2025-10-01 00:07:15 +02:00
d661e0d4b5
Moved isLoaded to BaseResource. Loading and unloading will still be overridden if necessary. Added some subclass/super safe load and unload functions.
2025-10-01 00:06:46 +02:00
lieght
21763851e8
Made AssetManager be Thread safe.
2025-09-30 23:42:56 +02:00
d432887860
Added back changes from audio branch. byte[] is stored in base resource and different Resources can extract their data from it.
2025-09-30 23:42:00 +02:00
lieght
7c970d9a4d
Updated assetmanager to now load assets with an assetloader
2025-09-30 23:32:37 +02:00
lieght
d78fd1b606
Fixed unknown names, Assetmanager now has initializeloader
2025-09-30 23:17:32 +02:00
lieght
cf9c281992
Merge remote-tracking branch 'refs/remotes/origin/46-audio-epic' into assetManager
...
# Conflicts:
# framework/src/main/java/org/toop/framework/assets/resources/AudioAsset.java
# framework/src/main/java/org/toop/framework/assets/resources/BaseResource.java
# framework/src/main/java/org/toop/framework/assets/resources/ImageResource.java
2025-09-30 22:54:54 +02:00
Bas de Jong
8328387e86
Reworked resources to be assets, and made AssetManager a singleton
2025-09-30 21:01:59 +02:00
Stef
a7cd0016f1
83 spelen van geluid geeft id terug ( #86 )
...
* Between commit
* Revert "Between commit"
This reverts commit 6c6e55492e .
* Removed debug print from main
* Removed class variables that are no longer used. Sound resources now generate a new Clip with the getNewClip() method.
* Successfully plays multiple instances of the same sound. Returns the clipID so the sound can be stopped.
* Added some comments
2025-09-30 20:29:42 +02:00
Bas de Jong
d158668dfd
Resources now impelement the ResourceType interface
2025-09-30 20:04:48 +02:00
Stef
db544868d9
Merge pull request #85 from 2OOP/84-Byte-array-ipv-InputStream
...
Changed Input Stream into byte array
2025-09-30 19:55:10 +02:00
324811d026
Switched from Input Stream to Byte array. getStream can now be used to get a buffered stream
2025-09-30 19:53:39 +02:00
44b4613c27
Updated SoundManager.java to simplify how audios are played. Uses new AssetManager and AudioInputStream instead of whatever was going on at first.
2025-09-30 16:58:26 +02:00
Bas de Jong
423fd9d68a
AssetManager init
2025-09-30 16:38:13 +02:00
Ticho Hidding
f37d26db28
Merge remote-tracking branch 'origin/UI' into Localization
...
# Conflicts:
# .idea/misc.xml
# app/src/main/java/org/toop/Main.java
# app/src/main/java/org/toop/app/gui/LocalServerSelector.java
# app/src/main/java/org/toop/events/WindowEvents.java
# app/src/main/java/org/toop/tictactoe/gui/UIGameBoard.java
2025-09-30 14:25:41 +02:00
Ticho Hidding
52d41e587e
merge to UI
2025-09-30 14:22:08 +02:00
ramollia
99a3b7e85b
broken push
2025-09-30 12:38:49 +02:00
Bas Antonius de Jong
d5735be2db
Update git ( #81 )
...
* new ignore
* Delete .idea/misc.xml
* Delete .idea/compiler.xml
---------
Co-authored-by: Stef <stbuwalda@gmail.com >
2025-09-30 12:07:12 +02:00
Bas de Jong
57bd6ded6f
HasMap to String, Asset instead of Long Asset
2025-09-30 11:53:13 +02:00
Bas de Jong
d1da49ad1d
New assetManager
2025-09-30 11:48:53 +02:00
Bas Antonius de Jong
f37928307c
Update Main.java ( #74 )
...
* Update Main.java
* Updated main to be generic.
2025-09-29 13:52:48 +02:00
Bas de Jong
9131803044
Working audio system with events.
2025-09-29 13:48:03 +02:00
Bas de Jong
a957195514
Rudimentary audio file processing.
2025-09-29 13:48:03 +02:00
lieght
4ea2bb96a6
Fixed test never ending
2025-09-28 21:57:59 +02:00
lieght
233ef78e7a
Fixed java 25 not supposrted
2025-09-28 21:57:59 +02:00
lieght
a94d83292e
Fixed unittests. Formatting
2025-09-28 21:57:59 +02:00
lieght
c76b7a800e
Server in working state, can be merged with working branch.
2025-09-28 21:57:59 +02:00
lieght
a9e63b3fcc
Initial parsing of server response
2025-09-28 21:57:59 +02:00
ramollia
27e7166ac7
refactored game
2025-09-25 15:50:10 +02:00
Ticho Hidding
2c4719f6d4
added localization options
...
//todo add all the strings
2025-09-25 14:38:06 +02:00
lieght
7431d1b03f
Disabled error prone for now. Improved eventflow speed
2025-09-24 22:04:00 +02:00
lieght
e6e11a3604
Refactor and fixes
2025-09-24 18:37:13 +02:00
lieght
9df467c0d3
Events fixed
2025-09-24 16:59:28 +02:00
lieght
afc79f8d36
Added back import
2025-09-24 16:55:40 +02:00
ramollia
7d4285eb36
Merge remote-tracking branch 'origin/Refactor' into Refactor
...
# Conflicts:
# app/pom.xml
2025-09-24 16:54:41 +02:00
ramollia
20c4a011b6
refactored pom.xml
2025-09-24 16:54:11 +02:00
lieght
e590941e2f
Fixed framework and moved window events to app
2025-09-24 16:53:29 +02:00
lieght
05e2b27330
Fixed poms
2025-09-24 16:28:25 +02:00