Jump to content

Photo

2 Player Adventure


17 replies to this topic

#1 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • 1,595 posts

Posted Thu Oct 4, 2007 9:09 PM

2 player adventure game in bB.

Now playable by 2 players, and you can win!

Return the cross to the dark blue castle, but don't get trapped or killed by a dragon or flying eye!

Find the wand to teleport or the wand to shoot dragons and eyes.

Suggestions are all welcome! (Especially those that can help me reduce the code size- trying to keep under 4k).

Attached File  2padv0.5.bas   14.02KB   133 downloadsAttached File  2padv0.5.bas.bin   4KB   175 downloads

Attached Thumbnails

  • 2padv0.5.bas.bin.png
  • 2padv0.5.bas.bin_3.png
  • 2padv0.5.bas.bin_10.png

Edited by Fort Apocalypse, Thu Oct 18, 2007 10:30 PM.


#2 CurtisP OFFLINE  

CurtisP

    Moonsweeper

  • 257 posts

Posted Thu Oct 4, 2007 9:20 PM

Thought I'd start a 2 player adventure game in bB. So far I've just created a simple "AI" for the 2nd player. The goal will be to have 1 player or 2 player game. If having computer control is too much of a pain for 1 player, I may just get rid of the AI player.


I wouldn't bother with the AI, I'd just not have the second sprite in a 1 player game.

#3 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Fri Oct 5, 2007 7:47 PM

I wouldn't bother with the AI, I'd just not have the second sprite in a 1 player game.


Here is a one player version that shows how I'm thinking an object can be carried simply. It doesn't work as smoothly as Adventure does it though.

Attached File  2padv0.1.1.bas   3.36KB   149 downloadsAttached File  2padv0.1.1.bas.bin   4KB   178 downloads

#4 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Fri Oct 5, 2007 8:01 PM

And yet another version that has the ball as the second player for now. The crappy AI is there just to show you how the second player could interact. Unfortunately you can't resize the ball's height in multisprite kernel, and I can't use one of the other player sprites without losing easy collision detection. It might be fun playing the dot though. Could fit through tight spaces but you just move slower (to give it a handicap).


Attached File  2padv0.1.2.bas   3.41KB   162 downloadsAttached File  2padv0.1.2.bas.bin   4KB   188 downloads

2padv0.1.2.bas.bin.png

#5 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Fri Oct 5, 2007 10:04 PM

Woohoo! I figured out how to handle two different items. There are now a shovel and a gun in two separate rooms. You can hold them, switch them around by grabbing the one you aren't holding. Did this by checking proximity to player1 among other things. Man that was fun!

Attached File  2padv0.2.bas.bin   4KB   236 downloadsAttached File  2padv0.2.bas   5.99KB   170 downloads

2padv0.2.bas.bin.png 2padv0.2.bas.bin_2.png

#6 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Fri Oct 5, 2007 10:27 PM

Ok, here are the ideas I've had so far that I'm going to try to implement. Let me know what you think or if you have other ideas:

Items:
* Shovel - can dig away playfield in some (brown dirt) rooms
* Gun - shoot enemies in the direction you are moving
* Magic item - not sure they purpose of this yet but will involve sound and flashing background maybe. Maybe it opens up portal to void?

Inventory control:
* Press button quickly to use item
* Hold button to drop item
* Can exchange item with another item just by touching other item
* Second player can take your item

Rooms:
* Open rooms
* Mazes
* Dirt room you have to dig through
* Void - completely empty rooms where there may be lots of monsters and scary background sound

Non-inventory items:
* Transporter/entry point to void (both players must touch in 2 player game)
* Doors that aren't always open
* Painful flashing walls

Monsters:
* Regular Adventure dragon
* Room filled with baby dragons
* Floating eye
* Big dragon
* Big floating eye

Goal:
* Retrieve something besides a chalice?
* Return home?

That's all I've thought of so far. No idea yet how much will be doable.

#7 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,219 posts
  • none
  • Location:germany

Posted Sat Oct 6, 2007 9:02 AM

sounds good :)
greetings gambler172

#8 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Mon Oct 8, 2007 8:44 PM

Ok, I forgot there is no pfpixel in multisprite so no shovel for now. Two items both have actions now:
* Wand of Izgborsh - widespread mayhem
* Staff of Grobazz - shoots magical burst of energy

Thought that would be more interesting than a gun, and slightly less violent

No monsters yet... that will be next

Attached File  2padv0.2.5.bas   8.58KB   157 downloadsAttached File  2padv0.2.5.bas.bin   4KB   205 downloads

#9 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Tue Oct 16, 2007 9:50 PM

0.3 released. slip through walls bug gone, wand makes you teleport, more rooms. no monsters yet.

Attached File  2padv0.3.bas   11.74KB   147 downloadsAttached File  2padv0.3.bas.bin   4KB   219 downloads

#10 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Wed Oct 17, 2007 9:35 PM

0.4 release

For one or two players.

Dragon and Eye are enabled and attack and can kill you. You can kill them with the staff. Rooms make sense (somewhat) and there is somewhat of a map. Two castles. No point to game yet except to kill dragons and floating eyes with staff.

What do you think? All ideas are welcome!

Attached File  2padv0.4.bas   14.06KB   162 downloadsAttached File  2padv0.4.bas.bin   4KB   184 downloads
Attached File  2padv0.4.bas.asm.txt   68.28KB   168 downloads

Edited by Fort Apocalypse, Wed Oct 17, 2007 9:38 PM.


#11 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,219 posts
  • none
  • Location:germany

Posted Thu Oct 18, 2007 12:31 PM

Hi
Great work. :)
Hope to see this game finished,one day.
greetings Walter

#12 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Thu Oct 18, 2007 10:28 PM

Here it is! "Finished". :) Am too low on space to fit baby dragons in at the moment, but if you can help me find space, I'll add them in as well as ability to reset the game and a better win reward (currently you get death)

Attached File  2padv0.5.bas   14.02KB   131 downloadsAttached File  2padv0.5.bas.bin   4KB   179 downloads

Attached Thumbnails

  • 2padv0.5.bas.bin_12.png

Edited by Fort Apocalypse, Thu Oct 18, 2007 10:29 PM.


#13 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sat Oct 20, 2007 1:20 PM

Ok, since the game changed a bit from my original plan here is the description:

* There is a cross somewhere south or just southwest of the blue castle (starting castle). The quest is to find the cross and bring it back to the castle. If so you win (you currently get killed when you win. If I can fit a win sequence in, I'll definitely add that later).

* The black stick with the crook at the top (the staff) just outside of the castle lets you shoot. There is a bug with it that you can just shoot the missile and it stays (somewhat) stationary. If you can figure out what is wrong, let me know.

* The wand (stick with big circle at top) lets you teleport. This is only useful currently to help you get out if you are trapped in an enemy castle (which will happen periodically and you have to turn it off/on to restart the game because I didn't have enough space left in 4k to reset. Will fix that eventually.

* Dragon and eye will kill you if they attack you long enough.

* If you're lucky or crafty you can walk through walls. It usually happens by accident for me. Whenever I've tried on purpose I have a hard time doing it. Walking through walls is a good way to get stuck in a dungeon.

Let me know how it goes! Had to switch to non maze rooms for now to save space.

#14 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Sat Oct 20, 2007 1:30 PM

One more thing... the selection (1 or 2) at the beginning is for # of players. The second player plays as the elusive "dot" from the first Adventure, except that the players can see the dot. However, the dragon and eye cannot see the dot player, which makes him good for sneak attacks. The player and dot must leave the room at the same time (so no one gets left behind).

The hardest parts about this game are:
* Finding the cross (I may actually hide the cross in a random location in the next version).
* Not getting stuck in an enemy castle/dungeon.
* Shooting the wand in the desired direction.

The easiest parts are:
* Killing the dragons and eyes (who would have known killing a dragon would be so darn simple? ;) ) I may hide the staff later on or make them faster to make this harder. In a future version there may be baby dragons, and possibly an large elephant (by request).

Anyway... definitely looking for suggestions, so please let me know what you like, don't like, and if you can look at the code and make any suggestions, that would be way totally awesome.

Edited by Fort Apocalypse, Sat Oct 20, 2007 1:33 PM.


#15 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,219 posts
  • none
  • Location:germany

Posted Sun Oct 21, 2007 8:44 AM

Hi
Would be nice,if you could add a map.
2PlayerAdv is a nice game.
greetings Walter

#16 Nognir OFFLINE  

Nognir

    Dragonstomper

  • 765 posts
  • Location:Regenstauf (near Regensburg) Bavaria, Germany

Posted Mon Oct 22, 2007 11:36 AM

I tried it today on my emulator and I have a graphic glitch when I start the game using reset:

2padv0.5.bas.bin.png

It is the part below where the yellow blocks can be seen. On the emulator this part is permanently flickering, but only in this screen. I'm using Stella 2.4.

This is just an Info for you :)

#17 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Tue Oct 23, 2007 9:58 PM

I tried it today on my emulator and I have a graphic glitch when I start the game using reset:

2padv0.5.bas.bin.png

It is the part below where the yellow blocks can be seen. On the emulator this part is permanently flickering, but only in this screen. I'm using Stella 2.4.

This is just an Info for you :)


Yes, I saw that too in Stella 2.3.5. I think it is either a bug in bB or a bug in Stella. Can anyone figure out why it would be doing this?

#18 Fort Apocalypse OFFLINE  

Fort Apocalypse

    Stargunner

  • Topic Starter
  • 1,595 posts

Posted Wed Oct 24, 2007 8:41 PM

I tried it today on my emulator and I have a graphic glitch when I start the game using reset:

2padv0.5.bas.bin.png

It is the part below where the yellow blocks can be seen. On the emulator this part is permanently flickering, but only in this screen. I'm using Stella 2.4.

This is just an Info for you :)


Yes, I saw that too in Stella 2.3.5. I think it is either a bug in bB or a bug in Stella. Can anyone figure out why it would be doing this?


Figured that flickering out. Had too many sprites on the y=100 coordinate. Here is the latest (interim version with fix and diff maps)
Attached File  2padv0.5.bas.bin   4KB   168 downloadsAttached File  2padv0.5.bas   14.06KB   187 downloads




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users