Tag Info

Hot answers tagged

57

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

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 ...


28

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 ...


26

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. ...


22

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.


22

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 ...


22

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


21

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 ...


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 ...


17

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" ...


16

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 ...


16

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 ...


15

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 ...


15

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> ...


14

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 ...


14

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 ...


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

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 ...


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 ...


12

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 ...


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

Overall I would not say anything you listed should cause you to scrap the system and start over. This is something every programmer wants to do about 50-75% of the way through any project they are working on, but it leads to a never ending cycle of development and never finishing anything. So, to that end, some feed back on each section. This can be a ...


11

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 ...


10

In Stendhal our loot tables are lists. Each entry contains the name of the item, a min and max quantity and the probability. The internal structure is very similar to what we display on the creature's webpage. It is important for us that game designers who have a great knowledge of the world can define such things. That is, without understanding complex ...


10

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 ...


10

A good framework - or actually a toolset - is Unity3D. It's somewhat less flexible than "engines" that are focused only on rendering, but then it can save you enormous amounts of time by taking care of a lot of common tasks. You don't have to worry about render, physics, sound, resource importing, terrain engine (if you need one), it has passable GUI system. ...


10

Battles are entirely separate things from any of the objects you mentioned. Yes, they take place on a Tile (and, naturally, within the Map), and happen between NPCs and the Player, but none of these object is the Battle. I would suggest creating a new object, Battle, to maintain battle state. Hand it the participants and any terrain info it might need (e.g. ...



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