Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (120)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  MoreSpaceInvaders  (Read 3008 times)
0 Members and 1 Guest are viewing this topic.
Offline Drenius
« Posted 2014-07-24 21:20:48 »

Hi everybody!

Just made another little game for my "More"+[classic] series!  (MorePong, MoreTetris)

This time it is SpaceInvaders.
You are controlling a lonely orbital defense station trying to protect your planet from endless hordes of aliens!

Controls:
Space or Ctrl to fire
Right/left arrow or D/A key to rotate clockwise/anti clockwise
ESC/P/PAUSE to pause/continue

Download:
v 1.1.3

And the screenshot:
Offline wessles

JGO Wizard


Medals: 67
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


« Reply #1 - Posted 2014-07-25 01:32:09 »

Great job, Drenius. I look forward to the next installment in this awesome series  Grin!

Offline danieldean
« Reply #2 - Posted 2014-07-25 12:59:24 »

Nice game, interesting concept.  Tongue I managed to get 149 over 107 seconds or so but I can't get any further the swirling has an odd affect on me if I don't stay focused on the middle..

One thing, I tried but could not quit the game using the window close and eventually I got this:

1  
2  
3  
4  
5  
6  
7  
The crashed program seems to use third-party or local libraries:

/tmp/pRoman/liblwjgl64.so

It is highly recommended to check if the problem persists without those first.

Do you want to continue the report process anyway?


This is on Ubuntu 14.04 with OpenJDK. The second time around it seemed to close okay, when I opened it form the terminal, but then I noticed it hadn't returned my prompt. It seems like something keeps running?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Drenius
« Reply #3 - Posted 2014-07-25 14:39:49 »

@wessles: Thank you! Slowly running out of ideas I like though.  Smiley

@danieldean: Thats odd... The warning you see is thrown because the program extracts the needed LWJGL natives there and uses them then. This should not relate to the window closing though... Maybe it is the JFrame doing some multithreaded stuff in background where it is not supposed to do hmm...  Clueless

Thank you both for testing!
Offline danieldean
« Reply #4 - Posted 2014-07-25 15:17:30 »

You can probably forget about it, it's been fine for another few tries. Sometimes I think Ubuntu just likes to complain about anything using it's own natives for the sake of it.

Can't beat my score though.  Cry I always seem to get the planet shot by an alien at the same point. Is this how it happens? You let them get too close any they open fire?

It's interesting because I've been making my own Space Invaders and I couldn't think of a way to put spin on the original. Looking at your series it seems to do it well for all them all!
Offline Drenius
« Reply #5 - Posted 2014-07-25 15:45:20 »

Thank you!  Grin
The enemies are indeed supposed to drop their bomb once they reach their final orbit at a random angle between 0 and 90 degree clockwise. Did not find a better way to avoid overlapping other ones...
Offline danieldean
« Reply #6 - Posted 2014-07-25 16:08:37 »

In my attempt, which you can find here should you wish to try it, I take the central x-coordinate of the alien, the central y-coordinate of the cannon and then see if the resulting point is inside the cannons hit box, if it is then the alien has a 0.001 probability to fire each tick. To get around the the overlap the aliens simply cannot collide with their own shots. I think this is how the original worked, maybe it's wrong but it works okay. In my mind there's some funky z-ordering going on and it's all good.

Yours is a good game and I like it but it's a bit predictable in that you know when you're safe. Maybe have the aliens aim for and shoot at the defence station until they get to final orbit then fire at the planet instead. In either case it's game over.

I feel a bit wrong suggesting this as it's probably a lot harder than what I've done and I've not graduated myself from Java 2D yet but hey ho...  Roll Eyes
Offline Drenius
« Reply #7 - Posted 2014-07-25 23:56:20 »

Just updated OP with version 1.1! :

- The enemies do not longer spawn and mostly drop bombs all at the same position but the spawn position rotates around the center
- New enemies fade in more smoothly
- The survival timer does no longer progress while the game is paused
Offline mag
« Reply #8 - Posted 2014-07-26 00:29:36 »

Nice! looks polished already and I'm adoring the screenshake.
Keep it up.  Smiley
Offline Drenius
« Reply #9 - Posted 2014-07-26 20:37:12 »

@mag Thank you! Smiley
The screenshake is probably the most important effect in this, but there was at least one complaint about it so there is v1.1.1!  Smiley :
- options menu with adjustable screenshake intensity and sound volume! (press "O" in pause screen)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Drenius
« Reply #10 - Posted 2014-07-27 12:37:22 »

v1.1.2: Added A/D keys to rotation control and CTRL keys to shoot, so the game is more flexible to control!
Offline alesky

Junior Duke


Medals: 3
Exp: 15 years


mmm....


« Reply #11 - Posted 2014-07-28 18:42:37 »

Drenius

the game si very nice

a Technical question

how do you draw the planet so bright?
is it a circle with a white circle texture and  the blend active or samething else?



Offline Drenius
« Reply #12 - Posted 2014-07-28 18:51:04 »

@alesky: Erm, it is a circle out of white triangles with another such circle running from white at center to black outside under it. Not quite sure what your question is about, there is no brighter color than white, maybe your eyes play you a trick because of the second mentioned circle, the atmosphere, in contrast?
Offline alesky

Junior Duke


Medals: 3
Exp: 15 years


mmm....


« Reply #13 - Posted 2014-07-29 15:15:58 »

yes the atmosphere generated was nice

so it is just a circle of withe triangles and another circle of interpolated triangle from white to black
very simple and the result is very nice!

instead how did you obtain the effect of the shields around the enemies?


Offline Drenius
« Reply #14 - Posted 2014-08-02 16:02:08 »

Just found and fixed a bug of casting longs to integers at the wrong position causing the enemy textures to vanish, so there is v1.1.3!
Pages: [1]
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (43 views)
2014-10-16 15:22:06

Norakomi (33 views)
2014-10-16 15:20:20

lcass (37 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (67 views)
2014-10-14 00:35:47

TehJavaDev (60 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (86 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!