Recently, I made a game similar to the style of Plants vs. Zombies. After the game was completed, I found that the FPS was not high and the endless mode was quite a card. So I studied what caused it. At present, the optimized FPS is improved by 35%, and the effect is still satisfactory. Record your experience for sharing.
Performance Positioning]
1. reproducible DEMO
First, I wrote a demo that can reproduc
. Of course, you can also update the driver by driving the Genie or driving the life. Then, check whether the sound card driver on the computer is normal. Right-click the sound card and choose to close it before logging on to the game. A game fault may be solved.5. Do not enable other input methods, such as Sogou and qq pinyin, on the computer by default. Just save the English input status.6. The computer may be poisoned, resulting in a large amount of CPU occupation in the background in the run
Install FPS open-source game Warsow 16.04 in Ubuntu 2.10
The FPS open-source game Warsow 2.10 was released early this year and can now be installed using the getdeb package. It is a completely free, fast-paced first-person shooting game for Windows, Linux, and Mac OS X.
The history of Poland is the history of suffering: osvisin, catin, Poznan, and kachensky. Warsaw, Warsaw, the capital of Poland, and the sa
Having done this for a long time on iOS, this optimized FPS work has been done.We finally have time to summarize today.This article will be divided into the first, middle and senior total of three articlesThere will be some demo for referencePersonal induction of the optimization point may be other developers will have to send, here is only my personal favorite optimization methodNot necessarily the best way, but also as much as possible to produce ef
FPS is an important indicator of game performance, Unity is a cross-platform engine tool, so there is no uniform qualification of his frame rate.In the PC platform, generally the higher the better, the higher the FPS, the more smooth the game.In the mobile phone platform, the general flow index of 60 frames, can run to 60 frames, is very smooth experience, and then a high difference is very small, and the n
Article Title: Enable Memory Sharing in SlackwareLinux to increase FPS. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Since the independent video card memory is only 64 MB, to improve the display performance under X, only a portion of the memory is shared to the video card. The method is as follows:
1. Add the
Cocos2d-x3.2 game core loop in Application, how to deal with FPS instability
The weather is overcast today and it is about to rain. Chen has to write something early,
One autumn rain, one cold, ten autumn rain, and more cotton from now on
Int Application: run ()
{
If (! ApplicationDidFinishLaunching ())
{
Return 1;
}
Long lastTime = 0L;
Long curTime = 0L;
Auto director = Director: getInstance ();
Auto glview = director-> getOpenGLView ();
// Ret
6th Chapter AnimationBefore this chapter, all the pictures are still, and this chapter will show you how to use Three.js to render the animated picture. In addition, an additional library written by the Three.js author is introduced to observe the frames per second (FPS).CSS3 animation So strong, Requestanimationframe still have yarn to use? Window.requestanimationframe MDNSeries Blog-three.js Getting Started Guide (Zhang Wenli)-Grid SetInterval metho
FPSIt is the abbreviation of Frame per second, that is, the number of frames per second. This term is widely used in computer graphics, video collection, and games.
Here we will mainly introduce the Frame Rate in video games. The frame rate of the First person shooter game is only about 6 FPS, but it is still very successful. However, with the enhancement of the performance of hardware devices, especially video cards, the current frame rate of the gam
Games using Unity3d and C # development, is in the "Unity3d Mobile game Development" book 3rd chapter game based on the revision, as follows:The UI is using the new Ugui.Utilizes third-party plugins: Easy Touch and dotween, machine gun laser light and muzzle effects taken from the demo "Angrybots" included with Unity3d.Added and modified game logic to make it more playable.The injury effect is also taken from "Angrybots", reference from: http://blog.csdn.net/stalendp/article/details/40859441, bu
crosshairs.png into the source image property of the crosshairs node's image component, adjust the position of the crosshairs to (0,0,0), the center of the screen, Set Native Size9. Configure a first-person camera, the eyes of human beings. is to drag the main camera to the person under person as a child node renamed eye, so you can follow the protagonist to move. Then set the camera's position to (0,1.5,0), just in the headFire shot.10. Create a script open_fire, mounted under the person node,
Recently, a real-time display is required, so I want to display FPS on the screen. FPS is the abbreviation of frame per second. FPS is used to measure the quantity of information used to save and Display Dynamic videos. In general, it refers to the number of pictures of an animation or video.
This requires meSystem FunctionsMentioned in the first lectureGettick
Recently, a test team of colleagues said they wanted to write an automated game testing tool. There was a need: How to Get rendering-related information such as FPs of another d3d program in one program? This problem is quite common. For example, the video software fraps has this basic function, while the performance testing tool GPA is more thorough. There is no idea at first glance. It is too complicated to implement it through the driver layer, not
///
To use this function, you only need to use it after the spritebatch of loadcontent is initialized.
Component.Add(new FrameRateCounter(this, spriteBatch));
You can.
In addition, you need to modify the spritefont file you used to display FPS, And the coordinates to display FPS.
It's not something new, it's just a bit of fun.
First, hook DX device, and then hook internal functions. Here, it is just the end mark function endscene of hook d3drender. Internally record FPS, and then create a d3dxfont object to show that FPS is drawn at the specified position on the screen.
Hook to d3d or the old method. Set the hook and set yourselfCodeInject to the remote process address space and h
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.