Jump to content





Tunnel game

Posted by , in Atari 01 May 2014 · 5,263 views

Programming Damned Tag Clouds
Something I wrote this weekend inspired by the arcade game'Tunnel Hunt'. You can control the speed with the joystick (up/down).
 
Maybe I'll make a game out of this. Or maybe not. :)
 
EDIT: Here is how a turn may look like. Now fixed (v0.03)!

Attached Thumbnails

  • Attached Image
  • Attached Image

Attached Files






Nice work - the faster speeds look particularly impressive :) It is clearly one of those effects which looks simple to produce, but is actually quite a challenge on the 2600!

Chris
  • Report
Very awesome! I was just wondering the other day if Tunnel Hunt would be possible on the VCS! It is a fun game.

Is there any possible way that the tunnels will eventually twist and turn like the arcade game?
  • Report

Is there any possible way that the tunnels will eventually twist and turn like the arcade game?

Up and down is no problem, but left and right, though possible, will become quite tricky and limited. But I am working on it.

If no game comes out of this, at least the code can be used for a good warp sequence in other games.
  • Report
Hi there!

Looks cool! I hope you get it moving.

Would a brute force solution work, with 40 different kernels, one for each possible center square?

Greetings,
Manuel
  • Report

Would a brute force solution work, with 40 different kernels, one for each possible center square?

Yes, that would work. I already have 4 different (partial) kernels, which are executed in RAM, so creating "a few" more would be possilbe.

But currently I am pondering about a kernel generator, which only gets the correct cycles as input and then automatically creates the kernel. There are 4 writes, which have to be cycle exact, plus 2 writes which have to happen before and after the center.

Sounds like an interesting challenge. :)
  • Report
Hi there!

But currently I am pondering about a kernel generator


You mean a generator in ROM, which is creating the desired kernel in the RAM on the fly? :)

That certainly sounds like the next level of 2600 programming ;)

Greetings,
Manuel
  • Report

You mean a generator in ROM, which is creating the desired kernel in the RAM on the fly? :)

Yup! ;)
  • Report
Nothing shows up in Stella. Bummer. :)

If you do continue this game... please add attack waves to it. The arcade game is just too monotonous as-is.
  • Report

Nothing shows up in Stella. Bummer. ;)

Hm, except for some illegal opcodes, there is nothing special hidden inside the code. :)

If you do continue this game... please add attack waves to it. The arcade game is just too monotonous as-is.

We'll see. I am not even sure, if I will try to redo Tunnel Hunt. Maybe I'll just do a simple 3D-racing minigame (with separate and different tracks of course ;)).
  • Report
Since it seems impossible to attach anything to comments (is it?), I have added the lastest changes to the initial entry.
  • Report
Is this the "yet to be announced project" that Manuel mentioned in the Ladybug - 2600 thread?
  • Report

Since it seems impossible to attach anything to comments (is it?), I have added the lastest changes to the initial entry.


Well, that's better. Now I'm seeing a couple of lines at the top of the screen. :)
  • Report
Hi there!

Is this the "yet to be announced project" that Manuel mentioned in the Ladybug - 2600 thread?


There I meant Juno First from Chris. Of course from the blogs you already knew about that :)

Greetings,
Manuel
  • Report

Well, that's better. Now I'm seeing a couple of lines at the top of the screen. ;)

I'll try to find out what's wrong with Stella.

EDIT: I tried both binaries with Stella 2.01. Sometimes they run and sometimes they crash. :)
  • Report
Hi there!

We'll see. I am not even sure, if I will try to redo Tunnel Hunt. Maybe I'll just do a simple 3D-racing minigame (with separate and different tracks of course ;)).


I think it'd be cool if it'd fully cover Tunnel Hunt and just had all other stuff like 3D-Race, 3D-Kaboom, 3D-Cave, etc as extra playmodes :)

Greetings,
Manuel
  • Report
Well, it worked for me in Stella finally (then crashed after about 30 seconds). I just kept re-loading it until it worked. It looks great!
  • Report

I think it'd be cool if it'd fully cover Tunnel Hunt and just had all other stuff like 3D-Race, 3D-Kaboom, 3D-Cave, etc as extra playmodes :)

Good idea. But first I will try to find out how much space a minimal solution requires. I suppose that will be more than 1k anyway, so then there will be plenty of space for variations and add-ons.
  • Report

Well, it worked for me in Stella finally (then crashed after about 30 seconds). I just kept re-loading it until it worked. It looks great!

Glad it finally worked for you (somehow). So I won't have to look for the problem now.

Maybe it will eventually disappear... :)
  • Report

Maybe it will eventually disappear... ;)

Had little time this weekend, but enough to fix several problems, which caused Stella to crash. Fixed version attached above.
  • Report

But currently I am pondering about a kernel generator, which only gets the correct cycles as input and then automatically creates the kernel. There are 4 writes, which have to be cycle exact, plus 2 writes which have to happen before and after the center.


My brick-basher kernel is constructed with something like that. It'll take some coding to allow the game to generate the proper kernels at the start of each level, but it shouldn't be terribly complicated--just output the proper instructions and patch a branch. Could be pretty powerful, though.
  • Report

Search My Blog

Recent Entries

Recent Comments

February 2019

S M T W T F S
     12
3456789
10111213141516
17 18 1920212223
2425262728  

Categories

0 user(s) viewing

0 members, 0 guests, 0 anonymous users

Latest Visitors