Joshua Reason
ae12fa33c8
fixed rotate converoy belt section
5 years ago
ClairePeta
b21ed9040f
Added music,
Added remaining icons,
Edited the icon for the game to rounded corners,
Code and debug cleaning,
Done client and server build pushed to teams
5 years ago
Joshua Reason
fbb4da7234
Fixed map generation bug in build
5 years ago
Claire Peta
3cfd98a474
Fix the cow,
Fix the spawn stuff
5 years ago
Claire Peta
aad9206184
Have to head home, psu hof small changes i made while play testing for bugs and whatnot (forgot to stage all on previous push)
5 years ago
ClairePeta
de9fa199f3
Added winner scene,
Added the how to play back into the client menu,
Fixed the block spawning issue (ran about 10 rounds with no errors),
Added another counter for the cannon so it shows both sides,
Removed some Debugs,
Made the fog not static,
Players can sucessfully disconnect from the game - their character is also removed and the server doesnt wait for their input
5 years ago
s3607057 (Angus Niven)
c1309d9165
Implemented new respawn logic: respawn location is the average loccation of players left on map, if any, or otherwise is the centre of the screen. Players will respawn in random open & unoccupied squares near this (within a radius of 1 if possible, widening the radius if there aren't enough open squares in that area).
Also made it so that players who fall behind the camera will lose a life & respawn, as intended.
5 years ago
ClairePeta
0208a6d7c5
Billboard the player order on the backs of each character,
Added a overlay/shadow to the lobby names to make theme easier to read,
Added a coloured background and animal sprite to the client background so players remember who they are
5 years ago
s3607057 (Angus Niven)
abd9926b80
Fixed bug that was misplacing the spawning area due to startX being changed between games in MapManager.asset.
5 years ago
s3607057 (Angus Niven)
b67bcde3fa
Lowered difficulty mins on some of our level sections so they'll show up earlier. Made difficulty scale up faster with track length. Fixed a misalignment of the in-ground trap components.
5 years ago
s3607057 (Angus Niven)
32af52cf38
Fixed 4-player spawn to account for double-moves, changed MapManager to prevent more than one link section spawning in a row.
5 years ago
s3607057 (Angus Niven)
e3fc896f4b
Cleaning up MapManager slightly.
5 years ago
s3607057 (Angus Niven)
be9a258618
Added a bunch of longer map sections. Added a simple weighting system for map sections (set for each section in the inspector), so that the proper map sections don't get drowned out by all the varieties of length-1 link sections. Removed the pit and conveyer belts from the 4-player spawn, so that we can use it for a demo.
5 years ago
ClairePeta
6bfb58f4be
Finished the environment turns for the traps
Added fog to the camera
5 years ago
s3607057 (Angus Niven)
547e82ab82
Tweaked how min and max difficulty work for adding new map sections. Added a bunch of new length-1 sections to join longer sections together if need be. Weighted the selection more towards longer sections. Divided possible map sections into multiple lists (each managed by a script object) to make them easier to work with.
5 years ago
s3607057 (Angus Niven)
0bccb8dc42
Added more conditions to map section selection, based on width & difficulty, with width reducing & difficuty increasing as the game continues. Also split camera movement in RacetrackGameMode off into its own function in preparation for expanding it, so it doesn't clutter up OnRoundEnd.
5 years ago
Claire Peta
3298be6569
Fix the spawning getting the right pen at the start of the game
5 years ago
s3607057 (Angus Niven)
3a6ae2f4c9
Added an 8-player starting area. Changed player-spawning slightly: instead of skipping index 0 for odd numbers of players, each starting pen section starts with no squares marked isSpawnable, and lists of squares to mark as spawnable on instantiation depending on the number of players. RacetrackGameMode.cs is currently hardcoded to call the map initialiser with five players, until I can figure out how to get the number of connected players when OnPreGameStart is called.
5 years ago
s3607057 (Angus Niven)
465a8eb6b7
Implemented a procedural track creation framework. Track sections will now be added from a list prefabs, after checking that they can connect to the previous section. Sections that have passed out of camera view will disappear. Created a new scene using the procedural generator. The Lobby will now load it on starting a game.
To do:
- Add a starting pen for an 8-player game.
- Add more track sections.
- Add weighting & more criteria for selection of track sections (to produce that escalating difficulty we want).
- Potentially add the possibility for narrower track sections to spawn side by side.
5 years ago