Jump to content

Photo

Unfinished 3D Maze Demo / Template

3D Demo Template Maze

169 replies to this topic

#151 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,114 posts
  • none
  • Location:germany

Posted Mon Sep 11, 2017 11:00 AM

Hi Smitty

great news....wanna have a bin

greetings Walter

#152 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Mon Sep 11, 2017 2:56 PM

The files as requested. The door leads to an area with a horrible red/green colour scheme so mind your eyes and the door back out doesn't go the right spot. To toggle the torches you have to pick up the sword and hit them because the toggle is based on the torches health.

 

I've also just managed to tweak things so that different creatures can see at different distances, also they can't look through walls now which is a little more important.

 

I'm going to start mapping out one the major areas which is a network of tunnels in 3 dimensions so a lot of jumping down pits and climbing up ladders will be required.

Attached Files



#153 frankodragon OFFLINE  

frankodragon

    River Patroller

  • 3,927 posts
  • No relation to the Adventure duck-like dragons
  • Location:Planet Vastia

Posted Tue Sep 12, 2017 12:22 AM

I know this was mentioned a while ago, but what did you do to alleviate the issues with the WSYNC's in the code?  



#154 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Tue Sep 12, 2017 12:41 AM

I haven't changed anything yet. It shows correctly in MAME and that's good enough for me unless the same issues exist on real hardware. If they do I can cut off the top of the main screen to give more time to the change in screen modes. I don't know how I would edit the code I posted to fix the issue assuming it is an issue on real hardware.

#155 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,114 posts
  • none
  • Location:germany

Posted Tue Sep 12, 2017 12:59 PM

Hi Smitty

looks great and plays well,but no result,when pressing
thr keyboard controller

greetings Walter

#156 frankodragon OFFLINE  

frankodragon

    River Patroller

  • 3,927 posts
  • No relation to the Adventure duck-like dragons
  • Location:Planet Vastia

Posted Tue Sep 12, 2017 4:47 PM

Found out that having too many plotvalues on the screen can in fact, make the screen flicker a lot.  And yes, I'm also using MAME to test.



#157 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Sat Oct 14, 2017 10:38 AM

I've been making a few improvements this month. I've rewritten the enemy AI so that they share a basic AI code and plug in their different behaviours from parameters as part of their object memory, therefore the only time I'll need to add more than some parameters for a new monster is if it's not a palette swap of an existing monster or if it needs a more specialised AI. As it is enemies will try and follow the player until they're in attack range and will repeatedly attack until the player moves out of range. If the enemy loses sight of the player they'll continue in the direction they last saw them until they either see the player again or reach a wall where they'll wander in search.

 

The player's attack animation code has been reworked so that different items can have different animations with different graphics and movement patterns. Currently only the sword is implemented which slashes down diagonally from alternating directions.

 

After a couple of rubbish looking and / or ROM-eating ideas I've settled on a title screen that I'm happy with that uses minimal space in the graphics banks. The mountains, trees, and rocks scroll to try and make things more interesting (and to stick it to the NES). The left and right buttons change between 'Start' and 'Continue' options because I'm currently working on the basics of saving progress so don't try the ROM with a save device lest it corrupts your data, spontaneously combusts, or calls you rude names via AtariVox or something.

 

The title 'Spire of the Ancients' is a working title so I may change it but the only other contender I have in mind is 'Spire of the Eldritch'.

 

I'm thrilled to now have a Mateos Cart so I spent the night fixing graphical issues not apparent in emulation. For starters I've stabilised the background changes including fixing the issue that AlyoshaTAS pointed out before. The only case of it left is the very top of the screen but I'll let that slide as I doubt it's something that can be fixed in the confines of double buffering and the top screen routine.

In another case of the old documentation being wrong I've flipped the border control bits so the horizontal overscan should be black instead of the background colour which I think makes a big difference to how good it looks overall, especially the title screen.

 

The build I've attached has PAL colours so I could test on my own PAL-land hardware. I previously stripped out the automatic palette changing to save ROM but now that my code is more efficient I could probably re-add it though I'm leaning towards conditional compilation to leave more space for maps and things.

Attached Thumbnails

  • Capture.PNG

Attached Files



#158 Trebor OFFLINE  

Trebor

    River Patroller

  • 4,257 posts

Posted Sat Oct 14, 2017 2:42 PM

Smitty, looking really good. 

 

Just as a suggestion, the "Start" on the title screen takes away somewhat from the overall presentation, perhaps it can be taken out.  There is no "Start" button anyhow, and most (all?) wind up pressing a joystick button as the de facto game starting action.

 

Very cool scrolling effect regardless; the layered parallax visual is very nice.  Fantastic work!



#159 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Sat Oct 14, 2017 3:12 PM

The start text is there for testing saving because I want the option for starting a new game even if an existing save is present. I'll probably change it later so that pressing one button swaps the credit text with 'New Game' / 'Continue' and pressing again selects that.

#160 Tidus79001 OFFLINE  

Tidus79001

    Star Raider

  • 117 posts
  • I will not comply
  • Location:Star Trekkin', across the universe

Posted Sat Oct 14, 2017 4:21 PM

Okay so since I first posted this thinking I'd never look at this again I've been spending a lot of time updating it.
I've started using tile maps for the graphics, the map(s) are 16*16, and I have static objects and enemies that can be removed with the left button.
I'm actually motivated to finish this and it's all your fault!

This is looking amazing. This really shows off what the Atari 7800 is capable of.

#161 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Sun Oct 15, 2017 6:23 AM

NTSC builds attached.

Attached Files



#162 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Tue Oct 17, 2017 12:42 AM

I've just this minute had an idea that I'm going to pursue a bit but will likely have to drop.

At the moment 7 of my maximum 12 objects per zone are being used on the walls because it means I can just memcpy the definition for a wall over the specific bit that needs changing.
If I can write a method of updating chunks of a larger map then maybe I can work with only 2 or 3 tile maps which should then allow more complex enemies and items on screen at once.

I suspect that anything I write won't be efficient enough to cleanly update the screen though so I'll have to test it and judge whether the trade off is worth it.

#163 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,114 posts
  • none
  • Location:germany

Posted Tue Oct 17, 2017 10:45 AM

Hi Smitty
checked it and it works great....cannot wait,to play a
complete level

greetings Walter

#164 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Wed Oct 18, 2017 1:46 AM

So after some tests it seems I can get away with 2 objects for walls so it's now just a matter of converting my existing tilemaps so I can copy things line by line. As a side effect I've freed up 200 bytes of RAM that I might be able to make use of for a visible map of some kind.
In my test I was able to have 2 cultists and a pnydt on screen along side several torches without problems. It will make enemy placement easier as well as allow me to squeeze in more scenic objects with whatever graphics space I'll have left after enemies.

#165 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,114 posts
  • none
  • Location:germany

Posted Tue Oct 31, 2017 6:42 AM

sounds great....cannot wait to see more

#166 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Thu Nov 2, 2017 4:01 PM

New build. The number of objects on screen has been vastly improved by redoing the screen drawing which is very nice. The downside is that where the layout of the screen has changed I can't just copy whole wall sections in one go so it has taken quite a bite out of my free space though I've reclaimed a whole 1k just from drawing routines for torches. I've found I can have the maximum of 3 cultists on screen at once with only a very minor graphical problem that I'll overlook.

 

I've got a rough map of locations to be implemented so I've made something of a start on that. I'm having to stop myself from over-complicating the maps because it's hard to make something that can easily be navigated with the number of limitations I have. Corridors only, no S-bends, doors must not be placed to the side of a corridor (so as to not require side-on graphics at different scales), and things like ladders and pits seem to pop into existence if placed next to a corner because of the perspective.

 

It won't be pretty but it'll be the best real time first person dungeon crawler the 7800 has ever seen (unless somebody can beat me to it and I would like to see how somebody else's take on the same thing would turn out).

Attached Files



#167 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,114 posts
  • none
  • Location:germany

Posted Sat Nov 4, 2017 3:37 PM

Hi Smitty

i agree,this can become the best DM like game....
Demo works very well....how asbout a test dungeon????
greetings Walter

#168 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,114 posts
  • none
  • Location:germany

Posted Sun Nov 12, 2017 6:27 AM

Hi Smitty
and i want a Beholder as emeny

#169 SmittyB OFFLINE  

SmittyB

    Chopper Commander

  • Topic Starter
  • 140 posts

Posted Sun Nov 12, 2017 9:58 AM

I've been doing a lot of optimising to squeeze things in so I probably won't post anything for a while. As for beholders I've tried to stay away from the usual D&D monsters but maybe there will be something close enough to one for you.

#170 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,114 posts
  • none
  • Location:germany

Posted Sun Nov 12, 2017 1:34 PM

I've been doing a lot of optimising to squeeze things in so I probably won't post anything for a while. As for beholders I've tried to stay away from the usual D&D monsters but maybe there will be something close enough to one for you.


but do not let us waiting too long.
greetings Walter





Also tagged with one or more of these keywords: 3D, Demo, Template, Maze

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users