The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
39 views

physics: formula for gradually changing force

I have two physics objects (lets call them a and b) pushing against each other and I need to determine the cumulative energy pushing them apart across a given time. Then I will divide it by each ...
0
votes
1answer
59 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 ...
1
vote
0answers
89 views

Combat simulation/damage calculator [closed]

I wish to run some tests and make a combat simulation or a damage calculator. I guess my best bet is Microsoft Excel. However I'm not that skilled when it comes to that software. I can search ...
3
votes
5answers
611 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 ...
30
votes
5answers
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 ...
0
votes
0answers
36 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 ...
1
vote
1answer
328 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 ...
22
votes
4answers
879 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 ...
2
votes
2answers
513 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 ...
6
votes
4answers
483 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 ...
1
vote
2answers
199 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 ...
2
votes
1answer
392 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.) ...
-1
votes
1answer
3k 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 ...
1
vote
2answers
916 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 ...
5
votes
2answers
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. ...
12
votes
2answers
674 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 ...
4
votes
3answers
396 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 ...
0
votes
2answers
518 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; ...
39
votes
2answers
12k 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 ...
10
votes
4answers
436 views

Where will my character stop?

Many years ago I coded some AI for a budget pseudo-3d game. There was one calculation which I never really figured out the best way to do, and that was calculating where the enemy would end up if it ...
7
votes
8answers
825 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 ...
6
votes
2answers
582 views

Vector problem: which one is the left / centre / right one?

In aviation, runways are named according to their magnetic orientation seen from the pilot's perspective. For example: a strip of asphalt oriented along the east-west axis will be named 9 for the ...