It is currently Sat Feb 17, 2018 12:58 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 72 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Tue Feb 06, 2018 1:37 pm 
Offline
Formerly WheelInventor

Joined: Thu Apr 14, 2016 2:55 am
Posts: 1353
Location: Gothenburg, Sweden
I think that table looks great Dougeff! Really helps depth and therefore orientation

_________________
http://www.frankengraphics.com - personal NES blog


Top
 Profile  
 
PostPosted: Tue Feb 06, 2018 3:00 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6767
Location: Seattle
Quickly playing around with mesen (it'll let me hot-patch the table while the game runs!), I tried a table of the form 79·10/(n+10) and I think it makes motion a little more fluid ... but it also clearly shows some cylindrical distortion.

edit: explicitly spelling out what that means:
Code:
4F 48 42 3D 38 35 31 2E 2C 2A 28 26 24 22 21 20
1E 1D 1C 1B 1A 19 19 18 17 17 16 15 15 14 14 13
13 12 12 12 11 11 10 10 10 0F 0F 0F 0F 0E 0E 0E
0E 0D 0D 0D 0D 0D 0C 0C 0C 0C 0C 0B 0B 0B 0B 0B
0B 0B 0A 0A 0A 0A 0A 0A 0A 0A 09 09 09 09 09 09
09 09 09 08 08 08 08 08 08 08 08 08 08 08 08 08
07 07 07 07 07 07 07 07 07 07 07 07 07 07 07 07


I'd previously tried smaller offsets than 10 but found that, even if they looked accurate, they made all the rooms look HUGE.

edit2: you can think of the parameters in the equation a·b÷(n+b) that a is "how tall in pixels is the wall when I'm as close as I can get" and b as "the closest I can get"

edit3: For distances less than 26, the original data in the game is pretty close to a=79 and b=40.
For distances less than 22, dougeff's curve is close to a=93 and b=15.
For distances less than 40, Frankengraphics's curve below is close to a=90 and b=12.


Last edited by lidnariq on Tue Feb 06, 2018 8:33 pm, edited 3 times in total.

Top
 Profile  
 
PostPosted: Tue Feb 06, 2018 3:48 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10283
Location: Rio de Janeiro - Brazil
lidnariq wrote:
Quickly playing around with mesen (it'll let me hot-patch the table while the game runs!)

FCEUX allows live editing too, just write or paste the new data in the hex editor.


Top
 Profile  
 
PostPosted: Tue Feb 06, 2018 7:46 pm 
Offline
Formerly WheelInventor

Joined: Thu Apr 14, 2016 2:55 am
Posts: 1353
Location: Gothenburg, Sweden
Yeah i use fceux for that sort of thing, too. Very useful for a/b testing physics quickly - and optics too, it would seem!

I tried to do it from scratch as well. After a couple of hours of testing in varying sizes of corridors and halls, i found this to work best for me in regards to depth and rotation overall. I find it interesting that it came up so close to dougeff:s attempt in close-quarter distances. It seems there isn't much leeway here if you want clear depth separation.

The far-away three fourths on the other hand got pretty different, and this was very conscious as otherwise i found the view started warping (zoom out in the middle of the view a lot as you rotaded in larger halls across faraway corners and doorways) or outright disappear as if it was much further away than it was.

Pretty satisfied with it with this ski slope curve. It definitely shifted my usage from the minimap (which i now only glance at in intervals for treasure hints at this point) to the main screen for orienting.

Code:
4F 4F 4F 4B 48 44 3F 3C
38 35 32 2F 2C 2A 29 28
27 26 25 24 23 22 21 20
1F 1E 1D 1C 1B 1A 19 19
18 18 17 17 16 16 15 15
14 14 13 13 12 12 11 11
10 10 0F 0F 0E 0E 0E 0D
0D 0D 0C 0C 0C 0B 0B 0B
0A 0A 0A 09 09 09 08 08
08 07 07 07 06 06 06 06
05 05 05 05 05 04 04 04
04 04 03 03 03 03 03 03
02 02 02 02 02 02 02 01
01 01 01 01 01 01 01 01


Attachments:
distant_surfaces_look_ok.png
distant_surfaces_look_ok.png [ 2.02 KiB | Viewed 395 times ]

_________________
http://www.frankengraphics.com - personal NES blog
Top
 Profile  
 
PostPosted: Wed Feb 07, 2018 4:12 am 
Offline

Joined: Tue Oct 06, 2015 10:16 am
Posts: 659
Will try these soon. In the meanwhile, here's a ROM that runs on hardware, with the more optimized nmi code. Thanks to gauauu for testing.


Attachments:
InherentSmile.nes.gz [31.11 KiB]
Downloaded 16 times
Top
 Profile  
 
PostPosted: Wed Feb 07, 2018 4:33 am 
Offline

Joined: Tue Oct 06, 2015 10:16 am
Posts: 659
I like Franken's table. ROM with that.


Attachments:
InherentSmile.nes.gz [31.1 KiB]
Downloaded 42 times
Top
 Profile  
 
PostPosted: Wed Feb 07, 2018 8:36 pm 
Offline
User avatar

Joined: Sat Feb 12, 2005 9:43 pm
Posts: 10283
Location: Rio de Janeiro - Brazil
Wow, that is indeed much better! Things still become wider as you get closer, and I can't figure out why... but the sense of depth is MUCH improved, so that's great!


Top
 Profile  
 
PostPosted: Thu Feb 08, 2018 4:33 am 
Offline

Joined: Sat Oct 15, 2016 8:52 am
Posts: 110
I've been playing this most of the morning and its been destroying my work ethic. Great game, quite tough though with some very high powered enemies early on. I got the silver sword and thought could finally get some payback on those rats but nope - maybe next time!

One thing to comment on - the death sound - it sounds more like a level up. Some blissful ascension in to the heavens, perhaps?


Top
 Profile  
 
PostPosted: Sat Feb 10, 2018 11:35 pm 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6767
Location: Seattle
Tiny little graphics glitch I just noticed: when I have the poisnspear or khalif equipped, during combat, in the follow-through after an attack, the spear head becomes replaced with leek leaves.


Top
 Profile  
 
PostPosted: Sun Feb 11, 2018 2:45 am 
Offline

Joined: Tue Oct 06, 2015 10:16 am
Posts: 659
Do you mean the slash frames? There wasn't chr space to have unique attack animations, so every weapon uses the same slash. The color doesn't change according to the weapon either, it's always green.


Attachments:
pic.png
pic.png [ 1.12 KiB | Viewed 165 times ]
Top
 Profile  
 
PostPosted: Sun Feb 11, 2018 2:48 am 
Offline

Joined: Tue Oct 06, 2015 10:16 am
Posts: 659
I guess you mean this frame, it's also part of the slash.


Attachments:
pic.png
pic.png [ 1.15 KiB | Viewed 164 times ]
Top
 Profile  
 
PostPosted: Sun Feb 11, 2018 11:28 am 
Online

Joined: Sun Apr 13, 2008 11:12 am
Posts: 6767
Location: Seattle
Yup, that.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 72 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group