Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  SQUARIUS  (Read 5718 times)
0 Members and 1 Guest are viewing this topic.
Offline zeroone
« Reply #30 - Posted 2006-12-07 17:15:09 »

Quote
I finally finished it. Very good.


Nice.  Thanks for playing.

Quote
However, I was killed right as I killed the last boss, but still got credit for beating the level and thus the game. Not sure if this is the way you want it to be.

When you destroy the final boss, you actually become invulnerable, game input is disabled and your ship is no longer painted to the screen.  But, there may still be some green animated balls floating around you.  So, you disappear, but you're not dead  Smiley  In short, you won!  Good job!
Offline EnderGT

Junior Member





« Reply #31 - Posted 2006-12-07 17:23:25 »

When you destroy the final boss, you actually become invulnerable, game input is disabled and your ship is no longer painted to the screen.  But, there may still be some green animated balls floating around you.  So, you disappear, but you're not dead  Smiley  In short, you won!  Good job!

Cool. I thought I'd been killed because right at that moment my boss walked in and I had to minimize the game Shocked)

I'll be checking out your source code to see if I can't learn a few things. I've never written a side-scroller type game, so most of all I'm interested in how you store the levels and spawn information.

Again, great job, and good luck in the judging.
Offline zeroone
« Reply #32 - Posted 2006-12-07 17:38:29 »

Quote
I thought I'd been killed because right at that moment my boss walked in and I had to minimize the game

That's hilarious  Cheesy

Quote
I'm interested in how you store the levels and spawn information.

Normally the levels in side-scrollers are represented with grid maps.  I used such maps in my Pitfall entry.  But, for Squarius I took a much simplier approach.  There are 8 pieces that can be put together in different sequences to form a level.  Pieces include a wave attack, a triplet attack, a wall with a hole in it, the explosive barrier, the shrinkers, the cave, a boss, etc.  Each piece is affected by the level number (e.g. bosses become more difficult) and a random number generator (e.g. the hole in the wall will appear at different positions). 

Essentially, when the stage begins, a clock is started.  The sequence for each stage looks something like: at time T1, manifest wave attack, at time T2, manifest triplet attack, etc.  Originally, this was encoded with 2 arrays of integers.  But, to save bytes, it was ultimately encoded more compactly.
Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

Riven (15 views)
2014-07-29 18:09:19

Riven (10 views)
2014-07-29 18:08:52

Dwinin (10 views)
2014-07-29 10:59:34

E.R. Fleming (28 views)
2014-07-29 03:07:13

E.R. Fleming (10 views)
2014-07-29 03:06:25

pw (40 views)
2014-07-24 01:59:36

Riven (39 views)
2014-07-23 21:16:32

Riven (27 views)
2014-07-23 21:07:15

Riven (28 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!