I render everything the whole map in one mesh (batch)
The main texture sheet is 256x256 and I use it as a sprite sheet for 16x16 textures
The shader has point and directional light which has a max of 15 lights per vertex
I really have no idea why my frames a dipping when there is nothing much going on, the phone I tested with was the Samsung Galaxy Ace 2 (Can run Dead Trigger and Gta) I also tried the Nexus 7 which i get even worse frames, yet the Nexus 7 is better??
Its really annoying as you might think 30fps on android is fine but when i play my game, it freezes and the players head shoots into the sky as im using head bobbing
camera.position.y += bob_y * Gdx.graphics.getDeltaTime();
I really want to finish this game as i never finish a game because of bad performance
Hello GClements, thanks for the reply. If i have the map already in a static mesh how would i do the front to back culling? Also when I get low fps my players head bobbing goes insane like going out of the map xD. Heres my code what have I done wrong?
There are many algorithms known as space partitioning. BSP are well-known and are a lot used since Doom 1 and even now. Quadtrees are more easy to integrate and give very nice results. Many games use variants of the latter.
What GClements said is really important on all platforms, and mainly on mobile where the power of the GPU are not the same than on desktops.
But if your map is very sparse and consists of few polygons as we could deduce from your previous posts, then maybe your issue lies somewhere else.
30 fps might not be as bad, you might also be stuck due to any vsync.
[QUOTE=Silence;1287825]There are many algorithms known as space partitioning. BSP are well-known and are a lot used since Doom 1 and even now. Quadtrees are more easy to integrate and give very nice results. Many games use variants of the latter.
What GClements said is really important on all platforms, and mainly on mobile where the power of the GPU are not the same than on desktops.
Ah okay, whats going on there is my version of batch, so when I want to render an object i call that function and that will put the object vertices into the main mesh at the next index, which after all rendering has been done, I will call flush which will draw the batch. Also the post above I mentioned my head bobbing whats up with it?.. I really appreciate the support here
[ul]
[li]App blocking on buffer object updates, cutting your frame rate to 1/2 or 1/3 of the VSync rate. [/li][li]Texture ghosting on texture subloads causing poor performance and significant additional GPU memory consumption, potentially terminating your app. [/li][li]A number of operations including use of sync objects triggering full pipeline flushes, causing rendering artifacts and massive performance slowdowns. [/li][li]Needless full framebuffer-sized reads/writes from/to slow DRAM which is horribly slow. [/li][li]etc. [/li][/ul]
In other words, steady-state (no movement, same GL commands sent to the driver each frame, same contents of VBOs each frame), it will likely have a steady-state frame rate. Is that 50 fps? What are you doing that causes it to dip to 20 fps?
I wanted to show my latest project. Utilizing several android apps / plugins / hubitat / HousePanel / rule machine / tasker / apps, I have created a very cool interface for my home automation on android.
This is still very much a wip but I wanted to share so here is a small video. The app I used to record seems to have muddied thigns up a bit. Still lots of formatting to fix. Never mind the flash messages those are to help me along the way..
* This app requires Device Admin privileges to implement the "screen lock" launcher action.* This app uses Accessibility service for a few Launcher actions only if necessary.Total launcher is the best customizable launcher in Android. Of course, it is still fast, light and easy to use.Do you like a simple home? Use this.Do you like a beautiful home? Use this.Do you like a smart home? Use this.Is there no home launcher you want? Make it with this.Whatever you want for home, this is it....
Now you can finally have a fully functional interface that you've waited 30 years for as your launcher, complete with button sounds and animations. This app's interface is meant to parody the way sci-fi designers on a cheap budget imagined future computers over 30 years ago. Made with cones, curves, and various blocks in the basic 256 colors computers were capable of at the time. Topped with tiny text that was meaningless and buttons with completely indecipherable function or layout.I stayed...
Then for the device controls I am ussimg Zooper widgets tied into tasker. Tasker makes http calls to hubitat for control and device status. I am currently in the process of switching from the house panel endpoints I was using to the built in maker api.
You know that they actually did a phonetic recording of her voice before she died (basically recorded her saying every sound made by the English language several times). So, having MBR as your TTS voice should be possible at some point. And with Paramount and CBS trying to make up for terrible movies and TV shows recently, they owe us one. They should give it to us for free!
Holy cow, what am I looking at, that a tablet on the wall? I'm digging it, I just wish I had then skills. I can barely get English right, friggen went insane a few years ago trying to take a MS Access class, and came close to stroking out a few times. I have since come to terms with the fact that as much as I wish I could be, and will keep insisting on trying from time to time, I'm not going to have the patience or time to learn Spanish, Persian, Java, Groovy, or anything really beyond the simplistic IFTTT and Tasker type command syntaxes. Even then, I'm constantly going back and fighting sign things for days at a time just to realize a single '.' or '/' happened to be one airwaves too fast, or something. Now I'll configure and use the hell out of some equipment, I may need a friend to do the Zuckerberger-like heavy lifting.
That said, any takers...? Make ole Mr. Brevity over here a nice Star Trek deal. I just got my Amazon Fire 10, which I plan on rooting at some point, de-bloatafying it, and making it an awesome command console for the house. I'm a fan of SharpTools because they bridge the gap between Tasker, Smartthings (primary hub), and Hubitat. I'm eventually wanting to move all local Zigbee and Z-wave devices over from Smartthings to Hubitat, and run them in parallel, only because chicks dig that kind of thing... Yeah.
You mean, like replacing the 50-100 $1.19 light switches in your house with $3000 worth of Caseta dimmers and switches and enough echo devices for every room in the house, just so we can say "Alexa, turn on the kitchen lights" and be told "Hmm. I can't find a device named kitchen life"?
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
It has come to my understanding, upon chatting with your customer service, that Spotify is now pushing most of its user to premium subscriptions. But, removing the basic controls one would expect of a streaming platform is probably a bad way to do it.
For the past couple of days, I have been facing issues. I am not able to turn off shuffle, nor press rewind or even scrub through to listen to my favorite part(s) of a song. This "upgrade" is quite frankly is ruining the user experience. As a someone who used Spotify actively these were some of the features that I, a free account user used.
I realize that Spotify is trying to increase its premium users. While I understand their objective in business, I do want them to recognize that Spotify free users use the free version only because they have to. Not want to. Everyone would want better features, but not everyone can afford it or more understandably not everyone has access to all the cash. With this being said, I think the "play any song you like", "play a certain song on repeat", "skip songs that don't match your present mood" features being snatched away is hard and horrifying. Music is undeniably a world wide therapy and people all over the world connect to music with Spotify. But with features like these, being stripped away, it feels overwhelming- especially for people whose only escape is music. Please do bring these features back to use for free users.
6months ago I bought the premium membership and now it is ended , after the premium got ended in this month my spotify isnt allowing me to play songs that i click or search, also doesnt allow me toh play next or previous song , after few songs played spotify play songs by its own choice, when i select a song to play it ask me to take premium membership.
Since about a week I am unable to move the progress bar on my Spotify android app, unable to add songs to the queue, and unable to move to previous song. The previous song button looks greyed out as well. The add song to queue option doesn't show up at all. I don't know what may have triggered this and my desktop app and the website player are working just fine. Have tried a clean reinstall.
To be honest... I don't think your tech folks have addressed the said issue. Its been almost a month and nothing has been changed. The new "changes" are quite honestly taking away the experience of listening to music and enjoying it. I just really hope that this is actually sorted out. Also if buying premium is the only way out, I guess its not really fair to the normal user because you are removing extremely basic features required in an music player.
c80f0f1006