140 Commits

Author SHA1 Message Date
1d29972087
feat(ui): Options tab 2025-04-04 07:43:00 +02:00
10b81d018c
refactor(ui): Moved logic of Menu 2025-04-03 08:21:39 +02:00
c2f895bc8b
chore(logs): Changes log file sizes 2025-04-02 22:08:35 +02:00
587cd938f6
feat(ui): Better looking numbers 2025-04-02 22:05:02 +02:00
aa6a47fff9
feat(ui): Implemented "Save and Exit" in Escape 2025-04-02 20:53:54 +02:00
4dd785fdfc
feat(ui): Simple escape menu 2025-04-02 20:27:46 +02:00
aced312df1
feat(ui): Implemented different text colors and bg 2025-03-31 21:59:11 +02:00
6028b54d10
refactor(ui): Better API for UI texts 2025-03-31 11:58:30 +02:00
6ece6d3096
feat(ui): Font 2025-03-31 10:23:20 +02:00
72e4594165
chore: Idk 2025-03-29 14:34:29 +01:00
d1923a4dd5
fix: Chore 2025-03-29 14:29:55 +01:00
581db639e4 Merge pull request 'chore: dyed wools' (#13) from jull/twodcraft:jull into main
Reviewed-on: jzitnik/twodcraft#13
2025-03-29 13:26:14 +00:00
077c7484c4 chore: wheat stages 2025-03-29 14:24:32 +01:00
3f9ce33231 chore: dyed wools 2025-03-29 11:01:37 +01:00
8c161180e6
feat(sounds): Added sounds
This currently doesn't work idk why. Will fix later.
2025-03-28 18:43:08 +01:00
94abddef81
feat(sounds): Added hurt sound 2025-03-28 15:41:25 +01:00
e58c7be90d
fix: Mined sound 2025-03-28 15:30:03 +01:00
25fb664b8d
fix: Annotation on annotation
Yeah I'm dumb I know. But whatever this code doesn't have any real value
anyways other than finding weird things about java. Like really why am I
doing this to my self.

Why do I even code? What’s the point? Does it even matter? I don’t even enjoy it—I do it because I’m not good at anything else. I've lost all motivation to code. I have about 30 unfinished projects and not a single one completed.

I go to school, but honestly, it feels like a waste of time... Yet, what else would I do? Code? For what? What is programming even for?
Sometimes I wonder, what value do I even have in this life?

What’s the point of school? To get a good job? And what’s the point of a good job? Money? And money—what for? To survive? And surviving—for what? To... To...

Why am I even coding in Java? Why do I do this to myself? I could be peacefully writing in Rust, but no—I’m stuck here, suffering with this cursed Java.

Hope nobody’s reading this. And if you are, well—I hope you have a great day.
Got a little carried away there. Alright, back to focusing on English class...

But why should I? I can speak English just fine. Why do we study history? "Because it’s basic knowledge." Yeah, well, you can shove your basic knowledge where the sun doesn’t shine.

I feel like I’m wasting my life. The last five years...
2025-03-28 08:50:53 +01:00
a8e80c405d
notworking: Idk 2025-03-28 08:17:13 +01:00
433dbf6f96
refactor(sounds): Rewritten code for sound to ogg
Now SoundPlayer class supports only .ogg files instead of wav file which
can reduce the final .jar file size drastically. It uses library.
2025-03-27 21:39:12 +01:00
a84d3bec00
feat(sounds): Added dirt and gravel sound 2025-03-26 21:15:28 +01:00
2fb1929efe
fix: Build 2025-03-26 20:57:37 +01:00
c674663cc0
feat(sounds): Added some new sounds 2025-03-26 20:46:52 +01:00
95e1e52205
feat(sounds): Added simple sounds 2025-03-26 18:11:22 +01:00
0fd5689db7 feat(blocks): Tall flowers
Co-authored-by: jull <sefljulie@gmail.com>
Co-committed-by: jull <sefljulie@gmail.com>
2025-03-26 16:51:39 +00:00
b1483c138a
feat(ui): Added hurt animation 2025-03-26 13:01:46 +01:00
8b09d71a44
feat(gameplay): Added day-night cycle 2025-03-26 11:31:25 +01:00
ca98fe7fae
perf(sprites): Optimized numbers
Now numbers are lazy loaded
2025-03-25 12:58:14 +01:00
1c1230a1d0
fix(sprites): Fixed breaking sprite 2025-03-25 12:22:25 +01:00
b4bf76ef37
perf(sprites): Optimized loading of resources
Added lazy loading of resources. The resource was previously loaded on
each render, but now it is loaded the first time it is used and stays in
memory.
2025-03-25 12:05:38 +01:00
2ecca0fa52
chore: Minor changes 2025-03-25 08:22:09 +01:00
b6c0e730d3
chore(logging): Implemented basic logging 2025-03-23 13:54:51 +01:00
c1674d7866
fix: Leaves falling when base out of loaded radius 2025-03-23 11:04:24 +01:00
0bd9dfb412
feat: Implemented catching on fire from lava 2025-03-23 10:57:34 +01:00
d7b4e28e81
feat: Added gravel 2025-03-22 16:26:00 +01:00
da92b9e61a
feat: Added flint and steel 2025-03-22 15:43:31 +01:00
8b8c23dad4
feat: Implemented block burning spreading 2025-03-22 13:01:02 +01:00
36e57bbb8d
feat: Added reducing fall damage 2025-03-21 18:05:51 +01:00
f20d17adf6
feat: Added haybale 2025-03-21 15:12:58 +01:00
4caeca4fed
chore: Added license 2025-03-21 11:42:09 +01:00
d2d3efe399
fix: Grow length 2025-03-21 11:41:54 +01:00
064ae511d9
feat: Implemented wheat and bread 2025-03-21 11:29:59 +01:00
bffee19583
feat: Implemented growing 2025-03-21 10:18:13 +01:00
9fc72a67ec
feat: Implemented farmland 2025-03-21 07:28:10 +01:00
bc33c5f531
feat: Twoblock block
Added new Sprite for creating two block tall blocks. This sprite takes 2
sprite files (top, bottom). Also created new annotation that handles
breaking and placing two block tall blocks and also manages the sprite
state.
2025-03-19 13:04:36 +01:00
a610bcf3ca
feat: Burning
Added Burning state so player will be burning even after he is out of
lava. Also added texture for fire that is added on top of steve texture
2025-03-17 13:24:11 +01:00
391cda0550
test(annotations): New tests for annotations
Added some new test for annotations @AutoTransient and @ThreadProvider.
These tests ensure that @AutoTransient is only used on transient fields
and @ThreadProvider is used on class that extend Thread.
2025-03-16 21:02:03 +01:00
53a3ae43f3
test(annotations): New @RequireAnnotation
New annotation @RequireAnnotation can be used on annotations so that all
classes with that specific annotation must also have another annotation.
If this is not true, test will not pass. This annotation takes array of
annotations.
2025-03-16 20:37:24 +01:00
e1190f7e6a feat: Dyes and organized registry (#10)
Co-authored-by: jull <sefljulie@gmail.com>
Co-committed-by: jull <sefljulie@gmail.com>
2025-03-16 17:26:06 +00:00
ae5d34b41a
refactor(transient): Rewritten transient handling
Rewritten transient handling using @AutoTransient annotation. Now we
don't have to override readObject method to automatically initilize
transient properties in serilizable classes.
2025-03-16 18:20:18 +01:00