Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BrynP

Pages: [1]
1
Programming / Getting my Head Around Dark Data
« on: February 29, 2012, 02:42:52 am »
Figured I'd put my notes in here as I'm trying to understand it. Unfortunately the help files and examples aren't exactly clear on how it works.

The first thing for DD to do is save the 'database' because that's what it is.

'DFS' is the database and 'KFS' are the keys within the database used for pulling out data.

So to code the database into a saved file.:

Create the file:

DFS Create 1, "Save.dat", 0
The '0' at the end is to decide whether or not it's encrypted.

Then in this database you need to add each database field, so the types of variables:

DFS Add Field 1, "string 1 as num"
   DFS Add Field 1, "string 10 as name"
   DFS Add Field 1, "integer as level"
   DFS Add Field 1, "string 10 as skill"

Then you create the 'keys' for finding each instance of this data.
KFS Create 2, "CheckNum.kfs", 1, 0, 0  `0 - unique
   kfs create 3, "CheckName.kfs", 10, 1, 0   `1 - non unique
   kfs create 4, "CheckSkill.kfs", 10, 1, 0

Then you can create each instance of data in the data base.

number$ = "1"
   name$ = "Keats"
   level = 17
   skill$ = "Murder"

And record it:

record = DFS Add(1)
 
   DFS Put 1, "num", number$
   DFS Put 1, "name", name$
   DFS Put 1, "level", str$(level)
   DFS Put 1, "skill", skill$
 
   DFS Save 1, record
 
   KFS Add 2, number$, record
   kfs add 3, name$, record
   KFS Add 4, skill$, record


Then close the database and all keys:

DFS Close 1
   KFS Close 2
   KFS Close 3
   KFS Close 4



Then you can load this data if you wish:

Open the database and all of the keys:

kfs open 2, "CheckNum.kfs"
   kfs open 3, "CheckName.kfs"
   KFS Open 4, "CheckSkill.kfs"


Then very simply, load the first instance of data

record = 1
   dfs load 1,record
   number$ = dfs get$(1,"num")
   name$ = dfs get$(1,"name")
   level = dfs get(1, "level")
   skill$ = dfs get$(1, "skill")


You could use a for/next statement to get ALL instances, like:
for x = 1 to KFS Count(2)
record = KFS Next(2)
[insert 'get' code]
next x

Don't forget to close all of the indexes (KFS/DFS)

And you can then make use of those variables. :)






2
Programming / MOVED: RPG Battle System
« on: February 21, 2012, 11:40:39 pm »

3
Abeyance / Details on the Project (Demo/Screenshots included)
« on: February 18, 2012, 11:44:25 am »
If you don't want to follow the blog, I will post progress here too:


Overview:

Abeyance is a game I’m working on in my spare time using Dark Basic Professional. It is inspired by some of the old RPG’s I’ve played over the years. This game is to work in a similar style to games that were released on the original Playstation where a fixed angle camera is used, except instead of using 3D rendered backgrounds the game is full 3D, but think in style of Final Fantasy, Resident Evil, Parasite Eve, Star Ocean and many other games used.

You follow ‘Keats’ a young man who works in a factory and everyday is exactly the same, working as a cog inside of a machine. So much as a sign of individual thought could be seen as a punishable offence. Freedom of expression is dead. Everybody is the same. Bubbling away in his psyche is the need to break free from these manacles forced upon him; he must think freely once again, learn what it means to be human.

Twisting and turning in his sleep he finds himself having these strange dreams, a world very much like his own where he has to defeat the demons inside of his head and to take rule of his own mind. The more he submits himself to this dream-world the more insane he becomes and the line between fantasy and reality begins to fade.

Fight your way through an army of shades known as the ‘Notts’, explore Keats’ mind and unlock all that he has repressed. Defeat much larger demons who are key to learning his secrets. Help Keats come back to reality.

After completing the original demo, I decided to do an overhaul and a graphical update, because I suck at sprites and I think the original demo wasn't that pleasing graphically. Plus, some parts of the engine needs major changes and a few improvements here and there. But to give you an idea of the leap:




The Design:

The game is made up of two parts. The turn based battle system, which I'll explain below, and puzzles. So in the first map you are exploring a warehouse and it's full of various fiends and at the end is a boss fight. For every fiend you kill they will drop a clue and you need each clue to be able to beat the boss. In the first map you have to be able to translate what the boss says, as there's an important message that'll help you decide how to win the fight.

The complicated bit is actually the battle system, but it'll make sense. Like any RPG you've got stats and here is how the stats are laid out.
Stats:
HP - Health
Concentration - Mana
Strength - Physical attack power
Vitality - Physical defence
Mind - Neuro ability power
Delusion - Psycho ability power
Dexterity - Accuracy/Ranged attack power
Agility - Evasion
Threshold - Resistance to different attack types.

Paths:
Keats can take 1 of 6 different 'paths'. Paths are basically the game's class system.

All paths have access to melee attacks, ranged attacks, Neuro Abilities and Psycho abilities. But what abilities Keats has may vary and also so will Keats' effectiveness in any one school.
For classical RPG players you can think of the path system like this:

Whisperer = Magic User
Psychopath = Magic Sword user
Manic = Warrior
Trigger Finger = Ranger
Shadower = Rogue
Tormentor = Paladin
But of course, they work in their own ways. Whilst a Trigger Finger may be like a ranger in that it takes advantage of ranged attacks, it also has the ability to fire Psycho abilities from his gun, he can also steal useful stats from the enemy. A Tormentor is great at taking damage and a Paladin can usually heal themselves, however, holy knights really don't have a place in this game, the only benefit a Tormentor gets to healing is that the 'Leech' ability drains health based on Keats' Vitality, therefore a defensive Tormentor can drain more health. He's also able to weaken enemies. The comparisons are just there to visualise the roles a bit more.

Thresholds
Curse (Mental boost)
Blood (Delusion boost)
Frantic (Strength boost)
Nerve (Dexterity boost)
Fear (Agility boost)
Empowerment (Vitality boost)
Lucid (All stat boost) - can only be activated through item use.

Thresholds are a little like elements, except a Threshold can also boost stats and during a battle the player can change their Threshold, but it does use 1 full ATB bar. Using the right Threshold can make all the difference, especially when facing a boss. Paths will have their favourite Thresholds, but the idea is for them to find situations where they're not relying on one Threshold. You might be a 'Manic' for example and take advantage from Frantic's Strength boost, but if you're looking to leech you might want to use a Blood Threshold instead.

Here is a shot of the battle system BEFORE the graphical update (the graphics in the battle system need work, so I'm sticking to this image for now)

The above shows Keats using a standard attack on an enemy. The enemy is actually weak to 'Curse' based attacks and in the original demo Keats has already learned to use 'Hex', which is curse based. All Curse attacks are Neuro abilities, but by using a Curse Threshold he gets a bonus to Mind AND his Curse attacks. If he were a Whisperer, then even more of a bonus.

Basically, I want to make Thresholds an important part of the battle system. Whilst this sounds like a lot of information, the game won't throw you in the deep end (test out the demo and you'll see).

Battle System: Done
Inventory System: Done
Save System: Partially Done
First Map: Done
Replaced Graphics: 50%
NaGaCreMo 2012 Demo: Done. Download Demo v0.1 here. It's the first map in full, but using the old method of graphics (I've decided to go full 3D).

Overhaul Status:

Add Transition Points (between scenes): Done
Add Characters: Partially Done
->Player Added
Add PickUps Done
Fix Inventory System Done
Add Save Points/Loading Options: Partially Done
-> Saving Done
Add Main Menu: Partially Done
-> New Game/Class Select Done
Add Character Interaction:
Add Menu: Partially done
-> Displays Stats and Inventory
Add Restructured Battle System


Demo v0.2? Expect a release at the end of February, assuming nothing gets in the way.

You're welcome to leave any comments or questions.


Tools Used:
Programming: Dark Basic Professional
2D Art: GIMP
3D Models: Silo 2 Demo & Hexagon 2
UV Mapping: Lithunwrap
Animation: Milkshape3D
3D Scenes & Light Maps: Cartography Shop
Music: Music4YourVids
SFX: Soundmatter

Plugins:
Collision: Sparky's Collision DLL
Direct 3D Functions: Cloggy's D3DFunc

4
General Discussion / Re: I ARE A TEST
« on: February 18, 2012, 02:33:56 am »
Aristotle vs SMASHY SPIKE PLATE

5
Abeyance / Nostalgia
« on: February 17, 2012, 06:17:15 pm »
This is a thread for images from previous attempts at this project...also includes alternative ideas to the project and demonstrates my shame. :P

FFVII Style:

Battle from 2009 (placeholder media)

Map from 2009 (placeholder media)

Original Keats (render)

Under the name of 'Lucidity'
Reaper

Test Shot

Cell


6
Ronin / Nostalgia
« on: February 17, 2012, 05:59:27 pm »
Whilst the original take on this project was unrealistic, especially for my skills at the time, I did love the planning stages of this and I had some good ideas back in the day.

For Nostalgia, here's some pieces from the original project, minus my noobishness.  :P
Menus


Battle:

Shaders:

Characters:


http://i5.photobucket.com/albums/y173/seppuku05/tsuki.jpg

7
Abeyance / Roadmap
« on: February 15, 2012, 04:46:53 pm »
The current roadmap for the updates for Abeyance is as follows:

Re-structured Version:
Add Transition Points (between scene) [Done]
Add Characters [Done]
Add PickUps [Done]
Fix Inventory System [Done]
Add Save Points
Add Character Interaction
Add Menu
Add Restructured Battle System

Maps:
[Level]Warehouse: Boss Jor
[Safe Zone/Plot Development] Estate/Factory
[Dream/Safe Zone] Horizon
[Level]Horizon: Boss Na'ish
[Accessible Dream Zone]Horizon (Use Keats' bed to activate a Dream Zone to recover items
[Safe Zone/Plot Development]Estate: The Girl
[Level]Distant Memories: Boss Memento
[Accessible Dream Zone]Memories
[Safe Zone/Plot Development]Horizon: The Girl Part 2
...

8
Rules / Disclaimer: Original Content
« on: February 15, 2012, 03:25:44 pm »
When posting original content, like media, code or pieces of writing one of the concerns people may have is over copyright. If it is a concern, then it is best reading up on how you can protect your work before posting. Do not think of what you post on this website as proof that it's originally your content, my recommendation would be to link people to somewhere that is a little more secure.

I used to use a website that'd convert your writing into a PDF and place a signature on it to date it for you so that you are able to prove the date you created it, sadly the website no longer exists and I don't know of any alternatives or any solutions for other forms of media. If any members have any recommendations they're welcome to post them.

Whatever you post is your responsibility.

9
Ideas / What to Post Here
« on: February 15, 2012, 03:20:08 pm »
If you've got ideas you wish to discuss then post here. Try to be as detailed as possible to get the best out of any responses you may get. You don't need screenshots, but if you need images to make concepts clearer post them and if you start work on something but don't feel it's suitable for a Work in Progress thread then go ahead and post screenshots if you wish. No team requests.

10
Working Progress / What to Post Here
« on: February 15, 2012, 03:19:41 pm »
This is for game/apps you're working on. Do not post team requests. In the title please post the engine you are using (not a requirement, but it may help with feedback), for example: [DBP] = Dark Basic Pro, [Unity] = Unity3D, [IRR] = Irrlicht, [UDK] Unreal Development Kit. If you're worried the acronym doesn't make sense, include the name in the first post.

You will need:

Information about your project
Screenshots
Can demonstrate you've made progress, if you've not got a lot to show but have ideas and concepts then the ideas section is for you.

It will help if you have:

Videos
A roadmap
Demos

11
Complete Projects / What to Post Here
« on: February 15, 2012, 03:19:14 pm »
This is the complete projects section. By 'project' I am referring to game/app creation. In the title please post the engine you are using (not a requirement, but it may help with feedback), for example: [DBP] = Dark Basic Pro, [Unity] = Unity3D, [IRR] = Irrlicht, [UDK] Unreal Development Kit. If you're worried the acronym doesn't make sense, include the name in the first post.

You will need to provide:

Information about the project
Screenshots

If possible:

Videos
Demos
The Completed Project


Also. Do not post team requests.

12
Rules / Main Rules
« on: February 15, 2012, 03:18:08 pm »
1. No Illegal Content or anything Pornographic

So everything posted MUST be legal. Whilst pornography is not allowed, adult content is - if a particular piece of art is explicit or there's something explicit in anything you wish to share (maybe erotic fiction), then you're welcome to share it, just put a warning in the thread title.

2. Be Respectful.

Nobody is a 'noob' and nobody is an 'idiot'. If you disagree with something state it and state why in a calm manner. No flaming, no insults, nothing to put the other person down. This also means no prejudice or discrimination, so no racism, sexism, homophobia, transphobia and many other forms of discrimination.

3. No Lawyering

The rules were not written by a lawyer. The style of moderation here is based on assessing a situation, the rules are guidelines for how to behave on this forum. If you're doing something wrong you will be told before any action is taken. If your behaviour becomes an issue then actions will be taken. Lawyering is quoting back the rules to try and argue how you've not broken them. If you have any grievances you're welcome to PM the admin.

4. Moderators/Admin Decide what constitutes as rule breaking

Anybody who's a moderator will only be a moderator if the admin trusts their judgement and trusts that they will moderate fairly. If you feel a moderator has acted unfairly contact the admin (me) and I will make a decision on whether to act further. DO NOT make a post about how you feel a moderator's action is unjust, the forums are not there to serve that purpose. Complaints can be dealt with via PM. That said, there is a feedback section, so if you think something can be improved then you can discuss it.

5. No Spam

This is not a place to advertise. You're welcome to put website links in your signatures, but no post should be out to advertise. If you need feedback on any of your creations or are working on a project, you can share them.

6. Religious/Political/Evolution

Religion and Politics are 2 controversial topics and with it so is discussion surrounding evolution. You are welcome to discuss these topics, but be aware there's a higher likelihood that these threads may be locked just so they don't get out of hand. If you DO find yourself entering a religious or political debate, we'd prefer it if it remained civil (I don't believe in stopping people from discussing topics they want to discuss), so I have created a guideline for 'discussion & debate' and have written so it's fair for everybody. Click here to read.


7. Copyright

If you're going to share a creation it must be yours, you are not allowed to pass off somebody else's work as your own, in fact people are really good at figuring out where somebody was the original creator or not, so it's not worth the risk. If you are using somebody else's media then you must have permission to use it.

13
Rules / Discussion and Debate
« on: February 15, 2012, 03:16:34 pm »
a. No strawmen. A strawman argument will likely cause irritation and could lead to something inflammatory. If you do not understand something ask, don't try to make assumptions about the other person.

b. No goal post shifting. If you shift your goal posts mid-argument then it is an unfair discourse. If your mind is changed about certain points, maybe you've realised a previous point wasn't quite as accurate then state this so the person you're talking to doesn't draw on previous points you've made.

c. Nobody is like Hitler, not unless they start arguing from the standpoint of Nazism. Avoid using the "that's like Nazism" fallacy. If you think something is detestable, say why, but don't try to insult the person. If it's difficult to do so, just leave the discussion.

d. Remember. Be respectful. You can share your opinions, but remember people have their own, even if they contradict what you might view as undeniable fact.

e. No evasiveness. Evading somebody's point in a discussion will likely cause tension and of course would waste their time. Now, if you're overwhelmed state so, but try to address people's points. If you do not have an answer be aware that doesn't mean you've lost the discussion. Just say you don't have an answer.

f. Be Honest. Some people are good at seeing when somebody's dishonest, so save the fights and be straight with people. If your knowledge is limited, it's not a crime, heck there might be people willing to help you and expand your knowledge on a particularly topic. Again, if the topic is overwhelming, you are welcome to back down, there's no point trying to argue a point when you're not in a position to back it up.

g. Make an objective statement, prepare to back it up. "9 out of 10 Britons don't know the colour of Mars", be sure to know where you got that piece of information. Be aware not every source is reliable and you may find yourself discussing the validity of your source. If you don't have a source, then understand that people will remain sceptical. The line, "I am an honest person, I wouldn't lie to you" won't cut it, because you could have 2 honest people who would never lie saying opposite things, religion and politics is like that.

h. No Proselytising. This is not a place to preach or even try to force your views onto anybody else. This can apply to your political views too, "Join the Apathy Party!" Preaching is not exclusive to religion.

i. Moderation will not make decisions based on somebody's beliefs. Although I am an atheist, no decisions will be made because I agree with what a certain atheist says, if that atheist is throwing strawmen at you or is being disrespectful and I witness it, I will take action. Moderation is neutral.

j. Discussion and Debate topics are not exempt from other forum rules

Pages: [1]