Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Skybreak v. 1.4
Skybreak v 1.2
The Fortress of Fear
Lost Coastlines
the virtual human
Classic Adventure
The Dwarf of Direwood Forest
Starship Quest
The Lost Labyrinth of Lazaitch
The Last Expedition
 
Latest Forum Posts
Preventing character property being executed?
ParserComp 2024 site is up
HAPPY BIRTDAY RoozdenScoot!
Copyright limitations?
Search Function Not Working In Windows 11
errors
Forum site error
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
 
Latest Reviews
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt
Lost Coastlines
The Lost Labyrinth of Lazaitch
October 31st (Post comp.)
The Euripides Enigma
AI
Hint System Library - Release 1

Make a donation

Cursor  Auto Decrement Variable

Issue Type: Status: Priority: Date Submitted: Votes:
Enhancement More Info Required Medium Mon 14th Jul 2014 3 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.31.4 Fri 29th Aug 2014 Log In
 
LazzahMon 14th Jul 2014 21:46
An "Auto Decrement" variable would be a specific variable, called something like "autodec1", which, when set to any number other than 0, automatically decrements by 1 every time the player makes an input.

This would be extremely useful for programming situations such as a bomb timer counting down, etc, and would save us having to program complicated events to achieve the same thing. As a variable is used, at any time during the countdown extra moves can be added - or subtracted - by a player action.

There should be at least four or five of these Auto Decrement variables so that two or more can be employed at the same time.

Note: The idea for this enhancement originates from the P.A.W. adventure writing system of the 1990's, which had various auto-decrement flags for different conditions.
 
Mon 14th Jul 2014 22:24
Bump, I'd find that very useful indeed!
 
CampbellThu 28th Aug 2014 21:24
That seems very specific to me. Someone else might want an auto-increment variable. Someone else might want a variable that doubles every turn, so I'd have thought it would be better to leave this to the game designer.

Have you thought about using the %Turns% function at all?
 
LazzahFri 29th Aug 2014 07:17
Same old arguement, someone else might want this, someone else might want that.

Can you not see, as a software developer, how useful an auto-decrement variable would be to a game programmer? When using events to achieve the same thing we are unable to add or subtract moves to the number of turns an event is set to. We would be able to do this if a variable was used instead.

Anyway, how would using the %Turns% function work, that INCREMENTS every player input?
 
CampbellFri 29th Aug 2014 09:42
As a software developer, I have to weigh up doing very specific requests against more general things. I have to make the software as flexible as possible, without bogging it down with very specific things that only a few people would use, or people would want, but working in a slightly differently way.

Is it a big thing to have an event that runs a task that decrements a variable?

And yes, %Turns% INCREMENTS every turn, but it's just a counter. So if you want a variable that starts at 100 and decreases to 0, all you need to do is look at %Turns% (which is, say, 234) and wait until it reaches 334.
 
LazzahFri 29th Aug 2014 12:15
Forgive me, but are you not already bogging ADRIFT down with all these incomprehensible expressions which few people use? No offence, but if you actually used ADRIFT to program games then I am sure you would start to see things from a game designer's point of view.

What you describe above regarding the %Turns% counter seems a very ham-fisted way of going about it. Correct me if I am wrong but you cannot yet reference the %Turns% counter in a restriction or an action.
 
CampbellFri 29th Aug 2014 12:18
By all means, see if anyone else really wants this feature. I just think that because it is very specific, and there are a couple of other ways of doing this same thing, it would be better to concentrate on other areas of the product.

You should be able to use %Turns% in any restriction or action expression.
 
LazzahFri 29th Aug 2014 12:47
"see if anyone else really wants this feature."

Eminor wants it!

"You should be able to use %Turns% in any restriction or action expression."

See, you are forcing us to use these dammed expressions which I simply DO NOT understand. Why oh why can you not make ADRIFT useable for ALL USERS by offering a simpler alternative? GRRRR!!!!
 
CampbellFri 29th Aug 2014 12:55
Calm down dear.

If you don't like the expressions, use an event, task and variable.
 
LazzahFri 29th Aug 2014 13:08
I AM CALM!!! :-)

But it would be SO very much easier with a variable. Why are you so opposed to creating specific variables? You already have SCORE and MAXSCORE? Before you say (again) "someone else might want this, someone else might want that", have you been deluged with requests for variables other than the TWO I have asked for?
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster