Commit Graph

330 Commits

Author SHA1 Message Date
Wirus
3c8f3e817f Merge branch 'Player' of https://git.wmi.amu.edu.pl/s444409/DSZI_Survival into MapNew 2020-04-05 21:49:52 +02:00
46d018dbfd Fixed wrong spawnpoint coords 2020-04-05 21:48:55 +02:00
Michał Czekański
aec4ddf2d3 Add method returning specified screen part width 2020-04-05 21:48:43 +02:00
Wirus
55fb38aa0a add water texture to Map 2020-04-05 21:46:04 +02:00
Michał Czekański
900e8e2203 Add ui fields in Ui class 2020-04-05 21:39:08 +02:00
jonspacz
404d2f1b50 deleted not needed Map elements from Pickupable 2020-04-05 21:36:58 +02:00
jonspacz
a9ca435cca Merge remote-tracking branch 'origin/MapNew' into MapNew
# Conflicts:
#	src/entities/Collidable.py
2020-04-05 21:29:11 +02:00
Wirus
061455605d Merge branch 'entities_branch' of https://git.wmi.amu.edu.pl/s444409/DSZI_Survival into MapNew 2020-04-05 22:44:43 +02:00
Wirus
5446217628 add rabbit.png 2020-04-05 22:20:01 +02:00
Wirus
cceb1d50c6 add sand texture to map 2020-04-05 22:07:37 +02:00
Wirus
36fbdbab62 Map: removeSpriteFromMap 2020-04-05 21:18:11 +02:00
Wirus
93f3df85fe Merge branch 'MapNew' of https://git.wmi.amu.edu.pl/s444409/DSZI_Survival into MapNew 2020-04-05 21:12:34 +02:00
jonspacz
242635038a Merge remote-tracking branch 'origin/MapNew' into MapNew 2020-04-05 21:11:42 +02:00
d7ff3037cd Added sprite removal method 2020-04-05 21:06:45 +02:00
jonspacz
b2c8333c93 Merge branch 'MapNew' of https://git.wmi.amu.edu.pl/s444409/DSZI_Survival into MapNew 2020-04-05 20:50:17 +02:00
c91c82d80a Fixed bug: not being able to rotate with specific collisions 2020-04-05 20:47:24 +02:00
8557eabb97 Merge remote-tracking branch 'origin/MapNew' 2020-04-05 20:37:12 +02:00
jonspacz
057f711317 Removed Collidable because was not useful finished todo in pickupable and added Statistics to contstructor 2020-04-05 20:34:45 +02:00
161e869e9f Merge remote-tracking branch 'origin/Player'
# Conflicts:
#	src/game/Game.py
2020-04-05 20:33:21 +02:00
jonspacz
169a931329 Merge remote-tracking branch 'origin/MapNew' into entities_branch
# Conflicts:
#	src/entities/Collidable.py
2020-04-05 20:27:21 +02:00
jonspacz
78929e44c3 Merge branch 'entities_branch' into MapNew
# Conflicts:
#	src/entities/Collidable.py
2020-04-05 20:25:46 +02:00
Wirus
f399ba0d53 add entity to collidables in Map method 2020-04-05 20:24:28 +02:00
Wirus
c121519605 move collision to Map class 2020-04-05 20:20:37 +02:00
Wirus
853a3b1601 Map: collidable group of sprites
TerrainTile: position attributes
EventManager: collision method
2020-04-05 19:08:08 +02:00
Michał Czekański
cbb9508c19 Add method addLinesToConsoleAndScrollToDisplayThem in UiConsole 2020-04-05 19:06:15 +02:00
Wirus
16e361540e Map: delete import Player 2020-04-05 15:51:16 +02:00
Wirus
c98d8870a8 add some images and venv to gitignore 2020-04-05 15:44:03 +02:00
Wirus
6a1fe72cab Game: correct declarative order
Map: collidableTerrain list
2020-04-05 15:41:42 +02:00
Wirus
c338d6caa1 Merge remote-tracking branch 'origin/Player' into MapNew 2020-04-05 14:54:59 +02:00
Wirus
9d9cd159a0 addEntity method in Map 2020-04-05 14:53:54 +02:00
a264ac7cb1 Refactor to fixed Entity class 2020-04-05 14:52:30 +02:00
d88670f456 Fixed retarded Entity implementation 2020-04-05 14:52:19 +02:00
6efd5652dd Implemented proper player movement 2020-04-05 14:49:37 +02:00
e184e6417b Entity now inherits from pygame.sprite.Sprite 2020-04-05 14:06:56 +02:00
Michał Czekański
8b126f636b Fix adding functions to invoke in UiButton 2020-04-04 21:37:42 +02:00
Michał Czekański
65c9171428 Fix writing console lines when line ind is too small or too big 2020-04-04 21:37:25 +02:00
277a84b72e Added player movement 2020-04-04 21:33:39 +02:00
8c1dad0101 Added move and rotate function 2020-04-04 21:33:24 +02:00
d16711068a Initial player implementation 2020-04-04 20:54:11 +02:00
cad65b8ed7 Added temporary player texture 2020-04-04 20:53:54 +02:00
5e021ca087 Added constructor params 2020-04-04 20:53:33 +02:00
c454d8d328 Updated entity class 2020-04-04 20:53:13 +02:00
Michał Czekański
bf166232f3 Add method addingLines to UiConsole and fix writing on console 2020-04-04 20:49:02 +02:00
jonspacz
9b7011a010 Fixed Collidable and made pickupable
TODO - make object disappear after pickup
2020-04-04 20:21:37 +02:00
3d5c8690ff Merge remote-tracking branch 'origin/entities_branch' into Player 2020-04-04 20:06:29 +02:00
Michał Czekański
41b7cd2a3f Fix font assignment in UiButton and UiText init() 2020-04-04 19:24:47 +02:00
Michał Czekański
3ff1b1b7bc Add method writing lines on UiConsole 2020-04-04 19:24:04 +02:00
Michał Czekański
e8a961cddd Fix generating UiConsole image 2020-04-04 18:40:56 +02:00
Michał Czekański
c9e6fac345 Add UiConsole class with __init__ 2020-04-04 18:37:18 +02:00
Michał Czekański
b01eaafdc4 Add invoking functions when UiButton click 2020-04-04 18:26:19 +02:00