Tag Info

New answers tagged

0

Quick question. What is the best way to save a game score in a mobile device (iOS and Android) using Monogame (example game Flappy Bird score)? Well there is only 1 way to do it with MonoGame and that is using the IsolatedStorageFile class. All the other approaches you mentioned do not use MonoGame and if you are looking for any Mono solution you ...


3

First, your concerns are definitely valid and this is not "premature optimization." The problem is, std::deque::insert invalidates all iterators and references, so deque is not actually useful for this. What I did to solve this problem is create a wrapper data structure around std::vector (I called it a perma_vector) that stores a vector of ...



Top 50 recent answers are included