Tag Info

New answers tagged

0

what is the basic concept behind online games? To connect players to other players for the purpose of entertainment. What you're really asking ... How should I go about building the networking side of my game as depicted in the image? The answer to that is going to depend on the technology you use, for example in unity it might be as simple as putting a ...


0

It sounds very similar to the problem you get if the velocities are slower than the minimum velocity threshold for elastic collisions. You haven't specified the scales you are using, but you are using the sprites sizes which presumably are fairly small. To fix this you need to lower b2Settings::b2_velocityThreshold, setting it too low will prevent objects ...


0

Re: "It Works great, Thank you. There is one little issue i'm trying to solve, and its how to get a full line in case we have quick movements (saw some examples online, non of them work but using an array of brushes and drawing them, which kills the CPU), it's in the example i gave in the comments above. How did u solve it?" I use a different ...


0

You will definitely need a proper server backend. Allowing your end-user client to access your database directly would be very dangerous, because databases systems usually do not support permission settings which are fine-grained enough to allow users to create, update and delete their own data but not the data of other users. Also you will definitely want ...


0

Although problem still exist in windows, But in Android everything magically is shown correctly independent of using English / Persian in any order. I test it with Label::createWithSystemFont ! PS: I guess Label understanding the direction(LtR or RtL) by checking first letter maybe. I will test it and edit this answer soon.


0

Try to declare your float variables outside of the loop. It doesn't make sense to declare them in each run of the loop. Let me know, how many frames you could gain. Regards, M


0

This is what I ended up doing: #include "audio/include/AudioEngine.h" using namespace cocos2d::experimental; [...] _musicVol = 5; _backgroundAudioProfile = AudioEngine::INVAILD_AUDIO_ID; if (_backgroundAudioProfile == AudioEngine::INVAILD_AUDIO_ID) { _backgroundAudioProfile = AudioEngine::play2d("background.mp3", true, _musicVol); } ...



Top 50 recent answers are included