Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Icy_tower_game #5042

Merged
merged 70 commits into from
Aug 6, 2024
Merged
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
98fa016
Create Readme.md
pavitraag Jul 29, 2024
acce0ea
Add files via upload
pavitraag Jul 29, 2024
2d6c0b1
Create m
pavitraag Jul 29, 2024
5545c36
Add files via upload
pavitraag Jul 29, 2024
cf96813
Create m
pavitraag Jul 29, 2024
92ce005
Create m
pavitraag Jul 29, 2024
3d85397
Add files via upload
pavitraag Jul 29, 2024
c14c4b4
Delete Games/Icy_Tower_Game/src/assets/m
pavitraag Jul 29, 2024
52a4719
Delete Games/Icy_Tower_Game/src/assets/ui/m
pavitraag Jul 29, 2024
a44aa24
Add files via upload
pavitraag Jul 29, 2024
07a38f3
Create m
pavitraag Jul 29, 2024
a25d04c
Add files via upload
pavitraag Jul 29, 2024
2e0746d
Delete Games/Icy_Tower_Game/src/modules/m
pavitraag Jul 29, 2024
ac08583
Create m
pavitraag Jul 29, 2024
e6fb8a4
Add files via upload
pavitraag Jul 29, 2024
09a493e
Create m
pavitraag Jul 29, 2024
ce5af2f
Add files via upload
pavitraag Jul 29, 2024
3ccf9a7
Delete Games/Icy_Tower_Game/src/Objects/m
pavitraag Jul 29, 2024
8ca0051
Create m
pavitraag Jul 29, 2024
16839d8
Add files via upload
pavitraag Jul 29, 2024
e0816aa
Delete Games/Icy_Tower_Game/src/Scenes/m
pavitraag Jul 29, 2024
4d9a66e
Create m
pavitraag Jul 29, 2024
656e675
Add files via upload
pavitraag Jul 29, 2024
50006fb
Create m
pavitraag Jul 29, 2024
5449d1e
Add files via upload
pavitraag Jul 29, 2024
4ab9235
Create m
pavitraag Jul 29, 2024
d8df1eb
Add files via upload
pavitraag Jul 29, 2024
8fca3a4
Create workflows
pavitraag Jul 29, 2024
7b717fd
Add files via upload
pavitraag Jul 29, 2024
80c1a4e
Delete Games/Icy_Tower_Game/.github/workflows
pavitraag Jul 29, 2024
a4866b8
Delete Games/Icy_Tower_Game/.github/linters.yml
pavitraag Jul 29, 2024
a2531eb
Create m
pavitraag Jul 29, 2024
4f317c0
Add files via upload
pavitraag Jul 29, 2024
d57156d
Delete Games/Icy_Tower_Game/.github/workflows/m
pavitraag Jul 29, 2024
a230652
Delete Games/Icy_Tower_Game/_tests_/m
pavitraag Jul 29, 2024
819f49d
Delete Games/Icy_Tower_Game/build/m
pavitraag Jul 29, 2024
9c536bc
Delete Games/Icy_Tower_Game/src/Config/m
pavitraag Jul 29, 2024
3312737
Delete Games/Icy_Tower_Game/src/m
pavitraag Jul 29, 2024
078bbeb
Delete Games/Icy_Tower_Game/webpack/m
pavitraag Jul 29, 2024
f2707c6
Delete Games/Icy_Tower_Game/src/Objects/config.js
pavitraag Jul 29, 2024
6f9beef
Add files via upload
pavitraag Jul 29, 2024
eaf8987
Update CreditsScene.js
pavitraag Jul 29, 2024
104af93
Update README.md
pavitraag Jul 31, 2024
fc7faac
Merge branch 'main' into icy
pavitraag Jul 31, 2024
ec7ce97
Rename back.png to Icy_back.png
pavitraag Aug 2, 2024
03ed7d7
Rename dude.png to Icy_dude.png
pavitraag Aug 2, 2024
a15a1b9
Rename iceberg.png to Icy_iceberg.png
pavitraag Aug 2, 2024
266a2c8
Rename icy.gif to Icy_icy.gif
pavitraag Aug 2, 2024
03cc5ab
Update and rename Icy_icy.gif to icy.gif
pavitraag Aug 2, 2024
556817c
Delete Games/Icy_Tower_Game/src/assets/icy.gif
pavitraag Aug 2, 2024
0d5a3eb
Add files via upload
pavitraag Aug 2, 2024
be62b47
Add files via upload
pavitraag Aug 2, 2024
d8fb93a
Rename back.png to Icy_back.png
pavitraag Aug 2, 2024
572e5d0
Rename dude.png to Icy_dude.png
pavitraag Aug 2, 2024
d73c2ff
Add files via upload
pavitraag Aug 2, 2024
b130a41
Rename iceberg.png to Icy_iceberg.png
pavitraag Aug 2, 2024
59a406d
Rename icy.gif to Icy_icy.gif
pavitraag Aug 2, 2024
0e87604
Delete assets/images/Icy_icy.gif
pavitraag Aug 2, 2024
26d9e5b
Add files via upload
pavitraag Aug 2, 2024
6605384
Rename logo.gif to Icy_logo.gif
pavitraag Aug 2, 2024
4b7a1e2
Rename platform.png to Icy_platform.png
pavitraag Aug 2, 2024
bfad79d
Rename score.JPG to Icy_score.JPG
pavitraag Aug 2, 2024
8d234e4
Rename singledude.png to Icy_singledude.png
pavitraag Aug 2, 2024
2557cac
Rename stair.JPG to Icy_stair.JPG
pavitraag Aug 2, 2024
fd1d7b9
Add files via upload
pavitraag Aug 2, 2024
f2ae685
Delete assets/images/Icy_logo.gif
pavitraag Aug 2, 2024
f4e40ee
Delete assets/images/icy.gif
pavitraag Aug 2, 2024
f75f7bf
Rename logo.gif to Icy_logo.gif
pavitraag Aug 2, 2024
60ea170
Add files via upload
pavitraag Aug 2, 2024
bb4fbe2
Merge branch 'main' into icy
pavitraag Aug 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add files via upload
pavitraag authored Jul 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 5545c36b9f16d6cb3ed3eb7529427ec20a12b96d
32 changes: 32 additions & 0 deletions Games/Icy_Tower_Game/src/Model.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* eslint no-underscore-dangle: off */
export default class Model {
constructor() {
this._musicOn = true;
this._bgMusicPlaying = false;
this._userName = '';
}

set musicOn(value) {
this._musicOn = value;
}

get musicOn() {
return this._musicOn;
}

set userName(value) {
this._userName = value;
}

get userName() {
return this._userName;
}

set bgMusicPlaying(value) {
this._bgMusicPlaying = value;
}

get bgMusicPlaying() {
return this._bgMusicPlaying;
}
}
28 changes: 28 additions & 0 deletions Games/Icy_Tower_Game/src/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import Phaser from 'phaser';
import config from './Config/config';
import GameScene from './Scenes/GameScene';
import BootScene from './Scenes/BootScene';
import PreloaderScene from './Scenes/PreloaderScene';
import TitleScene from './Scenes/TitleScene';
import OptionsScene from './Scenes/OptionsScene';
import CreditsScene from './Scenes/CreditsScene';
import ScoreScene from './Scenes/ScoreScene';
import Model from './Model';

class Game extends Phaser.Game {
constructor() {
super(config);
const model = new Model();
this.globals = { model, bgMusic: null };
this.scene.add('Boot', BootScene);
this.scene.add('Preloader', PreloaderScene);
this.scene.add('Title', TitleScene);
this.scene.add('Options', OptionsScene);
this.scene.add('Credits', CreditsScene);
this.scene.add('Game', GameScene);
this.scene.add('ScoreBoard', ScoreScene);
this.scene.start('Boot');
}
}

window.game = new Game();