Drew DeVault
0c6a973a69
Unify server and client implementations of windows
2015-10-09 07:42:37 -04:00
Drew DeVault
bbb457af87
Fix inconsistent location of .truecraft
2015-10-08 22:02:03 -04:00
Drew DeVault
3550bcb1a1
Add item rendering for inventory
2015-10-08 18:32:34 -04:00
Drew DeVault
be8649447a
Initial pass on rendering inventory window
2015-10-08 08:41:43 -04:00
Drew DeVault
6942786b32
[Client] Add player health to HUD
2015-10-08 08:06:37 -04:00
Drew DeVault
3da7d25a3d
Rewrite chat interface
2015-10-07 08:36:43 -04:00
Drew DeVault
c4a65da5a1
Improve identification of .minecraft directory
...
This will use the following, in this order:
- $XDG_CONFIG_HOME/truecraft
- .config/truecraft (%APPDATA% on Windows)
- ~/.truecraft (%USERPROFILE% on Windows)
Fixes #201
2015-10-06 08:10:30 -04:00
Drew DeVault
a361703746
Implement walking sounds
...
These sounds change depending on what kind of block you're walking in.
Still to come: sound effects for mining and placing blocks
2015-10-05 22:06:59 -04:00
Drew DeVault
8f6e577550
Initial pass on sound effects on client
...
Broken due to MonoGame problems
2015-10-04 10:06:44 -04:00
Drew DeVault
578c5af3b9
Add gamepad support
2015-10-01 08:46:09 -04:00
Drew DeVault
75a39118a9
Add numbers to slots on inventory
2015-09-30 20:03:51 -04:00
Drew DeVault
46569dec08
Cycle through hotbar with scroll wheel
2015-09-30 16:50:25 -04:00
Drew DeVault
069e80469c
Add animation as blocks are broken
2015-09-29 20:39:11 -04:00
Drew DeVault
53987d2d52
Fix issue with disappearing chunks on re-render
2015-09-28 08:35:21 -04:00
Drew DeVault
7b5154ff6f
Improve chunk re-rendering
2015-09-28 08:33:10 -04:00
Drew DeVault
512fabf0b5
Re-render chunks when they change
...
This has some weird problems where the chunks will disappear for a
moment. I spent some time investigating it and I'm still not sure why
this happens.
2015-09-28 08:19:42 -04:00
Drew DeVault
07362ad666
Implement digging on client*
...
* With known limitations
- Changing blocks still doesn't re-render correctly
- The item you're holding doesn't factor into your digging time
- No animation on the block you're digging out
2015-09-27 22:32:07 -04:00
Drew DeVault
9498a05167
Fix rotational math to match Mojang client
2015-09-27 22:03:15 -04:00
Drew DeVault
2eaaf219a8
Fix torch rendering, track the highlighted face
...
The second bit will allow the client to start doing things like placing
blocks.
2015-09-27 21:00:32 -04:00
Drew DeVault
10a84b94ee
Tweak reach rules a bit
2015-09-27 17:21:23 -04:00
Drew DeVault
d238e12f56
Simplify camera positioning
2015-09-27 17:18:49 -04:00
Drew DeVault
02146108ba
Fix highlighted block, add crosshairs
2015-09-27 17:14:04 -04:00
Drew DeVault
3722468d01
Create DebugInfoModule
...
Provides F2 debugging info
2015-09-24 22:28:44 -04:00
Drew DeVault
8fe7329135
Start moving client towards a more refined design
...
I'm splitting up core pieces of functionality into several smaller
modules. TrueCraftGame will be made smaller and smaller until it's just
a small wrapper around the modules doing all of the work. This should
allow for modders to easily add new modules or replace builtin modules,
and will make the codebase more maintainable in general.
2015-09-24 21:20:36 -04:00
Drew DeVault
915937dbd4
Calculate highlighted block in UpdateCamera
...
Feels a bit buggy, but will refine over time
2015-09-24 08:45:24 -04:00
Drew DeVault
8f2a4e54a9
Add highlighted block model and VoxelCast class
2015-09-24 08:28:16 -04:00
Drew DeVault
1ac7413c1f
Make view bobbing more subtle
2015-09-22 08:44:52 -04:00
Drew DeVault
199dff5362
Adjust client camera a bit
...
This centers the camera on your bounding box and adjusts the near plane
so that you can't walk up to blocks and see inside of them.
2015-09-21 17:51:19 -04:00
Drew DeVault
15670c3d77
Reduce mouse sensitivity, fix return to launcher
...
The mouse sensitivity is now more Minecrafty by default (will eventualy
want to make this configurable) and the bug where the launcher won't
re-open after exiting singleplayer is fixed.
2015-09-21 08:16:44 -04:00
Drew DeVault
b7e75a93a5
Add head bobbing as you move
2015-09-20 18:11:02 -04:00
Drew DeVault
b635feb30b
Fix issues with client jumping
2015-09-20 17:55:57 -04:00
Drew DeVault
8819ccf27e
Fix issues with client physics, implement jumping
...
Still a bit janky with jumping.
Fixes #146
2015-09-20 17:45:27 -04:00
Drew DeVault
2d0ce96cc0
Avoid rendering unseen blocks at chunk boundaries
2015-09-20 15:49:31 -04:00
Drew DeVault
8b1930eeac
Switch to DateTime.UtcNow for everything
2015-07-02 12:14:55 -06:00
William Moorehouse
018ed44ca0
Tweaked scaling, disabled smoothing of UI when scaled
2015-06-23 19:39:06 -04:00
Drew DeVault
617827a5d8
Fix screenshots on Linux
2015-06-23 15:56:48 -06:00
Drew DeVault
9d01f77625
Some improvements to chunk rendering
...
- Spreads work out on multiple cores again
- Takes as many pending chunks as we can during updates
2015-06-23 15:10:35 -06:00
William Moorehouse
5c439e287f
Fixed key presses going through the chat interface while disabled
2015-06-23 16:00:21 -04:00
William Moorehouse
8bc3090d69
Refactored game interface a bit, misc features
2015-06-23 15:49:21 -04:00
William Moorehouse
94285c2bf7
Added (more) chat support
2015-06-23 12:59:24 -04:00
William Moorehouse
c2f5026f41
Fixed issue where the client continued to reset the mouse position after losing focus
2015-06-22 11:34:29 -04:00
Drew DeVault
8697994737
Add wheat and farmland renderers
2015-06-20 13:56:57 -04:00
Drew DeVault
f3fc43fbf9
Implement biome coloring for grass/vegitation/etc
...
Fixes #147
2015-06-19 17:36:39 -04:00
Drew DeVault
5c52b7634e
Remove references to GraphicsDevice on workers
2015-06-19 00:58:30 -04:00
William Moorehouse
596311101a
Proper disposal of ChunkRenderer
2015-06-18 21:55:35 -04:00
William Moorehouse
7046a0f53c
💤
2015-06-18 17:51:47 -04:00
William Moorehouse
fc7f52b619
Slight optimization thanks to @UnknownShadow200
2015-06-18 17:35:44 -04:00
Drew DeVault
386d8f7328
Add option to download Mojang assets
...
Also fixes a bug with texture pack loading in the client.
Note: we cannot distribute Mojang assets, but some players might want to
use them. To that end, the launcher now has a button that allows the
user to download them him or herself. Since we download them directly
from Mojang, we're be good to go.
2015-06-18 13:59:03 -04:00
Drew DeVault
8d16467ac0
Move near plane to 0.5f
2015-06-18 13:07:36 -04:00
William Moorehouse
ba63e7d234
Added support for translucent rendering
2015-06-18 08:29:51 -04:00