# Tagged Questions

The tag has no usage guidance.

146 views

### What formula is commonly used in rpg based games to calculate gained currency?

Assuming I have an RPG game with monsters, a game you can fight any amount of monsters at any time - What are my options for a gained currency from a battle formula? I've been trying to use Google for ...
100 views

### How to determine a “Hit\miss” system?

I always try to fix my problems on my own, but i've reached a point where my mind is stuck so i trust myself in your hands, if you're willing to help and have the time. I'm starting to make a RPG ...
90 views

### How to implement map scrolling inertia formulae

I'm looking for a mathematical formulae to calculate map scrolling inertia. Basically I have an HTML5 Canvas displaying part of a map and I capture the mousedown / mousemove / mouseup to calculate my ...
4k views

### Procedural Generation of Galaxy

I'd like to generate galaxy using seed , with shape changing a bit and positioning X number of stars. I'd like to make it realistic (as possible). But i have absolutely no idea how i should do that. ...
1k views

### RPG Chance to Dodge formula

A friend and I are trying to develop a “chance to dodge” formula that will scale from level 1-1000. I would like to see if one formula can be utilized, using a difference ratio between Character A’s ...
114 views

### To-hit formula for turn based isometric battle RPG

I am an amateur using Unity 5 to create the aforementioned type of game. I am trying to write a function to determine whether a close quarters combat(melee) attack lands or not but am extremely ...
639 views

### Want to play 1 of 3 tracks depending on current level

I want to play a gameplay music track depending on what the current level is. E.g. 1 - Play track 1 2 - Play track 1 3 - Play track 2 4 - Play track 2 5 - Play track 3 repeat... 6 - Play track ...
5k views

### How can I calculate current level from total XP, when each level requires proportionally more XP?

In my game, XP needed to reach the next level is Current Level × Level Threshold. Given that, how can I get my current level from the total XP ever earned? For example: Level Threshold = 50 ...
43 views

### Evaluating ratings to balance weapons

I am developing a text-based battle arena RPG on the web. I'm at the part of development where I need to come up with weapons, and I want them to be balanced, yet I have no idea how to make a formula ...
599 views

### How can I calculate “All squares within R” in a natural looking manner?

I'm working with a square grid, and I have a couple of effects that target all squares within R; in other words, a circular (or spherical) effect. But, circles being, well, circular, and squares ...
491 views

### RPG - Accuracy Formula (HIT or MISS only)

I am creating the combat system of a simple RPG. The only two factors in this system are damage and accuracy. Accuracy in this game simply means either the attacker HITS or MISSES. There is no ...
591 views

### Balancing Attack to Defense in a text based RPG [duplicate]

I understand that there is no correct or incorrect way of doing this, and its all down to a matter of trial and error in terms of perfecting the system. What I am after is some advice or even get ...
872 views

### Random looking item placement that's deterministic?

I'm working on a sidescrolling game and I want to generate a forest for the background. I want the background to be the same for every one to make sure the quality is the same. I don't have access ...
903 views

### What kind of gaming experiences does hiding game play stats and formulas cultivate?

There are varying degrees of providing players with information on their characters abilities - including but not limited to showing players their character's stats and how they tie into formulas such ...
13k views

### How to create adjustable formula for RPG level up requirements?

I'm trying to create a formula that can be modified simply by changing two values: number_of_levels, and last_level_experience. This is to enable people modding the game to change the levelling ...
202 views

### How to figure out a users earnt exp based upon calculating the difference by user and player by x?

How would I figure out a users earnt EXP based upon calculating the difference by user and player by x using this format? If the user is 60 levels less than me, I would get 0 exp (as that's just ...
411 views

### How can I control how quickly a character levels up in an RPG? [duplicate]

I am working on an RPG and I've mostly followed formulas from the Dragon Quest series and they've all been fairly simple. (For example, dmg = (Attack/2 - Defense/4), where Attack is Weapon Power+STR.) ...
4k views

### RPG Logarithmic leveling formula?

I'm working on a RPG game, however, I am not the amazing person at math that I wish I was, although someone suggested a logarithmic equation would work well. My current idea is for this: You start ...
681 views

### Formula for three competing heroes, each has one they can beat and one they're beaten by

I am trying to design a game for a project I have, The main idea is: 3 Types of heroes 3 Stats per hero There are no levels involved so the differences must be located on stats. Fight logic - The ...
427 views

### How to get distance from point to line with distinction between side of line?

I'm making a 2d racing game. I'm taking the nice standard approach of having a set of points defining the center of the track and detecting whether the car is off the track by detecting its distance ...
549 views

### Calculating an experience formula

I'm having trouble working out a formula using this experience curve to get the total exp after each level. I bet its easy and im just over thinking it. maxlvl = 10; increment = 28; baseexp = 100; ...