NGnius (Graham)
ca0e6e089d
Mark old event system as deprecated
4 years ago
NGnius (Graham)
b81562ea58
Fix sfx block test default value
4 years ago
NorbiPeti
057a030c20
Update music block and attempt to fix test
4 years ago
NorbiPeti
15485481a2
Add some info and prev. value for setters
4 years ago
NorbiPeti
b53dff5d12
Remove initializer data once the block is placed
4 years ago
NorbiPeti
5264d98ce7
Test fixes, block event Block property
Fixed Assert.Equal()
Changed tests to reflect changes
Added Block property to the block event args
Completely removed sync things
4 years ago
NorbiPeti
5e335e78ff
Implement init for position and rotation
4 years ago
NorbiPeti
7336fe8353
Add support for initializing blocks with properties
Newly created blocks use the initializer to set properties, allowing the user to set per-block properties
4 years ago
NorbiPeti
89d32956d9
Automatically invoke the correct block constructor
And store delegates of dynamic methods invoking constructors
Tested with the automated tests
4 years ago
NGnius (Graham)
ea8a9184bc
Add popup UI method to Client
4 years ago
NGnius (Graham)
926d968eed
Add sfx block support
4 years ago
NorbiPeti
aa0aefd41b
Find block when group is unknown
4 years ago
NorbiPeti
f403feb298
Update to Gamecraft 2020.06.17.08.41 (preview)
Removed BlockIdentifiers.OWNED_BLOCKS as the original got replaced with an array
Added the correct group for each supported functional block
Removed EntityFactory property from IEntitySerializer as it is provided on deserialization
4 years ago
NGnius (Graham)
6f589f1744
Create Player tests
4 years ago
NGnius (Graham)
b376133d28
Create some test cases for blocks
4 years ago
NGnius (Graham)
60f231f939
Add standard asserts
4 years ago
NGnius (Graham)
b6a5074fd2
Add some state info and save method
4 years ago
NGnius (Graham)
189c3ca2a5
Document App and Test additions (+ minor tweaks)
4 years ago
NGnius (Graham)
0019b7c073
Version bump to v1.3.0
4 years ago
NGnius (Graham)
78122ee445
Add automatic testing functionality
4 years ago
NGnius (Graham)
c912f3ba64
Add Client and Game OOP features (undocumented)
4 years ago
NGnius (Graham)
0d17a1b509
Update project references
4 years ago
NGnius (Graham)
d2c9cde1d2
Fix double event call, jankily
4 years ago
NorbiPeti
ae1f53e119
Add new blocks
4 years ago
NorbiPeti
62318b0843
Update to Gamecraft 2020.06.11.18.50
Removed some inputs from FakeInput
4 years ago
NorbiPeti
3dcce18ceb
Add method to get selected blocks by player
4 years ago
NorbiPeti
448cf3af48
Expose the simulation-time object IDs
They are useful
4 years ago
NorbiPeti
cae626197f
Implement Equals for the OOPs & fix Player properties
Fixed setting player properties
Changed player rotation to float3
Added constructor for BlockColor with an index param
Improved Player.Exists() ~~hopefully~~
4 years ago
NorbiPeti
f62211309e
Added WaitForNextFrame() and fixed block scaling
A bit hacky, but it works
4 years ago
NGnius (Graham)
6a137472c1
Fix Block type exception on unsynced Specialize<T>()
4 years ago
NorbiPeti
5660bfc28d
Fix connected blocks not being detected in prefabs
Apparently they're processed, unlike in my save
4 years ago
NorbiPeti
dba7c0a46f
Added 2 block events and removed BDNEException
Added an event for placing and removing blocks
Added a class to wrap event calls in a try-catch
Removed BlockDoesNotExistException
Made Block.GetSimBody() return null if block doesn't exist
4 years ago
NGnius (Graham)
98c7e624f8
Add OOP Audio class
4 years ago
NGnius (Graham)
2d89b82759
Add player health and block-in-hand
4 years ago
NorbiPeti
0b8491cecf
Move Sync() to properties and improve Block doc
4 years ago
NorbiPeti
269d30b0db
Add support for connected bodies
Added center of mass
Removed delta velocities
4 years ago
NorbiPeti
ab7c5805fe
Add object ID block and label support
4 years ago
NorbiPeti
dca6fe4c1b
Fixes, added SimBody class
4 years ago
NorbiPeti
084cbb40c4
Added AsyncUtils and Block.PlaceNewAsync()
4 years ago
NGnius (Graham)
4e08acf44c
Reduce potentially unnecessary calls to Sync() by always forcing Sync() for new blocks
4 years ago
NGnius (Graham)
e8f59e8641
Delay serializer registration and disable version check even in Debug mode to fix #5
4 years ago
NGnius (Graham)
8326d70cbf
Integrate tweak and signal functionality into Blocks
4 years ago
NGnius (Graham)
fb841b6542
Add Timer and spawn point block properties
4 years ago
NorbiPeti
3ff98f29bb
Improve GetBlockInfo(), block colors
Made GetBlockInfo() always return a reference without needing it as a parameter
Fixed Color property
Added CustomColor property for temporarily setting any color
4 years ago
NGnius (Graham)
97de5e606b
Add first block children ConsoleBlock and TextBlock, I hope they're not bullied at school for those names
4 years ago
NorbiPeti
6dce87fb66
Documentation, added invalid block ID, error handling
4 years ago
NorbiPeti
1c5ce37fce
Add debug interface API and improve block API
Added API for adding more information on the debug display (not object-oriented yet)
Removed the setter for block type to ensure stability
Made the block API return defaults if the block no longer exists
Added property to check if the block exists
Made a struct for the block's color property
Added missing block IDs
4 years ago
NGnius (Graham)
ebea9da232
Remove serializer registration at startup
4 years ago
NGnius (Graham)
500cb9b716
Fix groups stealing Ids
4 years ago
NGnius (Graham)
782e00e3dd
Update deps
4 years ago