Jump to content

Photo

Ghost


18 replies to this topic

#1 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • 230 posts

Posted Wed Apr 18, 2012 2:40 PM

Alright. After a long hiatus of no new games, here's my next one finally.

This is my first game that makes use of the DPC+ kernel. The object is to shoot the ghosts floating around. As you progress, the ghosts will get faster and smarter. As of now, the game is nearly finished. I made music for each of the three levels, and the player is able to instantly switch between music and SFX, like in Game Catcher.


Update - 4/24/2012
After messing around a bit with the code, I've managed to fix the levels system. Before there were 5 level variations, now there are 8.
Now if you make it past level 4, the ghosts will deliberately chase you down, slowly at first, then faster and faster as you progress.
Because these extra levels require 3-digit scores in order to activate them, they won't activate during 2P Versus mode. (But they will
work in 2P Co-Op mode) Hope you like this new build. ^^

Here's some screenshots, and the current build is attached so you can try it out:

Posted Image

Posted Image

Posted Image

Attached Files


Edited by Lodmot, Tue Apr 24, 2012 2:46 PM.


#2 Byte Knight OFFLINE  

Byte Knight

    Dragonstomper

  • 573 posts
  • Robinett Rules!
  • Location:Waconia, MN

Posted Wed Apr 18, 2012 5:51 PM

Good start! Looks like Night Stalker or Berzerk. I've often thought about making a Night Stalker-like game with DPC+.

Unfortunately the missiles do not work very well in DPC+, as they take on colors of other sprites and one of the missiles (can't remember if it's missile0 or missile1) eventually stops working completely. You're probably better off using the ball sprite for your bullets.

#3 SpiceWare OFFLINE  

SpiceWare

    Quadrunner

  • 8,275 posts
  • Medieval Mayhem
  • Location:Planet Houston

Posted Wed Apr 18, 2012 6:07 PM

Unfortunately the missiles do not work very well in DPC+, as they take on colors of other sprites


Missiles always share the color of the corresponding sprite. Likewise the ball always shares the color of the playfield.

#4 Byte Knight OFFLINE  

Byte Knight

    Dragonstomper

  • 573 posts
  • Robinett Rules!
  • Location:Waconia, MN

Posted Wed Apr 18, 2012 6:16 PM

Missiles always share the color of the corresponding sprite. Likewise the ball always shares the color of the playfield.


Yes, and I wish the missiles would just take on one color. The problem is that when you have a multi-colored sprite, the missile will take on multiple colors if it's more than one pixel high, as seen in Lodmot's Ghost game. Unfortunately the COLUM0 and COLUM1 commands do not seem to help...

#5 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • Topic Starter
  • 230 posts

Posted Wed Apr 18, 2012 6:26 PM

Yeah, I had a really tricky time trying to get the bullets to shoot.
In earlier builds of the game, they wouldn't even fire at all. The way they work now is the best I've been able to get them.
Also, to get the 2nd player to collide into walls, I had to resort to using the ball object as a sort of collision mask for the 2nd player, because the collision function doesn't seem to play nicely between players 2-9 and the playfield.
Collision against playfield pixels is tricky anyway. I can't seem to do it without there being a way for the player to fly through the walls. xDD

Edited by Lodmot, Fri Apr 20, 2012 7:46 AM.


#6 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 25,020 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Wed Apr 18, 2012 6:41 PM

Collision against playfield pixels is tricky anyway. I can't seem to do it without there being a way for the player to fly through the walls. xDD


If you were using normal bB, I'd recommend that you look at this example program:

http://www.randomter...ss_coll_example

It has the best sprite/wall 'collision' I've done so far. It's smooth like butter.

#7 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • Topic Starter
  • 230 posts

Posted Wed Apr 18, 2012 7:08 PM

That's pretty interesting the way you set it up.
Unfortunately, I'm not sure how much I can put before I run out of scanlines. I'm thinking this game will not nearly use as many as Auto Mayhem did, but I could be wrong.
I've implemented the other player's shooting and all I really need to do is fix the missile collision with the ghosts, and then the scoring and level system, and then the game's main loop will be done. (Besides sound of course)

Edited by Lodmot, Wed Apr 18, 2012 7:08 PM.


#8 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 25,020 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Wed Apr 18, 2012 7:24 PM

This one uses a different kind of 'collision,' but it really only works for Pac-Man style games:

http://www.randomter...html#maze_32x23

#9 atari2600land OFFLINE  

atari2600land

    Game Gear>Game Boy

  • 8,263 posts
  • Location:Salem, Oregon

Posted Wed Apr 18, 2012 7:31 PM

How did you get the score different colors?

#10 TrekMD ONLINE  

TrekMD

    River Patroller

  • 2,542 posts
  • Location:Coral Gables, FL

Posted Wed Apr 18, 2012 8:52 PM

Looks nice!

#11 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • Topic Starter
  • 230 posts

Posted Wed Apr 18, 2012 9:28 PM

Thanks Trek! ^^

@ atari2600land: With the DPC+ kernel, one of its features is multi-colored score text.

#12 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • Topic Starter
  • 230 posts

Posted Thu Apr 19, 2012 10:48 AM

Just tested this game on real hardware today. The playfield is very fidgety. It keeps scrolling up and then re-appearing...
Everything else seemed to work fine though. Anyone have any ideas as to what it could be? If I have to, I'll make two separate versions of the game for emulators and real hardware.

EDIT: Nevermind, figured it out. Game works great on real hardware now! XD

Edited by Lodmot, Thu Apr 19, 2012 12:56 PM.


#13 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • Topic Starter
  • 230 posts

Posted Sun Apr 22, 2012 1:20 PM

Big update. Game is now nearly complete. And DAMN, it was totally worth the work! :3

#14 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • Topic Starter
  • 230 posts

Posted Thu Apr 26, 2012 11:04 AM

Gah... Bad news guys...
As I was getting ready to install Ubuntu, I forgot to back up my Atari source code folder, so the source code to all the games I made, including Ghost and Auto Mayhem (which weren't finalized yet), is gone. :l

The good news though is, these two games happened to be in a very finished state as they were last compiled, and I really wasn't planning on doing anything more with them, so I'm going to deem both Ghost and Auto Mayhem finalized.

Edited by Lodmot, Thu Apr 26, 2012 11:05 AM.


#15 TrekMD ONLINE  

TrekMD

    River Patroller

  • 2,542 posts
  • Location:Coral Gables, FL

Posted Fri Apr 27, 2012 6:33 AM

Sorry that you lost all the source code for the games. At least you had finished them!

#16 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 25,020 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Fri Apr 27, 2012 6:52 AM

As I was getting ready to install Ubuntu, I forgot to back up my Atari source code folder, so the source code to all the games I made, including Ghost . . . is gone.


Are you sure Patrick Swayze didn't have something to do with it?

#17 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • Topic Starter
  • 230 posts

Posted Fri Apr 27, 2012 7:44 AM

As I was getting ready to install Ubuntu, I forgot to back up my Atari source code folder, so the source code to all the games I made, including Ghost . . . is gone.


Are you sure Patrick Swayze didn't have something to do with it?

Who? o.o
xD

#18 Piggles OFFLINE  

Piggles

    Star Raider

  • 79 posts

Posted Sat May 5, 2012 10:56 AM

I like the music. It reminds me vaguely of Thunder Castle for the Intellivision.

#19 Lodmot OFFLINE  

Lodmot

    Chopper Commander

  • Topic Starter
  • 230 posts

Posted Sun May 6, 2012 5:13 AM

Thanks ^^




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users