# Tag Info

61

Though there are infinitely many ways to choose them, it is common for leveling curves to follow a power rule such as the following one: f(level) == A * exp(B * level) The major advantage of this formula can be easily explained: for a given rule, there is a fixed value N such that each level costs N percent more than the previous one. Your initial ...

30

You should probably go for a data-driven design here. Make a generic Attack class which contains the parameters you want to work with - base damage, which stats affects the damage, a set of potential status effects... stuff like that: public enum AttackStat { Strength, Agility, Intellect // etc. } public class Attack { private int ...

30

I think I better understand what you are asking now. Noise is not random - it's random-looking but is completely based on a mathematical formula and is repeatable. All the information is encoded in the formula. This means that you can have a formula that potentially covers an infinite area, and just use the formula on the coordinates of the area you need. ...

30

The way one would deal with this would depend on the game and what would make sense for that world. For example a sci-fi game, they could "beam up" to some space storage facility for cryo-sleep. A fantasy game could have them cast a spell on them self to fade away. Or they could be sucked into a portal. Make them turn really small and a bird or robot comes ...

27

This tutorial I wrote years ago might give you something like what you want: If you do the island modification in the last step, it tends towards a single landmass that doesn't reach the edge of the map.

26

You want to start with an asymptotic function. That is, one that starts at a number a and approaches another number b, but never actually reaches it. It's probably going to be easiest if a = 0 and b = 1. You'll take this equation, input the number of stat points (Luck points) the character has, and get the actual stat value (Crit Chance) as the output. A ...

24

Easy answer The cost of running an MMO? In United States Dollars? ITS OVER 9000 (dollars)!!!!! Useful Answer Scope of question So, dividing your question up into chunks, you seem to want to know about the costs of: Development (making the game) Marketing (making people aware of the game) Infrastructure (base cost of server hardware and supporting ...

23

Steering Behaviours in combination with a navigation data structure. There are a number of ways to do this, but that's the basic concept. It might be easier to use a navigation mesh so that you can apply pathfinding within each convex section. If you're adamant about keeping a graph, you can use a Seek behaviour to each node in the path, rather than ...

22

Look at one of the classic-style Zelda games. You can create the illusion of hills by using cliff faces.

21

Playtest. No, really, just playtest your balance until you get it right, or rather mostly right (there's no such thing as perfect balance). Write automated tests and run them hundreds of times. Even very simple automated tests, like "level 2 player always hits with shortsword, goblin always hits with club, player should win" can really help, if you run ...

20

Well, the first bullet point is easy. You simply store and manipulate the character's position in world or pixel coordinates instead of tile-based coordinates. If you were having an issue with this, it might be due to a a confusing choice of representation for your world and tile space, so perhaps you should post more details about it / ask a separate, ...

19

For RPGs, you might look at: Elder Scrolls: Skyrim Elder Scrolls: Oblivion Construction Wiki Elder Scrolls: Oblivion, Modding Faq Mount and Blade Mod Repository M&B is more recent than Oblivion, but both are still played (and worth playing). For MMOs, Edward83's recommendation of Lua is good, however - for World of Warcraft, you would only be using ...

19

Which Stats? First, with regards to what stats to implement, you need to work backwards from mechanics to derived stats to basic stats. Determine what effects and mechanics you want during play, and determine how you want those mechanics to work with one another. The important notion when looking at relationships between mechanics is identifying the ...

18

You could also generalize the queue into a directed acyclic graph (DAG). You can read about these on Wikipedia. Basically, each node can have one or more parent nodes that it "depends on". Cycles aren't allowed, i.e. if A depends on B, B can't depend on A (directly or via any indirect chain of other nodes). Each node is in an "active" or "inactive" ...

17

One problem with making enemies strength relative to players is that it can make the player feel like they aren't making progress. "What's the point of getting stronger if all the monsters also get stronger at the same rate?" I tend to prefer that enemies have static strength instead of being relative to the player for the following reasons: Players will ...

16

Dialogue could be provided in any form/structure you wish it depends on how you parse the information that makes the difference. I will provide you with a basic XML syntax to get you started without understanding your games structure or language I afraid i cant provide an implementation. <?xml version="1.0" encoding="UTF-8"?> <npcs> ...

15

You cannot brand your game as D&D, period. You can brand your game as being D20 System compatible provided you follow a number of stipulations, not the least of which is that you can't reproduce or include rules for character advancement (XP, gaining levels, etc.) which basically means a player of your game would need a copy of the D&D Player's ...

15

For a roguelike I was working on, I implemented a pretty flexible data-driven system for generating drops. I've documented it here. It's essentially a little DSL for selecting a number of randomly chosen items. A simple drop looks like: 1-10 copper coin It just says to drop a random number of copper coins between 1 and 10. Things get more flexible when ...

15

It's common for the client to implement some sort of feedback to let the player know immediately that their chosen action has been registered, eg.: interface sound (eg. button click) in-world sound (eg. a character saying, "At once, commander") animation (eg. begin swinging a sword) These can take place while the information is travelling to the server ...

15

One quick way to get key-value pairs in Unity's inspector is to define a serializable entry class, and then use an array or List<> of them. eg... public class SpellAnimationMap : ScriptableObject { [System.Serializable] public class SpellAnimationEntry { public Spell spell; public AnimationClip animation; } public ...

15

You're on the right track. The gist of the client-server networking model is that a server is that it's a central point of knowledge that clients connect to. A game server typically contains an in-memory world representation, a list of connected players, a game loop (with e.g. player control handler, a physics engine & AI). You'll also need a ...

14

To create a large island you do not need to generate it all at once. I would build regions asynchronously as you visit them. Instead of using a mask to create the island as the article describes, one thing you can do is play with the perlin noise octave wavelengths to achieve the look you are going for. Usually, the first octave describes the general shape ...

13

You wouldn't bother. Immersion (wiki) : The state of consciousness where an immersant's awareness of physical self is diminished or lost by being surrounded in an engrossing total environment. This term is often used in the wrong way ; people think that good graphics makes a game more immersive, or that a real physics simulation will do the ...

13

Given the fact that you have this sickness divisor, you'll get in trouble if you try to stack and destack your buffs chronologically. Arithmetic will trick you, e.g. this is what could happen: player base strength: 5 strength boost applied (+15): 20 sickness applied (/2): 10 strength boost removed (-15): -5 (--> oops?!) To avoid this ...

13

Don't forget to round the numbers after you figured out your curve. It doesn't make much sense to tell the player he needs 119,378 experience points to reach the next level — because the person would always understand it as "roughly 120,000". Thus you will be better off doing the rounding yourself, and presenting "clean" results to your players. For ...

13

As Byte56 said in the comment, whatever you choose to do first, goes first. There is no single rule that everyone should follow when it comes to developing a project. Different teams have different capabilities and needs. You might not have the available resources to do module A, but while you're working on getting the resources, you can do module B and save ...

13

The best way to come to a conclusion in this regard is - like with most things in game development - to first think about how you want the game to play, and then make up the math which will result in the game playing like that. How long do you want the player to play on each level? In a story-focused single-player RPG you likely want to keep levelups as a ...

12

As someone who's written a great number of novels, I can tell you one closely-held secret of writing: It involves reusing elements (characters, plots) from other sources (games, movies). Most of my novels start out with a macro-level plot (eg. boy saves world by defeating sword-wielding maniac), from which I brush out details -- characters, elements, etc. ...

12

First of all, I don't think you need to be publishing and creating an installer every time. Just build the project and place the output files (i.e. the EXE and the Content folder plus any DLL dependencies you might be using) in the repository, and it should run on their computer too, as long as they have the XNA redist installed. As for your question, I ...

11

The first (unasked) question is, should you be designing the battle mechanics of an RPG before any code has been written, in the first place? Probably, yes -- but be aware that if you're making an RPG on your own or in a small team, it is not the mechanics or game engine that is the challenging part, but the massive loads of sheer content you have to create ...

Only top voted, non community-wiki answers of a minimum length are eligible