Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
437 commits
Select commit Hold shift + click to select a range
709c6c9
try to merge
CarlosUPC Apr 17, 2018
4cd225e
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Apr 17, 2018
62ab45a
merge
AlexandruC5 Apr 17, 2018
e3572fa
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Apr 17, 2018
4a5e6a9
added last enemy to the sprite sheet
AlexandruC5 Apr 17, 2018
082d222
wop
AlexandruC5 Apr 17, 2018
5884af3
audio shotb fixed & audio scene frequency changed
GerardClotet Apr 17, 2018
af21dfa
frequency adjusted
GerardClotet Apr 17, 2018
447b147
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Apr 17, 2018
7506785
try to merge
CarlosUPC Apr 18, 2018
543e3af
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Apr 18, 2018
cc67c9c
Solved enemy spawning on screen
CarlosUPC Apr 18, 2018
a052d5f
Solved camera limits to player
CarlosUPC Apr 18, 2018
820f569
Solved enemy dispawning from screen
CarlosUPC Apr 18, 2018
c99f709
Solved collider bug
CarlosUPC Apr 18, 2018
126f9d4
Added enemy particle explosion
CarlosUPC Apr 18, 2018
3450d8a
Solved enemy particle explosion
CarlosUPC Apr 18, 2018
e75e7c8
Added God mode
CarlosUPC Apr 18, 2018
2e1d048
update
AlexandruC5 Apr 18, 2018
e37256f
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Apr 18, 2018
135e46b
Added Module PowerUPS
AlexandruC5 Apr 18, 2018
16eefea
winscreen0
GerardClotet Apr 19, 2018
a288c10
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Apr 19, 2018
415868c
update
AlexandruC5 Apr 19, 2018
bfaa5d2
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Apr 19, 2018
3094b5d
fixed merge problems
AlexandruC5 Apr 19, 2018
f617532
Fixed PowerUp bug
AlexandruC5 Apr 19, 2018
8d8c805
Added second powerup
AlexandruC5 Apr 19, 2018
46d5441
Fixed powerUp collisions
AlexandruC5 Apr 19, 2018
c833fba
Oriental Genius Implemented, need to fix his water jump
GerardClotet Apr 19, 2018
f04c027
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Apr 19, 2018
a22967a
Added Green Enemy
AlexandruC5 Apr 19, 2018
08981fb
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Apr 19, 2018
0bdfc1a
Fixed merge errors
AlexandruC5 Apr 19, 2018
4cbee34
Improved genin animation
AlexandruC5 Apr 19, 2018
4bd453c
up
AlexandruC5 Apr 19, 2018
86f5f38
updatye
AlexandruC5 Apr 19, 2018
7bd237b
fixed powerup blue
AlexandruC5 Apr 19, 2018
0ef4f50
UI and player2 implemented need to fix
GerardClotet Apr 20, 2018
cd10118
Added Second Player and Module Fonts
AlexandruC5 Apr 21, 2018
c4c7021
Updated player 2
AlexandruC5 Apr 21, 2018
73520aa
Fixed memory liccck
AlexandruC5 Apr 21, 2018
54aa95b
Added incompleted UI, fixed bugs of water, added new enemy and fixed …
AlexandruC5 Apr 22, 2018
fc8111c
Fade to win scene, fade to start scene & ending scene move
GerardClotet Apr 22, 2018
3c6531c
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Apr 22, 2018
22edbc4
merge fixed
GerardClotet Apr 22, 2018
53dc747
win/loose screen implemented and working
GerardClotet Apr 22, 2018
2308964
Added UI
AlexandruC5 Apr 22, 2018
13c3779
Readme update
GerardClotet Apr 22, 2018
227bd53
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Apr 22, 2018
cfe4174
Added enemy shoot
AlexandruC5 Apr 22, 2018
a8950e6
Final commit pre/r
AlexandruC5 Apr 22, 2018
81e11ba
Update README.md
AlexandruC5 Apr 22, 2018
a96b48c
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Apr 22, 2018
e66b554
Added ROADMAP
CarlosUPC May 4, 2018
7b2ff49
Added temple background & setted speeds
CarlosUPC May 7, 2018
0c53128
Added incompleted enemey sheet
AlexandruC5 May 7, 2018
2a0e343
Adding enemies
GerardBP77 May 7, 2018
27beda4
try to merge
CarlosUPC May 7, 2018
27ce233
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC May 7, 2018
85ef708
Clear Stage Updated
GerardClotet May 8, 2018
bb1a1fb
Clear stage skyscroll implemented, need to polish sprite
GerardClotet May 9, 2018
30e8c71
Added katana animations & shoots
CarlosUPC May 9, 2018
8a7ffa0
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC May 9, 2018
e340c12
Update ROADMAP
GerardClotet May 10, 2018
18fc659
Fix katana shoots bug
CarlosUPC May 10, 2018
07694a5
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC May 10, 2018
d52e7a1
code clean
CarlosUPC May 10, 2018
c2a9a67
improved blink spawn player
CarlosUPC May 10, 2018
4ec8c75
finally added exactly katana basic shoot
CarlosUPC May 10, 2018
b4af34c
Added fullscreen & reconfigured speeds
CarlosUPC May 10, 2018
655e0bc
Added controller input
AlexandruC5 May 10, 2018
92450e1
Power up first spear added & charge shoot
CarlosUPC May 11, 2018
af006a3
vertical spear behaviour when player moves
CarlosUPC May 12, 2018
6b82275
clear stage loop reset, polish sprites, need to improve sky
GerardClotet May 12, 2018
4f4177b
Enemies spritesheet upgrade
CarlosUPC May 13, 2018
baef6a7
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC May 13, 2018
87a6a73
Updated enemy sheet
AlexandruC5 May 14, 2018
09d78de
Player two Ayin
GerardBP77 May 14, 2018
5a3a0dd
Solution error spritesheet Ayin
GerardBP77 May 14, 2018
1080161
Clear stage correct speeds & menu character
GerardClotet May 15, 2018
9eb6dcc
countdown
GerardClotet May 16, 2018
da5766c
char menu sprites polish
GerardClotet May 16, 2018
545f5df
Added hitbox collider & camera limits
CarlosUPC May 17, 2018
25948c6
Improved animations & scroll bug fixed up
CarlosUPC May 17, 2018
df45776
Added spin power down & death anim
CarlosUPC May 17, 2018
a4dc5a4
timer fixed
GerardClotet May 17, 2018
597f58a
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet May 17, 2018
a223262
Merge
AlexandruC5 May 17, 2018
72ec45e
Project updated
CarlosUPC May 19, 2018
f614ecb
Enemy can shoot and katana dies & respawn
CarlosUPC May 19, 2018
c0f59a2
Added basic UI
CarlosUPC May 19, 2018
6d8ef57
implemented katana selection
GerardClotet May 21, 2018
8c58b17
Added Ayin on gameplay
CarlosUPC May 21, 2018
7eb85ec
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC May 21, 2018
71a85fc
Solved katana bug when is chosen in char select
CarlosUPC May 21, 2018
e1bb49f
ayin selection implemented need to fix solo mode
GerardClotet May 21, 2018
282a003
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet May 21, 2018
7dc21ed
Added ayin power up & charged shot anim
CarlosUPC May 22, 2018
487a7b7
Better polish on ayin charged shot
CarlosUPC May 22, 2018
bc1b8bc
better polish on ayin charged shot anim
CarlosUPC May 22, 2018
3638ec7
Added wave particles on ayin charged shot
CarlosUPC May 22, 2018
b945a13
Added first load on ayin ulti
CarlosUPC May 22, 2018
65a2318
Added 2nd load on ayin ulti & ayin UI
CarlosUPC May 23, 2018
408515a
Added all power up shots of ayin
CarlosUPC May 23, 2018
93c2c3b
clear stage complete & fixed menu timer
GerardClotet May 23, 2018
4aeeb47
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet May 23, 2018
3381ba6
UI selector
GerardClotet May 23, 2018
6963e45
extra
GerardClotet May 23, 2018
ec8a332
Added input: Welcome Screen and Char menu(not fully implemented on Ch…
AlexandruC5 May 24, 2018
b319c46
Create .gitignore
AlexandruC5 May 24, 2018
64aed81
Test gitignore
AlexandruC5 May 24, 2018
33b2381
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 May 24, 2018
6a35c31
Added sharpener knife (not completed)
CarlosUPC May 25, 2018
e615135
Solved frame bug
CarlosUPC May 25, 2018
0ea735f
solved states machine bug...
CarlosUPC May 25, 2018
e968726
Better polish on sharpener movement
CarlosUPC May 26, 2018
ea79e8a
Better polish on sharpener 2
CarlosUPC May 26, 2018
0b82402
Added power up & ulti parchment and UI
CarlosUPC May 27, 2018
8121d31
Added Pegtop enemy on gameplay
CarlosUPC May 28, 2018
86663c0
Polish enemies speeds & added more enemies
CarlosUPC May 28, 2018
c8e0fe6
menu audio
GerardClotet Jun 1, 2018
1b1c3f5
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 1, 2018
9ee1f8b
ups
GerardClotet Jun 1, 2018
8287e5b
Added Keystats
AlexandruC5 Jun 1, 2018
26ebc46
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Jun 1, 2018
3515ce4
Added Dpad selector + A_button fades to Temple
AlexandruC5 Jun 1, 2018
e57cd88
loose stage complet & UI fixed
GerardClotet Jun 2, 2018
4e48c6b
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 2, 2018
0154a85
Added full Char Select controller(beta)
AlexandruC5 Jun 2, 2018
ec637fa
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Jun 2, 2018
b101c87
Updated
AlexandruC5 Jun 2, 2018
a640020
controller test
GerardClotet Jun 2, 2018
a8ffb14
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 2, 2018
c1efe70
Big update & all enemies & ulti ayin
CarlosUPC Jun 2, 2018
7da4a7c
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Jun 2, 2018
3f69248
Solved bugfix
CarlosUPC Jun 2, 2018
1ebb4c5
UI katana fixed
CarlosUPC Jun 2, 2018
8be0f2c
merge
AlexandruC5 Jun 2, 2018
4bdd094
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Jun 2, 2018
91993bc
All Audio
GerardBP77 Jun 2, 2018
8e4c9d3
charmenu audio & , selection fixed, loose screen audio & clear stage …
GerardClotet Jun 2, 2018
4777c6e
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 2, 2018
7325793
merge fixed
GerardClotet Jun 2, 2018
6825644
Added input controller state( char selec dosent work with 2 players, …
GerardClotet Jun 2, 2018
d013845
input
GerardClotet Jun 2, 2018
bcb6bdb
Added Final Boss
CarlosUPC Jun 2, 2018
4805330
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Jun 2, 2018
a16c0fe
Solved Game loop error
CarlosUPC Jun 2, 2018
194a617
merge
AlexandruC5 Jun 2, 2018
df2ae51
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Jun 2, 2018
5824b55
scene intro implemented & menu polish
GerardClotet Jun 2, 2018
ecec09f
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 2, 2018
250ebe0
merge fixed
GerardClotet Jun 2, 2018
0c984bc
Fixed animation bug with controller and now the movement its done wit…
AlexandruC5 Jun 2, 2018
728a769
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Jun 2, 2018
10e1437
fixed basic shooting bug
AlexandruC5 Jun 2, 2018
8274cab
Katana charged shot is done by charging it with B button
AlexandruC5 Jun 2, 2018
ba79a68
Both players controller implemented(Ayin only playable with controlle…
AlexandruC5 Jun 3, 2018
e8acc5d
Added Ayin charged shot controller input
AlexandruC5 Jun 3, 2018
b3d3e9a
dsadsad
AlexandruC5 Jun 3, 2018
9dc9f27
Added coin
CarlosUPC Jun 3, 2018
8912247
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Jun 3, 2018
624f6ce
Added coin values & collider with player
CarlosUPC Jun 3, 2018
c2de3be
Enemies colliders & polish colliders
CarlosUPC Jun 3, 2018
d8c6466
Updated godmode & drawsquad & colliders
CarlosUPC Jun 3, 2018
b67d398
Polish coin drop & enemies
CarlosUPC Jun 3, 2018
7202915
Polish enemies & power up drops
CarlosUPC Jun 3, 2018
fc0b13a
polish more enemies
CarlosUPC Jun 3, 2018
79f58f7
intro polish
GerardClotet Jun 3, 2018
00f4711
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 3, 2018
4477115
Polish more enemies 2
CarlosUPC Jun 3, 2018
6353dff
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Jun 3, 2018
6661c55
Maybe solved exception call
CarlosUPC Jun 3, 2018
af0ddc3
Ayin is now playable with Controller 1
AlexandruC5 Jun 3, 2018
d84e72c
Fixed CharSelect bug
AlexandruC5 Jun 3, 2018
53de63c
adio improve
GerardClotet Jun 3, 2018
787aef3
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 3, 2018
29a49a9
Update README.md
GerardBP77 Jun 3, 2018
145e948
Update README.md
GerardBP77 Jun 3, 2018
50fa4da
Update README.md
GerardBP77 Jun 3, 2018
d6d15d5
Update README.md
GerardBP77 Jun 3, 2018
e337a01
Update README.md
GerardBP77 Jun 3, 2018
2b71aef
Update README.md
GerardBP77 Jun 3, 2018
03ff2e2
Update README.md
GerardBP77 Jun 3, 2018
6832da5
Update README.md
GerardBP77 Jun 3, 2018
b8c615f
Update README.md
GerardBP77 Jun 3, 2018
141f441
Update README.md
GerardBP77 Jun 3, 2018
e462cec
Add files via upload
GerardBP77 Jun 3, 2018
0841771
Update README.md
GerardBP77 Jun 3, 2018
050fbda
Update README.md
GerardBP77 Jun 3, 2018
a826eeb
Update README.md
GerardBP77 Jun 3, 2018
c999286
Update ROADMAP
GerardBP77 Jun 3, 2018
4bcfa8e
Update README.md
GerardBP77 Jun 3, 2018
3474db7
Update README.md
GerardBP77 Jun 3, 2018
58dc0fa
Add files via upload
GerardBP77 Jun 3, 2018
061aa3b
Update README.md
GerardBP77 Jun 3, 2018
746db97
Update README.md
GerardBP77 Jun 3, 2018
6e87c3f
Update README.md
GerardBP77 Jun 3, 2018
b4849af
Add files via upload
GerardBP77 Jun 3, 2018
02abe6c
Update README.md
GerardBP77 Jun 3, 2018
daa3030
Update README.md
GerardBP77 Jun 3, 2018
69c8070
Update README.md
GerardBP77 Jun 3, 2018
48232d8
Update README.md
GerardBP77 Jun 3, 2018
1924610
Update README.md
AlexandruC5 Jun 3, 2018
c62732b
Update README.md
AlexandruC5 Jun 3, 2018
853baff
Update README.md
GerardBP77 Jun 3, 2018
f60dd7b
Update README.md
AlexandruC5 Jun 3, 2018
2246d74
Update README.md
AlexandruC5 Jun 3, 2018
bfde29d
Update README.md
GerardBP77 Jun 3, 2018
2a18b8e
moduleenemies ayduio
GerardClotet Jun 3, 2018
7c56227
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 3, 2018
790b709
Ayin playable with both controller Katana only playable with controll…
AlexandruC5 Jun 3, 2018
235ed40
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Jun 3, 2018
927981e
Update README.md
GerardBP77 Jun 3, 2018
14f320e
Update README.md
GerardBP77 Jun 3, 2018
b3d8152
Update README.md
GerardBP77 Jun 3, 2018
258ef3d
Update README.md
GerardBP77 Jun 3, 2018
375e006
Polish ball & chariot enemies
CarlosUPC Jun 3, 2018
865ce6b
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Jun 3, 2018
5a210a2
Updated
AlexandruC5 Jun 3, 2018
0a5fd57
Update README.md
AlexandruC5 Jun 3, 2018
d0e70d0
Fixed Ayin animation Dpad bug
AlexandruC5 Jun 3, 2018
d621337
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Jun 3, 2018
81666ce
katana shots and impact implemented
GerardClotet Jun 3, 2018
d21ebc6
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 3, 2018
549ad1a
Added wav sound of Ayin attack
AlexandruC5 Jun 3, 2018
e05bc9d
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
AlexandruC5 Jun 3, 2018
374a30e
Update
CarlosUPC Jun 3, 2018
78bd20c
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Jun 3, 2018
c0c6339
Again update
CarlosUPC Jun 3, 2018
daa3739
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Jun 3, 2018
55e0460
updateeee
CarlosUPC Jun 3, 2018
97edbb5
Add files via upload
GerardBP77 Jun 3, 2018
2f4f8c8
Update README.md
AlexandruC5 Jun 3, 2018
0281616
Update README.md
AlexandruC5 Jun 3, 2018
5b419d9
Update README.md
AlexandruC5 Jun 3, 2018
f9a8359
Update README.md
AlexandruC5 Jun 3, 2018
a963098
MEGA UPDATE
CarlosUPC Jun 3, 2018
8779e25
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
CarlosUPC Jun 3, 2018
6ba48aa
Update README.md
GerardBP77 Jun 3, 2018
d0687c1
Update README.md
GerardBP77 Jun 3, 2018
466ba19
updated again
GerardClotet Jun 3, 2018
24cd768
Merge branch 'master' of https://github.com/AlexandruC5/Project-1
GerardClotet Jun 3, 2018
931cec0
sound in
GerardClotet Jun 3, 2018
3910108
Update README.md
GerardBP77 Jun 4, 2018
b2fdd94
Update README.md
GerardBP77 Jun 4, 2018
501bf67
Update README.md
GerardBP77 Jun 4, 2018
4d4f779
Update README.md
GerardBP77 Jun 4, 2018
d7bb072
Add files via upload
GerardClotet Sep 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
176 changes: 174 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,174 @@
# Project-1
Projecte 1 joc Tengai GDDV
#Project-1




## Game: Tengai

Hello! This is our repository of Tengai, the arcade game we are programming for our project 1 of asignment at CITM - UPC.


##Description

Sengoku Blade, also popularly known as Tengai, is an horizontal-scrolling shoot'em up game produced by Psikyo and originally released in Japanese arcades in 1996 as a sequel to Sengoku Ace (1993).

Tengai sets in an imaginative and futuristic version of feudal Japan featuring traditional ninjas, demons and magic steam-powered machinery with steam-driven weapons. On gameplay, you can chose five playable characters and two ones who are hidden initially. In addition, game has items include a power-up to increase weapon power level, bombs, and bonus coins to increase score.

## Team members

Management: Carlos Peña
Art/Design: Gerard Berenguer
Code: Gerard Clotet
QA: Alexandru Cercel


## Control list:






## KEYBOARD INPUT
ESC to exit the game

Player 1 :

W: UP
A: LEFT
S: DOWN
D: RIGHT


SPACE: SHOOT
Z: CHARGED SHOOT




Player 2:

I: UP
J:LEFT
K: DOWN
L: RIGHT


Y: SHOOT
X: CHARGED SHOOT




## CONTROLLER INPUT:


Controller 1


Start -> start the game
Select -> exit the game at any moment
Dpad -> movment
A->shooting
B->Charged Shot
Y->Ultimate


Controller 2

Start -> start the game
Start on Character Selector -> JOIN 2ND PLAYER
/*Select -> exit the game at any moment*/ Player 2 can not exit the game
Dpad -> movment
A->shooting
B->Charged Shot
Y->Ultimate



## DEDUG KEYS:

P-> +1 powerup to Katana
O-> -1 owerup of katana

T-> +1 powerup to Ayin
R-> -1 powerup to Ayin

F1:Show coliders
F5: GOD MODE
F9 Screen: Direct Lose Screen
F7:Direct Win Screen




## Previous Versions:

0.3

Inlcudes playable character
Main screen
Water scene
Audio
Parallax

0.4

Inlcudes
Projectiles
Player animation
Background animation
Fx sound

0.5

Includes
Score
Win & loose condition
Colliders
Player2
PowerUps
Enemies
Game loop

0.6

Scroll background with game speeds
Fix animations (at least the first)
Implementation of katana (motion animation)
Fix power-ups
Fullscreen + gamepads
ClearStage

0.7

Power down and dead animations
Katana power ups implementation (2-4)/pet (new animations and shoots)
Ayin implementation (motion animation)
Improve the level with animations of the textures (ex: falling rocks)
Fix UI = life, power-ups, insert coins…
0.8
Improve level (visual details)
Enemies implementation (all but the bosses) / move and speed / explosion upon death / shoots / life / highlight
Power-ups Ayin implementation (2-4)/pet (new animations and shoots)
Add power-ups + ulti of the character
Improve UI
GameOver screen

0.9

Audio implementation
Bosses impementation (changes in background speeds)/ life / shoots
Improve power-ups/pet of the characters
Improve ulti of the character

# 1.0

Events from the beginning of the level and the end of the level
Scene changes: menu screen / stage clear
Improve bosses
Check that everything works: god mode, colliders, gamepads, fullscreen…
Fix bugs after testing


Link to our repository : https://github.com/AlexandruC5/Project-1
39 changes: 39 additions & 0 deletions ROADMAP
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
3th assignment: SUDDEN DEATH - 34 DAYS REMAINING


* 0.6
-Scroll background with game speeds
-Fix animations (at least the first)
-Implementation of katana (motion animation)
-Fix power-ups
-Fullscreen + gamepads
-ClearStage

* 0.7
-Power down and dead animations
-Katana power ups implementation (2-4)/pet (new animations and shoots)
-Ayin implementation (motion animation)
-Improve the level with animations of the textures (ex: falling rocks)
-Fix UI = life, power-ups, insert coins...

* 0.8
-Improve level (visual details)
-Enemies implementation (all but the bosses) / move and speed / explosion upon death / shoots / life / highlight
-Power-ups Ayin implementation (2-4)/pet (new animations and shoots)
-Add power-ups + ulti of the character
-Improve UI
-GameOver screen

* 0.9
-Audio implementation
-Bosses impementation (changes in background speeds)/ life / shoots
-Improve power-ups/pet of the characters
-Improve ulti of the character

* 1.0
-Events from the beginning of the level and the end of the level
-Scene changes: menu screen / stage clear
-Improve bosses
-Check that everything works: god mode, colliders, gamepads, fullscreen...
-Fix bugs after testing

69 changes: 69 additions & 0 deletions Tengai_Sengoku_Blade/Code/Animation.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#ifndef __ANIMATION_H__
#define __ANIMATION_H__

#include "SDL/include/SDL_rect.h"
#define MAX_FRAMES 50

class Animation
{
public:
bool loop = true;
float speed = 1.0f;
SDL_Rect frames[MAX_FRAMES];

private:
float current_frame = 0.0f;
int last_frame = 0;
int loops = 0;

public:

Animation()
{}

Animation(const Animation& anim) : loop(anim.loop), speed(anim.speed), last_frame(anim.last_frame)
{
SDL_memcpy(&frames, anim.frames, sizeof(frames));
}

void PushBack(const SDL_Rect& rect)
{
frames[last_frame++] = rect;
}

SDL_Rect& GetCurrentFrame()
{
current_frame += speed;
if(current_frame >= last_frame)
{
current_frame = (loop) ? 0.0f : last_frame - 1;
loops++;
}

return frames[(int)current_frame];
}

bool Finished() const
{
return loops > 0;
}

void Reset()
{
loops = 0;
current_frame = 0.0f;
}

bool isDone() {
if (current_frame == last_frame - 1) return true;
else return false;
}

int GetCurrentLoop() const
{
return loops;
}

};

#endif
Loading