Commit Graph

155 Commits

Author SHA1 Message Date
jzitnik 579bc05538 fix: Jumping infinitely deals damage 2025-09-24 21:14:07 +02:00
jzitnik c6cc5faba2 feat: Idk 2025-09-24 12:27:17 +02:00
jzitnik bfafe8577a feat: Zombie logic 2025-09-24 10:58:55 +02:00
jzitnik 13db7972eb perf: Significantly improved rendering performance 2025-09-23 12:18:35 +02:00
jzitnik 5d57d8e069 feat: Hurt animation and killing of zombie 2025-09-22 15:32:27 +02:00
jzitnik 32cb96dd49 feat: Zombies fall when block is broken under them 2025-09-21 10:46:40 +02:00
jzitnik 9351b8453d test: Remove auto transient test 2025-09-20 21:44:54 +02:00
jzitnik e9ffb5d29f chore: Some changes 2025-09-20 21:39:25 +02:00
jzitnik 61dee148e4 chore: Include nodejs script for normalizing 2025-06-27 14:29:38 +02:00
jzitnik 9727ad732f fix: Threads 2025-06-01 21:17:15 +02:00
jzitnik 069183e5c1 fix: Lombok version 2025-05-30 15:01:57 +02:00
jzitnik 418117c7fe docs: Added some useless JavaDoc 2025-05-27 08:06:14 +02:00
jzitnik d09209848e chore: Idk some changes that I made 2025-05-05 10:57:07 +02:00
jzitnik 2e2f4b00f7 feat: More sounds
Co-authored-by: jull <sefljulie@gmail.com>
2025-04-29 19:43:20 +00:00
jzitnik f09519773b feat(saving): Use kryo for serialization
This will probably be more expanded in future. But for now this approach
works without some major issues. But ofc things like data migration etc
doesn't work.
2025-04-07 20:59:51 +02:00
jzitnik 1d29972087 feat(ui): Options tab 2025-04-04 07:43:00 +02:00
jzitnik 10b81d018c refactor(ui): Moved logic of Menu 2025-04-03 08:21:39 +02:00
jzitnik c2f895bc8b chore(logs): Changes log file sizes 2025-04-02 22:08:35 +02:00
jzitnik 587cd938f6 feat(ui): Better looking numbers 2025-04-02 22:05:02 +02:00
jzitnik aa6a47fff9 feat(ui): Implemented "Save and Exit" in Escape 2025-04-02 20:53:54 +02:00
jzitnik 4dd785fdfc feat(ui): Simple escape menu 2025-04-02 20:27:46 +02:00
jzitnik aced312df1 feat(ui): Implemented different text colors and bg 2025-03-31 21:59:11 +02:00
jzitnik 6028b54d10 refactor(ui): Better API for UI texts 2025-03-31 11:58:30 +02:00
jzitnik 6ece6d3096 feat(ui): Font 2025-03-31 10:23:20 +02:00
jzitnik 72e4594165 chore: Idk 2025-03-29 14:34:29 +01:00
jzitnik d1923a4dd5 fix: Chore 2025-03-29 14:29:55 +01:00
jzitnik 581db639e4 Merge pull request 'chore: dyed wools' (#13) from jull/twodcraft:jull into main
Reviewed-on: http://gitea.jzitnik.dev/jzitnik/twodcraft/pulls/13
2025-03-29 13:26:14 +00:00
jull 077c7484c4 chore: wheat stages 2025-03-29 14:24:32 +01:00
jull 3f9ce33231 chore: dyed wools 2025-03-29 11:01:37 +01:00
jzitnik 8c161180e6 feat(sounds): Added sounds
This currently doesn't work idk why. Will fix later.
2025-03-28 18:43:08 +01:00
jzitnik 94abddef81 feat(sounds): Added hurt sound 2025-03-28 15:41:25 +01:00
jzitnik e58c7be90d fix: Mined sound 2025-03-28 15:30:03 +01:00
jzitnik 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
jzitnik a8e80c405d notworking: Idk 2025-03-28 08:17:13 +01:00
jzitnik 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
jzitnik a84d3bec00 feat(sounds): Added dirt and gravel sound 2025-03-26 21:15:28 +01:00
jzitnik 2fb1929efe fix: Build 2025-03-26 20:57:37 +01:00
jzitnik c674663cc0 feat(sounds): Added some new sounds 2025-03-26 20:46:52 +01:00
jzitnik 95e1e52205 feat(sounds): Added simple sounds 2025-03-26 18:11:22 +01:00
jull 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
jzitnik b1483c138a feat(ui): Added hurt animation 2025-03-26 13:01:46 +01:00
jzitnik 8b09d71a44 feat(gameplay): Added day-night cycle 2025-03-26 11:31:25 +01:00
jzitnik ca98fe7fae perf(sprites): Optimized numbers
Now numbers are lazy loaded
2025-03-25 12:58:14 +01:00
jzitnik 1c1230a1d0 fix(sprites): Fixed breaking sprite 2025-03-25 12:22:25 +01:00
jzitnik 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
jzitnik 2ecca0fa52 chore: Minor changes 2025-03-25 08:22:09 +01:00
jzitnik b6c0e730d3 chore(logging): Implemented basic logging 2025-03-23 13:54:51 +01:00
jzitnik c1674d7866 fix: Leaves falling when base out of loaded radius 2025-03-23 11:04:24 +01:00
jzitnik 0bd9dfb412 feat: Implemented catching on fire from lava 2025-03-23 10:57:34 +01:00
jzitnik d7b4e28e81 feat: Added gravel 2025-03-22 16:26:00 +01:00