Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 04:13:00 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 ... 32 33 [34] 35 36 ... 42   Go Down
  Print  
Author Topic: Escheron: Shadow over Ragnoth -  (Read 42842 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Iambian
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 14 June, 2013, 18:00:28
Date Registered: 04 September, 2008, 20:12:14
Location: Nowhere in particular
Posts: 636


Total Post Ratings: +167

View Profile
« Reply #495 on: 03 January, 2011, 09:06:52 »
0

I think he means that the slowdown would occur just in general while looking at/using a menu. I had this issue as well with the bag in Ash:Phoenix; since the game was rewriting all the text every frame, the gray looked really crappy. I ended up writing a separate routine for the inventory menu that would only update the screen whenever a button was pressed, but it cost me a lot of space x.x
Ah, that's not really much of an issue with E:SoR, since it manages its version of a textshadow buffer rather efficiently. It runs as a 4x4 tilemapper so the text is rather ... aligned... but what I get out of it is the ability to not write to areas to the screen that are not defined in this "textmapper". This is a real asset when updating cursor positions, since the only thing on the textshadow are the characters that form the cursor.

Still, when looking at the inventory, the textmapper *does* have to do a lot of work since it is updating more of the screen than it is usually used to. The real slowdown I'm worried about is what is happening with the printf macro when it is rebuilding the "textshadow" buffer during one of its frames.

To a normal player, this degradation of grayscale quality *might* be tolerable, since it only happens when something onscreen is changing. I'm a little worried about that one frame. Ought I be? Or am I just setting my expectations too high? I mean, I want to make this incarnation "cleaner" and from the scheme I'm coming up with, it has the potential of just being visually messier.

The only reason I'm adopting the scheme is because it makes managing data across pages almost infinitely easier. I'm sure it's a worthy goal to pursue if it means getting the game out earlier, but still. To sacrifice something for a quicker release is also rather upsetting in my eyes. On a slightly better note, I managed to make some core routines faster, so maybe I'm just imagining things.

If anyone wants to try to improve on this textmapper, give it a go. All registers are free for use, including shadow registers. I'm currently using the stack pointer to extract two 4x4 pairs at a time. Space is not (much of) an issue, though don't try unrolling loops. http://iambianet.pastebin.com/XCWgLzUK

Maybe "tomorrow," I'll lay down new groundwork for the next menu system. I've spent too much time reading fanfiction...
Logged

A Cherry-Flavored Iambian draws near... what do you do? ...
Projects in my development environment:
Celtic 3 (83+) 95% (Hold) | CaDan (83+) 15% (Rst) | E:SoR (84+) 10% (Rst) | CaDanITE (83+) 4% (Hold) | FF:TIoC (83+) 2% (Data)
Pages: 1 ... 32 33 [34] 35 36 ... 42   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.169 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.