Tagged Questions

0answers
35 views

Sprite rotation algorithm [duplicate]

I'm making a game where you have to plot a function to hit certain objectives. I already made the plotting function and the animation to display a tiny missile that travels above the function. My ...
2answers
317 views

100 points between 0-1000 on an increasing scale

Basically, it's for roleplay, I need to generate 100 points along a scale. Level 1 is the starting amount, and is at point 0 on the scale. Level 100 is the highest amount planned at this point, and it ...
1answer
294 views

Any book about math in game design? [closed]

Game designers need math as one of their tools for designing game, unfortunately I can't find one book concentrate on this topic. I know there's math book about game programmer, but designer need ...
2answers
120 views

Logarithmic spacing of FFT subbands

I'm trying to do the examples within the GameDev.net Beat Detection article ( http://archive.gamedev.net/archive/reference/programming/features/beatdetection/index.html ) I have no issue with ...
1answer
134 views

Characteristics, what's the inverse of (x*(x+1))/2? [closed]

In my game you can spend points to upgrade characteristics. Each characteristic has a formula like: A) out = in : for one point spent, one pont gained (you spend 1 point on Force so your force goes ...
1answer
156 views

Averaging Camera Position

I'm making a camera which tracks the player. I am using a basic algorithm to calculate a position for the camera relative to the player. Then I am taking an average of this over the last x number of ...
1answer
82 views

How to accurately score moving averages (indepenent of sampling window)

I'm developing a puzzle game, and coming up with a little trouble how to accurately create the 'score' for a particular player's solution. In this game a player creates a machine which generates ...
10answers
20k views

How to develop RPG Damage Formulas?

I'm developing a classical 2d RPG (in a similar vein to final fantasy) and I was wondering if anyone had some advice on how to do damage formulas/links to resources/examples? I'll explain my current ...
4answers
1k views

Calculating the output of two armies fighting

I am programming a strategic game using Flash. The game works very similar to the famous game "Travian". My problem is as follows: I am trying to make the calculation of the troops lost as a result ...
3answers
846 views

Calculating Experience Points earned after a battle

I'm developing a simple text battle game and having some issues calculating how much XP should be earned after a battle, theres a few factors that i want to consider: 1) Players should of course earn ...
5answers
1k views

How can I make my score-based game addictive?

I need some ideas to make players interested in the game result. Otherwise, the player plays again to get high score. My game is a calculation game that measures the speed of calculations that the ...
1answer
202 views

Can someone provide a simple algorithm for calculating an outcome based on User characteristics?

In these online games, say you are a person who has characteristics like: level strength experience defense ... And now you walk into a room of 'others' that you want to e.g. recruit, how would ...