Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old April 20, 2011, 19:59   #1
meJustmeNotyou
Rookie
 
Join Date: Apr 2011
Posts: 23
meJustmeNotyou is on a distinguished road
idea on fine scrolling

(let's try this again... crashed on me last time)

IF no graphic tiles used THEN skip this scroll routine

IF graphic tiles used THEN check to see if scroll option is selected

IF scroll option is selected THEN check "scroll rate" (milliseconds)

and scroll


The idea is basicaly, instead of tiles (by this i mean objects monsters etc) BLINKING from point A to point B, they would scroll finely pixel for pixel from point A to point B.

Higher number of monsters etc to scroll is why the "scroll rate" would be user set... so you can decide what is perfect for your tastes.

exception to monster scrolling would be "blinkers" etc.

All scrolling things would scroll OVER any other tile (monster, wall, whatever) for it's scroll.

Going around corners and through the tight corner squeezes would just have the monster or whatever scroll right through (on top of) the corner.

No big deal.

I think this would be a pretty cool addition to this game.... with faster monsters scrolling faster to their destinations.

seems like it'd be easy to program but i don't know, and you have a billion things on your list already.

I personaly wouldn't mind waiting a full second or two for a room of monsters to scroll... and way less time for normal situations.

You could always toggle it off when/if it becomes a nuisance.

2 cents to the idea/wish-list pit
meJustmeNotyou is offline   Reply With Quote
Old April 21, 2011, 03:53   #2
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
Two things...

1. It's not going to happen, unless YOU do it. Maintainers, in general, could care less about tiles.
2. In addition to the novelty of seeing things actually move, you would be able to see identical monsters push past one another, which is a big improvement from a game play POV.
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
My banding life on Buzzkill's ladder.
buzzkill is offline   Reply With Quote
Old April 21, 2011, 04:16   #3
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,531
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
Maintainers, in general, could care less about tiles.
I agree - several of the variant maintainers and members of the devteam have put considerable effort into getting tiles working properly. There are still a few bugs in the V bigtile mode, as I did the initial implementation incompletely. The devteam have tried to clean up my mess, but getting stuff to refresh right is tricky, as the underlying term code wasn't designed for this.

So yes, it would be possible for maintainers to care a lot less about tiles and to have put in no effort at all to make them work. That was what you meant, right?

Of course, the devteam is always pleased to get patches if anyone does wish to contribute. This page gives a guide to the process of getting new ideas implemented.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old April 21, 2011, 04:38   #4
buzzkill
Prophet
 
buzzkill's Avatar
 
Join Date: May 2008
Location: Indiana, USA
Posts: 2,939
Donated: $8
buzzkill is on a distinguished road
Quote:
Originally Posted by Nick View Post
So yes, it would be possible for maintainers to care a lot less about tiles and to have put in no effort at all to make them work. That was what you meant, right?
Yeah. That's what I mean.

When the hell did everyone around here go off the deep end?
Oh, now I see the smiley face.
__________________
www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
My banding life on Buzzkill's ladder.
buzzkill is offline   Reply With Quote
Old April 21, 2011, 04:46   #5
meJustmeNotyou
Rookie
 
Join Date: Apr 2011
Posts: 23
meJustmeNotyou is on a distinguished road
do me a favor...

i downloaded visual c++ a few weeks back... still haven't jumped into it but... i am planning on learning the language (maybe not on that program though)

I used to program into early college when i was younger but wound up in a different field (family business stuff0 and want to mess around with programming again...

do me a favor and list what languages i would need to actualy code simple things here...

1) language(s) used for angband
2) directx/gui etc
3) whatever else... (so many different areas of programming-like things)

and if you could... reference manuals to learn from (relatively modern)

i have tried the net for general information and there is soooo much out there... it's a convoluted mess what's become of the computing world in my opinion (which is pretty in the dark granted)... i only even thought of visual c++ because many people say it's a great (and complicated) language to know (for whatever you want to do even if slower to create for some things).

sorry... i'd just like to get a heads up on what we need to learn to be useful as far as coding little scrolling tile trinkets etc.

thanks (and again, ref manuals to buy would be good... remembering i want to not just code the stuff, but.... the graphics end too.... keeping it all still "angband'ish and low keyed obviouslY)

anything and everything that comes to mind... i can do research from there.

thanks again to wheover can help
meJustmeNotyou is offline   Reply With Quote
Old April 21, 2011, 05:04   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 53
Posts: 7,531
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by buzzkill View Post
When the hell did everyone around here go off the deep end?
Good call. I need a holiday, I don't know what everyone else's excuse is
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old April 21, 2011, 05:08   #7
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 927
Donated: $10
will_asher is on a distinguished road
I learned what I know of C by 1) looking at the Angband code and 2) Beej's Guide to C Programming (which is kindof annoyingly silly, but still informative).
That said, I don't know how to do anything fancy with graphics, and I don't know if Beej's Guide will help much with that area.

Also here is my text file with instructions on compiling Angband (VS is the 2nd set of instructions).
good luck
__________________
Will_Asher

Play DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home
will_asher is offline   Reply With Quote
Old April 21, 2011, 05:15   #8
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,755
Derakon is on a distinguished road
Angband is written in pure C, and nothing else. It uses a library called "curses" for display; there's also an SDL mode available if you really want. However, you shouldn't need to worry about the display code for the most part unless you want to change it.
Derakon is offline   Reply With Quote
Old April 21, 2011, 11:52   #9
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,912
Donated: $40
takkaria is on a distinguished road
I actually really like this idea. However, the underlying code that powers Angband's display is chronically unsuitable to do the kind of thing that you're talking about here, so when I've rewritten substantial portions of the display logic sometime in the next few years, I'll probably try and implement this. Until then, it's pretty much impossible.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old April 21, 2011, 14:39   #10
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,002
fizzix is on a distinguished road
This isn't quite what OP was suggesting, but we *could* implement an improved blinking display.
Let's say monster (or player) blinks from 1 to 2 in the diagram below.
Code:
############
#..........#
#...1......#
#..........#
#.....@....#
#..........#
#..........#
#..........#
#....2.....#
#..........#
############


Then you would see the monster disappear from 1, appear at 2, disappear at 2, reappear at 1, disappear at 1, reappear at 2....some number of times. The speed of which is dependent on the user set delay times for animations.

If 2 is out of LoS then the player only sees the monster blink out at 1.

If you do the same with the Player, you can't move the screen until after the blink I guess. Sometimes it is hard to find where @ went after a blink or teleport. So maybe recenter after the first blink if that option is set? and then no more recentering.

Either way, this is more a 'for fun' thing than anything else.
fizzix is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Radical AC idea ekolis Development 3 January 15, 2011 17:22
An idea for some later version... Therem Harth Development 11 January 5, 2011 19:19
Paladin idea for V Antoine Vanilla 11 April 7, 2010 17:53
Variant Idea Narvius Variants 5 February 27, 2008 20:24
Tavern idea paul1 Vanilla 5 October 8, 2007 17:15


All times are GMT +1. The time now is 10:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.