Commit Graph
61 Commits
Author SHA1 Message Date
JPT eeb2a9c875 Implement a delay on game over, so the player can explode properly and stuff. 2014-12-02 12:01:47 +01:00
JPT fc87ef9da8 Rename damagable to vulnerable so they can be distinguished easily. 2014-12-02 11:53:11 +01:00
JPT bc68de5b99 Add first obstacle as proof of concept. 2014-12-02 11:50:46 +01:00
JPT de685366ee Add damagable/vulnerable logic.
Also, add the other Backgrounds to spawnable Entities and
stuff.
2014-12-02 11:08:07 +01:00
JPT 8e82614874 Feature: Player now gains small immunity after an impact. 2014-11-30 14:11:21 +01:00
JPT 982177c169 Rename BossBar, tidy up lots of small things. 2014-11-28 23:16:56 +01:00
JPT 7a9766788a Move methods to increase health and shield points to LivingEntity, cap them ad their maximum value. 2014-11-28 21:22:41 +01:00
JPT 970ddb348f Add ship attributes to the PlayerSession, reset PlayerSession on GameOver. 2014-11-28 21:14:24 +01:00
JPT d38f016ee0 Refactor brain package to english variable names. 2014-11-28 19:29:08 +01:00
JPT 0afa327fda Create package brain, move everything there that memorizes data. 2014-11-28 19:12:55 +01:00
JJTCM c11758d678 Moved Enemy Spawn Debug (fix too many spawn issue)
Debug for Player Position
2014-11-25 15:01:31 +01:00
JPT 63e7b7a21c All Entities have to implement explode() from now on. 2014-11-25 14:26:34 +01:00
Sosch e4ebc31a1b Add Beam (Button: x) 2014-11-25 13:39:23 +01:00
JJTCM 0e78d28e72 Nuke now work (but dirty)
Enemys Spawn now with Button Presses (1,2,3,4,0) [Debug]
Fix ItemShield Add Value
Fix Player IncreaseHealth
Added Player IncreaseShield
2014-11-25 12:38:57 +01:00
Licht 4e5d6bcd52 Adding some comments 2014-11-25 11:42:20 +01:00
Sosch 7437a5c18d Add rocket (fire button: y), add ItemRocket (increase rocket amount), add some comments 2014-11-24 23:33:56 +01:00
Licht 4e3964c31c Updated Items and added the first advanced Item-Icons 2014-11-18 13:08:08 +01:00
JPT cc980bbd12 Merge branch 'master' of /home/stud/timmeja/SpaceScooter 2014-11-11 15:14:26 +01:00
JPT 25f3114c9f Merge branch 'master' of /home/stud/timmeja/SpaceScooter 2014-11-11 15:09:12 +01:00
JPT 981b2c7513 Add fire shots for Player and Enemy. 2014-11-11 15:04:27 +01:00
JJTCM e4882f1315 Health and Shildbar now working with Percent Values 2014-11-11 14:59:37 +01:00
Sosch 5eec7ff7df Player kann nicht mehr in die interfaceBar fliegen 2014-11-11 14:57:01 +01:00
Sosch b034e68138 Shop überarbeitet 2014-11-11 14:25:46 +01:00
JPT 755fc2bc27 Reintroduce CollidableEntity, add Sounds for powerups, explosions and stuff. 2014-11-11 13:16:29 +01:00
JJTCM d36e1901e6 Merge branch 'master' of ssh://github.com/teamteamteam/SpaceScooter
Conflicts:
	src/de/teamteamteam/spacescooter/entity/LivingEntity.java
	src/de/teamteamteam/spacescooter/entity/Player.java
2014-11-11 13:04:53 +01:00
JJTCM 5982c0ced2 Added Score
Added Interface fr Health, Sheild and Score
Resized Game Window for the Interface
Added Score for Enemy Kills
2014-11-11 13:00:45 +01:00
Sosch 223612de32 Erster shop screen (erreichbar über Hilfe Button im hauptmenu) und credits eingefügt
llease enter the commit message for your changes. Lines starting
2014-11-11 12:11:40 +01:00
JPT 0d90b387c3 Set CollisionDamage for Player and Enemies. 2014-11-08 15:19:44 +01:00
JPT 1086effdad Huge update. See detailed notes.
Keine Lust auf englischen Text gerade, hier die Übersicht:
Es gibt jetzt eine eigene Datenstruktur, die im Grunde nichts weiter
ist, als eine recht stumpfe, verkettete Liste. Besonderheit: Sie macht
sich weniger Gedanken über Modifikationen während des Iterierens und
wächst momentan etwas stetig.

Es gibt eine neue Methode die() im LivingEntity, die per default
Explosion auslöst und das Entity danach wegräumt. Wenn Items gedroppt
werden sollen oder sonstwas passieren soll, bitte Overriden.

Die Kollisionserkennung wurde in den CollisionHelper ausgelagert,
zunächst aber noch mit Rectangles weitergeführt. Wer mutig genug ist,
darf sich gerne austoben und eine Kollisionserkennung mit vielen If und
ints bauen. :-)

LivingEntity implementiert zunächst Hittable.

Der Player kümmert sich selbst um Kollisionen mit Items aka aufsammeln.

Das Collidable-Interface enthält alles notwendige für
Kollisionserkennung auf int-Basis.

Der Screen gibt nur noch Iteratoren für die Entity-Liste aus.

Ich glaube, das wars.
2014-11-08 15:09:29 +01:00
JPT 2295d83ff9 The Entity now knows whether it is able to move. 2014-11-07 20:54:00 +01:00
JPT d9b7128456 Rename DamageValue to ShootDamage to avoid confusion with Shot logic. 2014-11-07 20:47:07 +01:00
JPT f0a9e8a6ad Comment Entity, make x and y private, add transpose method for easy movement. 2014-11-07 20:00:07 +01:00
JPT c3fb13e3eb Create subfolders for shot images and item images. 2014-11-06 19:40:51 +01:00
JPT eb4bdc6ada Remove @Override from Interface implementing methods in Player class. 2014-11-06 14:58:09 +01:00
JPT 0c270c8665 Implement asynchronous playing of sounds. 2014-11-05 09:37:51 +01:00
JPT 48e3ac275c Da hab ich doch glatt das super.update() übersehen. 2014-11-04 20:51:34 +01:00
JPT c716bc2187 Minor Bugfix: Add missing super call, catch potential NullPointer. 2014-11-04 20:23:52 +01:00
JPT e2c34366e3 Remove superfluos calls to currentScreen.addEntity()
Since the entity class itself takes care that all entities are on the
screen, you don't need to worry about this. :-)
2014-11-04 19:41:15 +01:00
JPT 881b802e7a Create packages for enemies, shots and items. 2014-11-04 19:33:30 +01:00
JPT 16bcddb273 Improve implementation continuous/spontaneous fire.
Das Keyboard bietet nun allen, die den KeyboardListener implementieren,
den Service, sich an ihm zu registrieren.
Ist dies erfolgt, so reicht es die Events an die registrierten Listener
weiter.
Auf diese Weise wurde das Dauerfeuer und Spontanfeuer implementiert.
2014-11-04 19:07:44 +01:00
lubiana ef745a7450 dumme sachen wieder weg gemacht 2014-11-04 14:31:37 +01:00
JJTCM a52e000905 Merge branch 'master' of ssh://github.com/teamteamteam/SpaceScooter
Conflicts:
	src/de/teamteamteam/spacescooter/screen/GameScreen.java
2014-11-04 14:17:50 +01:00
JJTCM 306150d159 Now with working Healthbar
Shoot of Player inside own Thread
2014-11-04 14:15:24 +01:00
lubiana 0093078da7 verschiedene schuesse 2014-11-04 14:05:53 +01:00
JJTCM 134483d375 Work on Healthbar
Player Autoshoot (WIP)
2014-11-04 13:42:58 +01:00
Sosch 9f7773ef5e Itemchance, 4 Test Items und schuss speed 2014-11-04 13:34:17 +01:00
JJTCM d013afb465 * Merge Confilct 2014-10-31 11:06:30 +01:00
JJTCM 3588532c24 Merge branch 'master' of https://github.com/teamteamteam/SpaceScooter
Conflicts:
	src/de/teamteamteam/spacescooter/entity/Player.java
2014-10-31 10:53:18 +01:00
JJTCM aaf970f2e4 * Added Gameover Screen
* Now with more Buttonmashing for Shooting
2014-10-31 10:46:39 +01:00
Sosch 72be799fec Bugfix 2014-10-31 09:29:00 +01:00