Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411500 Posts in 69373 Topics- by 58429 Members - Latest Member: Alternalo

April 25, 2024, 01:05:03 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsUnnamed IF
Pages: [1]
Print
Author Topic: Unnamed IF  (Read 1299 times)
Shade Jackrabbit
Level 10
*****


TIME RANGER


View Profile WWW
« on: March 08, 2010, 10:48:50 PM »

Tonight I finished the backbone of an IF I'm working on, called [CURRENTLY, NOTHING]. For those of you who don't know what an IF (Interactive Fiction) is, wikipedia has a good summary. You can go look it up.

Anyways the point of all this is that I thought I should make a small devlog of sorts, going over what I've developed so far and talking about how things work.

Also hey guys, I'm actually doing something for once.



From the player perspective:

ATTRIBUTES

Unlike a normal adventure game which sets which objects that can be used together, this game runs by matching attributes instead. So instead of saying "if used item is object" you say "if used item posesses attributes of etc".

The entire point of this is to try and make a more natural and logical puzzle-solving process. If you've got a stick, a broom, a crowbar, whatever, as long as it has an attribute like "long", it can solve the puzzle. One might argue this makes things too easy. No, this makes things fair.

INTEGRITY

A lot of adventure games have a set "death point" of an object. After using a stick in the proper location, it "breaks". It's an excuse to declutter one's inventory. But in this game, an object breaks once its integrity hits or drops below zero. Actions all use a certain amount of integrity. For example, jimmying open a door may require an integrity of 20. A stick may have an integrity of 10. If you try to open the door, the stick will break, but the door will not open since the object didn't have enough integrity. Yet if you try something like a crowbar (integrity of 100s), the door will break open, and the crowbar will be only slightly damaged.

I won't list the chart here, as it makes things too easy. The game never gives exacts, just tells you how strong something feels. This makes things more challenging, as if you use the wrong item somewhere you may not be able to do something later.

From the developer's perspective:

EXIT DIRECTIONS

5 3 0
  8
6   1
  9
7 4 2


So each room has an array of chars. There are 9 spots in total, and each either has an x or an o. The numbers are weird and out of order because java uses columns then rows, instead of rows then columns.

NW N  NE
   UP
W     E
   DN
SW S  SE


x = No exit
o = Open exit

This can be expanded further when things such as doors become necessary. Then we can include locks with symbols like k.

MAP
The map class basically is what contains all the rooms. So you have rooms inside maps. I guess you could say that they're like a bigger room. So you would have a house map, and a street map, and a cave map, etc.

Map is arranged as follows:

0 - - -> 10
| + + +
| + + +
| + + +
v
10


Down, then right.

PROGRAMMING LANGUAGE
I'm writing everything in Java, and so far only have a console interface. So it will be fairly portable. Huzzah!



I'll post more updates as more progress is made. It will probably be rather slow, but I think this will turn out to be very interesting indeed. So far I've got all the stuff working, just no interface. So that's the next step, I'm thinking.

Next log: The scenario? The interface? A cry for help as to the name of this thing? I really don't know! Tune in next issue, brave adventurers!
Logged

["Thread Reader" - Read a thread.]
george
Level 7
**



View Profile
« Reply #1 on: March 09, 2010, 06:57:29 AM »

I like the attributes + integrity. Are you planning attribute transformation? So if you break the stick, it turns into a shorter stick?
Logged
Shade Jackrabbit
Level 10
*****


TIME RANGER


View Profile WWW
« Reply #2 on: March 09, 2010, 01:25:13 PM »

Yes, objects will change their attributes or possibly change what they are after their integrity hits zero. Basically I don't ever want to remove something from the player's hands. So a stick could eventually just become woodchips, and it is up to the player to decide what they should keep or throw out. Something more complex, like a can opener, may simply gain the "broken" attribute, which means it can't be used for whatever it is meant to be (opening cans, in this case). Since it would have the "metal" attribute, though, you could still melt it down if that was required.

Items will be rather abundant (based on the setting) so there should be plenty of solutions anyways.
Logged

["Thread Reader" - Read a thread.]
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic