The formula tag has no wiki summary.
24
votes
2answers
3k 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 ...
12
votes
2answers
595 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 ...
10
votes
4answers
404 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 ...
6
votes
7answers
470 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
330 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 ...
4
votes
3answers
242 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 ...
1
vote
2answers
341 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.
...
1
vote
2answers
267 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 ...
0
votes
2answers
327 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;
...
-2
votes
1answer
166 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 ...