Jump to content

Photo

Titan Diamonds - 1.2 released


24 replies to this topic

#1 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • 1,595 posts

Posted Sun Nov 11, 2007 9:36 PM

SEE LAST POST FOR LATEST VERSION!

The story:

In the year 2574 a lot of things have changed. Humans have colonized our solar system and the O81b "flying saucer"is the primary means of getting around town. However, some things don't change, specifically the need for diamonds. In 2574, the largest known diamond in the solar system was found in the moon, Titan. But in the process of trying to mine it, the 2 petaton atomic bomb used was overkill and scattered diamonds across the planet and across the solar system. You are one of the many that have equipped their O81b's with rock blasters and set off to mine for the diamonds. But watch out, the explosion also caused a lot of meteorites! Good luck diamond hunter, and get rich!

Features:
* shoot rock in attempt to find diamond that is same color as playfield (also ball) except it flickers (the diamond)
* 2 players
* can shoot opposing player
* get points by collecting diamonds ("win" game at 10 diamonds?)
* may/may not die by hitting playfield
* can select different levels
* can bump into other player
* falling meteorites
* ground quakes when playfield is shot
* player resting position landing strip is "safe" to land on
* self-destruct sequence when lander is damaged (colors of red)

Original Plans not implemented/won't be implemented:
* landing pad where you refuel (ball) - pfscore not working
* ufo runs across top and shoots down at you - ditched ufo
* lose fuel by hitting playfield - pfscore not working
* run out of fuel and you crash - pfscore not working
* playfield only crumbles when ufo's shots hit ground - ditched ufo

Attached File  titan_diamonds_0.1.bas   3.86KB   144 downloadsAttached File  titan_diamonds_0.1.bas.bin   4KB   207 downloadsin]

Edited by Fort Apocalypse, Sun Jan 20, 2008 8:00 AM.


#2 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Thu Nov 15, 2007 10:02 PM

0.2 released

2 player lander duel! dynamics for lander are more lander-like now and has thrust effect and ability to shoot and keep score as well as the 2nd player lander.

For now bullets can go through rock. This makes it a bit more challenging and is not where the game is headed, unless you want me to just drop the 1 player aspect of it and make it a 2 player lander duel, which turns out to be pretty fun in and of itself.

No sound yet.

Let me know what you think
Attached File  titan_diamonds_0.2.bas   9.64KB   137 downloadsAttached File  titan_diamonds_0.2.bas.bin   4KB   146 downloadsin]

#3 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,219 posts
  • none
  • Location:germany

Posted Sat Nov 17, 2007 12:12 PM

Hi
A "Lunar Lander"like game with some additions would be great. :)
greetings Walter

#4 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sat Nov 17, 2007 10:28 PM

Here is 0.3. Basically the game is almost done as I described it with the exception of a life counter because I ran out of memory (4k top). Has sound, lander collisions, lander explosions and dropdowns after dying, game ends at 10 points. Get points by killing other player or finding diamond. I also added large falling meteorites (which you can see coming as they wait for their turn to fall... a sort of radar I guess).

There is a slight bug in the 2 player scorecolor. Posted it to playerscores thread. Unfortunately I can't use pfscore to have the life counter either because of the use of playerscores. Would be great if that could be fixed because I think that having a life counter would really help the game.

Attached Files


Edited by Fort Apocalypse, Sun Nov 18, 2007 7:08 AM.


#5 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sun Nov 18, 2007 6:48 AM

Screenshots. Third screenshot shows the exposed diamond to lower left.

Attached Thumbnails

  • titan_diamonds_0.3.bas.bin.png
  • titan_diamonds_0.3.bas.bin_2.png
  • titan_diamonds_0.3.bas.bin_8.png
  • titan_diamonds_0.3.bas.bin_3.png

Edited by Fort Apocalypse, Sun Nov 18, 2007 6:59 AM.


#6 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sun Nov 18, 2007 7:15 AM

Let me know if you guys like the game and what you'd like to see different to make it more playable. Also, try it with a friend if you can. The two player aspect of it is still much better than 1 player since there is currently no way to die except to be shot.

I forgot that I still haven't implemented the UFO running across the top... I don't think that would be very challenging anyway. I think the best could maybe just be to say you can't hit the playfield at all unless it is to the far left or right. I'll try that next for 0.4.

#7 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,219 posts
  • none
  • Location:germany

Posted Sun Nov 18, 2007 9:33 AM

Hi
Checked your last version.Plays very well.Hope to see more soon.Would be good,if you loose a life,when your ship hits a meteorite.And the side movement could be a little bit faster.
greetings Walter

#8 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sun Nov 18, 2007 12:41 PM

0.4 released!

* can now explode by hitting playfield (can sometimes hit it safely, sometimes you can't- some chance involved!)
* self-destruct sequence before killed (length depends on "random damage" caused by hitting playfield or getting shot)

It's basically pretty close to being done now. Can't think of anything else to do with it currently

Attached Files



#9 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sun Nov 18, 2007 2:35 PM

Preposed labels

Attached Thumbnails

  • 53091240_top.jpg
  • 53091240_main.jpg

Edited by Fort Apocalypse, Sun Nov 18, 2007 8:32 PM.


#10 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,219 posts
  • none
  • Location:germany

Posted Mon Nov 19, 2007 1:11 PM

Hi F.A.
Nice;will check it on real hardware at weekend
greetings Walter :)

#11 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Mon Nov 19, 2007 5:40 PM

Walter, here is 0.5. left and right movement speed doubled.

Like it much better! Great suggestion!

Attached Files


Edited by Fort Apocalypse, Mon Nov 19, 2007 5:41 PM.


#12 neotokeo2001 OFFLINE  

neotokeo2001

    River Patroller

  • 3,839 posts
  • Location:Palm Beach

Posted Mon Nov 19, 2007 8:13 PM

Preposed labels


A couple of quick ones

Label_Art_Small.gif Titan_Label_B_Small.gif

#13 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Mon Nov 19, 2007 10:01 PM

Awesome! I really like the second one!

#14 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Tue Nov 20, 2007 5:20 AM

My first 1-player win in 0.5... and yes I died 6 times.

Attached Thumbnails

  • titan_diamonds_0.5.bas.bin.png


#15 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,219 posts
  • none
  • Location:germany

Posted Tue Nov 20, 2007 12:38 PM

Hi FA
Yeah,version 0.5 plays much better. :)
Great work.
Greetings Walter

Edited by gambler172, Tue Nov 20, 2007 12:39 PM.


#16 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Tue Nov 20, 2007 10:53 PM

0.6 minor changes mostly. refactored some code to make it smaller. tried making playfields smaller by using pfvline and pfhline but that didn't work. lander position during select mode raised one pixel. fixed so won't have quake and sound if you land on your base, and fixed player 2 collision sound. falling diamond

Attached Files



#17 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,219 posts
  • none
  • Location:germany

Posted Fri Nov 23, 2007 1:40 PM

Hi FA
Checked Titan Diamonds on my PAL 7800 system.
Works nice :)
greetings Walter

#18 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Tue Jan 15, 2008 9:29 PM

0.7 - 2 more levels with no gravity, faster reentry time

Attached Files



#19 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Wed Jan 16, 2008 5:52 AM

Here are the screenshots for each level now (1 and 2 player game but only two player levels have screenshots shown):

Attached Thumbnails

  • titan_diamonds_0.7.bas.bin_3.png
  • titan_diamonds_0.7.bas.bin_4.png
  • titan_diamonds_0.7.bas.bin_5.png
  • titan_diamonds_0.7.bas.bin_6.png
  • titan_diamonds_0.7.bas.bin_7.png
  • titan_diamonds_0.7.bas.bin_8.png

Edited by Fort Apocalypse, Wed Jan 16, 2008 5:53 AM.


#20 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Wed Jan 16, 2008 10:50 PM

fixed things like diamond drop, added heavier gravity to level 2 and 3

Attached Files



#21 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Fri Jan 18, 2008 11:56 PM

now you don't move, you only shoot when firing. much less frustrating.
note ships bounce off each other properly from 1.0 on.
map changes.

Attached Files



#22 SeaGtGruff OFFLINE  

SeaGtGruff

    Quadrunner

  • 5,566 posts
  • Location:South Carolina, USA

Posted Sat Jan 19, 2008 4:09 AM

Okay, I modified the version 1.1 code to use shared shape tables for the two player sprites. When I compiled the original 1.1 code, I got 1 byte free. When I compile the new code (1.1a), I get 93 bytes free, so it saved 92 bytes! :)

Be careful, because you could easily break the new code-- although if you do, you can fix it easily.

Here's how the modification works...

First, I took the four shapes-- normal, up, down, and left/right-- and defined them as one long player0 shape, just before the "init" line label; set player1pointerhi to player0pointerhi; and set both player heights to 4 (i.e., one less than their desired heights, or 5 - 1):

player0:
  %00100100
  %00111100
  %01111110
  %00111100
  %00011000
  %00111100
  %00111100
  %01111110
  %00111100
  %00011000
  %00100100
  %00111100
  %01111110
  %00111100
  %00111100
  %00100100
  %00111100
  %11111110
  %00111100
  %00011000
end
  player1pointerhi = player0pointerhi
  player0height = 4 : player1height = 4
Then I compiled the new code, so I could see what label batari Basic used when generating the data for the player-- which turned out to be "playerL039_0." When batari Basic compiles your "player0:" and "player1:" statements, it places the actual player shape data at the end of your code, before the score graphics, and generates a label in the form "playerL0?_?," where the first "?" is the code line number on which the "player?:" statement occurred, and the second "?" is the number of the player (i.e., "0" or "1"). For example, if the very first line of your code is a "player0:" statement, then batari Basic calls that line ".L00," and it will use "playerL00_0" as the line label for where it puts the actual player0 shape data. Every line of batari Basic code gets numbered in this fashion, beginning with ".L00" for the first line, followed by ".L01," then ".L02," etc. Blank lines don't get numbered this way.

Next, I wanted to define some constants for the pointerlo values which will point to the desired shape in the table, since you don't have any spare variables to use for saving the base address of the shape table. I added the following lines near the beginning of your code, just after your other "const" definitions:

const pnormal = #<playerL039_0
  const pup = #<playerL039_0 + 5
  const pdown = #<playerL039_0 + 10
  const pleft = #<playerL039_0 + 15
  const pright = #<playerL039_0 + 15
I think you may already know enough assembler to know that "#<xxx" represents the lo byte of address "xxx." Each shape in the table is 5 bytes, so the first constant ("pnormal") should be equal to "#<playerL039_0," and for the others we add 5 more-- i.e., base + 0, base + 5, base + 10, and base + 15. The left and right shapes are the same, but I defined their constants separately, using base + 15 for both.

But by adding these five lines, the "player0:" statement got pushed down five lines of code, so that means when the new code is compiled, batari Basic will assign the label as "playerL044_0" instead of "playerL039_0," see? So I had to change the "const" statements to use "playerL044_0":

const pnormal = #<playerL044_0
  const pup = #<playerL044_0 + 5
  const pdown = #<playerL044_0 + 10
  const pleft = #<playerL044_0 + 15
  const pright = #<playerL044_0 + 15
Next, I commented out the subroutines where the player shapes get set (i.e., "p0normal," "p0up," "p0down," etc.).

Finally, I searched for everywhere that those subroutines were called, and replaced the "gosub" statements by "let" statements (with the optional "let" keyword being omitted, of course):

rem  gosub p0normal : gosub p1normal : gosub resetpf
  player0pointerlo = pnormal : player1pointerlo = pnormal : gosub resetpf
rem  if joy0up then lander0yaccel = lander0yaccel - 0.02 : if timer{0} then gosub p0up
  if joy0up then lander0yaccel = lander0yaccel - 0.02 : if timer{0} then player0pointerlo = pup
  rem  if joy0down then lander0yaccel = lander0yaccel + 0.01 : if timer{0} then gosub p0down
  if joy0down then lander0yaccel = lander0yaccel + 0.01 : if timer{0} then player0pointerlo = pdown
  rem  if joy0left then lander0xaccel = lander0xaccel - 0.02 : if timer{0} then gosub p0left
  if joy0left then lander0xaccel = lander0xaccel - 0.02 : if timer{0} then player0pointerlo = pleft : REFP0 = 8
  rem  if joy0right then lander0xaccel = lander0xaccel + 0.02 : if timer{0} then gosub p0right
  if joy0right then lander0xaccel = lander0xaccel + 0.02 : if timer{0} then player0pointerlo = pright
etc.

I left the original code-- commented out-- so you could see how it was changed, but you'll probably want to just delete those commented out lines.

Michael

Attached Files



#23 Impaler_26 OFFLINE  

Impaler_26

    Cookie Meister

  • 2,601 posts
  • Braindead
  • Location:Hueco Mundo

Posted Sat Jan 19, 2008 8:27 PM

I finally took some time to play this, very nice concept!!

And although i totally suck at it i really like this game!!

Keep up the good work!

#24 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sat Jan 19, 2008 8:51 PM

I finally took some time to play this, very nice concept!!

And although i totally suck at it i really like this game!!

Keep up the good work!


Thanks!

Thanks also to Curtis for the 2-player scores, Michael for freeing up more space with the sprites (I need to add another level or something now! :) Thanks, Michael!), and Fred for bB! :)

#25 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sun Jan 20, 2008 8:02 AM

1.2 - new level, screensaving colors

Attached Files






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users