Questions tagged [frame-rate]

Frame rate (also known as frame frequency) is the frequency (rate) at which an imaging device produces unique consecutive images called frames. The term applies equally well to computer graphics, video cameras, film cameras, and motion capture systems. Frame rate is most often expressed in frames per second (FPS)

Frame rate (also known as frame frequency) is the frequency (rate) at which an imaging device produces unique consecutive images called frames. The term applies equally well to computer graphics, video cameras, film cameras, and motion capture systems. Frame rate is most often expressed in frames per second (FPS)

More information at http://en.wikipedia.org/wiki/Frame_rate

1702 questions
0
votes
0 answers

How can I improve this requestAnimationFrame drawing? (Low FPS, around 20)

The problem lies whenever the program does the animation at a very fast rate, it becomes extremely lagging. I have been trying all I can to improve this code below... But I can not think of anything useful... I know some of you might say: "Draw…
0
votes
1 answer

Sprite Speed on different Screen Sizes

I am trying to understand the concept of speed in a game which supports different screen sizes (in android). Let's say I have a Sprite that should take 10 seconds from the right end in landscape mode to the left end. The Frame Rate is not steady so…
Davlog
  • 2,162
  • 8
  • 36
  • 60
0
votes
1 answer

How do I measure FPS in my WebGL page using FPSMeter?

I am trying to measure the FPS that I am getting from my WebGL webpage, using FPSMeter. I would like to measure the FPS from within canvas element, in which I am rendering a graphic. The body and canvas are declared as follows:
petehallw
  • 1,014
  • 6
  • 21
  • 49
0
votes
0 answers

Strange framerate drop while moving a node with JavaFX 8

I came across a strange behaviour by switching from JDK 7 to JDK 8 (so from JavaFx 2 to 8). I'm quite new to JavaFX and I'm trying to make a simple game to try it out. I use an AnimationTimer to do the game loop where I move a rectangle by setting…
Joey
  • 1
0
votes
1 answer

calculating the encoded framerate in H264

I have a video with an unknown frame rate. I need to calculate the frame rate it was encoded for. I am trying to calculate it using the data in SPS but I cannot decode it. The bitstream for the NAL is : 67 64 00 1e ac d9 40 a0 2f f9 61 00 00 03 00…
user2662165
  • 189
  • 1
  • 1
  • 10
0
votes
0 answers

Slow Framerate because of adding image as spritenode

When the player dies, a little image is showing up saying: aww you're dead. But the code I am using is slowing down my fps as hell, what am I doing wrong? the game goes on at 60 fps, when the image shows up the fps goes down to 30.. this is the…
DNC
  • 443
  • 1
  • 6
  • 20
0
votes
1 answer

Form limits to 60 FPS

I decided to use OpenGL4Net library for my game engine. The point is I've got only 60 frames per second. I want 120 at least. That's what I use for rendering: protected override void WndProc(ref Message m) { switch (m.Msg) { …
Szymski
  • 106
  • 1
  • 5
0
votes
0 answers

How come this algorithm and class in my game is slowing down the frame rate so much?

I wrote an event system for a game engine I'm working on, which adds en event to a tile in a map which when the player intersects it, it does something. Whatever that something is. In this test case, it loads a new map. The problem is that the…
0
votes
1 answer

OpenGL Inconsistent Framerate

I have been creating/porting a game that I was making in C# over to C++ and when I started to look at my frames per second I noticed something odd going on. I was originally programming my game in C#, and the frame rate was always pretty consistent.…
Krythic
  • 4,184
  • 5
  • 26
  • 67
0
votes
1 answer

Is it safe to use 72 FPS for Flash ActionScript animations?

I'm working on some generative art animations using Flash ActionScript which appear much smoother at a frame rate of 72 FPS compared to 30 FPS or lower rates. On a Intel Pentium E2200 Dual CPU @ 2.20 Ghz, Flash Player hardly uses more than 9% during…
user11617
0
votes
1 answer

how to apply delta framerate to a dynamic y motion

i have recently added delta into my game. it works fine for wasd movement but not the gravity. I have 2 variables for gravity. yMotion (the dynamic motion to change the y axis by every tick) and gravity (the multiplier of the falling). Each tick the…
gopro_2027
  • 103
  • 1
  • 9
0
votes
1 answer

iOS 8 How to Prevent Spritekit Frame Rate Drop

In a game I have created I created a game mode where the player has 30 seconds to hit as many targets as they can. I added a 30 second countdown timer in the -(void)update:(CFTimeInterval)currentTime method. When the countdown is initiated, the…
master45
  • 50
  • 1
  • 9
0
votes
1 answer

LWJGL Runs slower at higher FPS? (Delta)

I have recently started on developing my own game engines for fun. I implemented a method to load Blender .OBJ models from files, and I am successfully rendering them. However, when doing a stress-test I ran into an unusual predicament with my…
TheNewGuy
  • 411
  • 1
  • 7
  • 13
0
votes
1 answer

How do prevent my FPS dropping when loading spritesheet in java?

Hey guys i have been java game programming fr a while and i hava had a problem lately. When i load a relatively small sprite sheet in java my FPS goes from 500 to 250 and makes my game pretty laggy. If anyone knew a way to make a java game less…
Brendanp
  • 17
  • 5
0
votes
1 answer

Starling move around huge Image

I'm using Starling framework and Flash Builder. I have big map image(around 5500x4500px) where player is flying around. It is non repeative, not tile based but vector based. I'm moving camera around following player on each enterFrame event, camera…