New answers tagged

0

Of course you can but there are problems you wouldn't like to run through, different platforms has diferent architectures, different memory structure, different float point, different byte length, etc. So probably your code will not work as expected os simply, output different things in each platform. If you are working in a "high precision math" (anything ...


0

Is it possible? Yes, but it will be very difficult, from a programming standpoint, as has already been addressed. From a design standpoint, I cannot imagine a game that would be enjoyed by people on such varying devices. Most console and PC gamers play more action-y games than mobile games, and if your game is a multiplayer action game console and PC gamers ...


0

Is it possible? Yes. Is it a good idea? No, for various reasons that involve trying to balance the game for the many different input devices. As for the difficulties in actual development, most modern game engines are purpose built to be able to port the same game to PC, xbox, playstation, mobile devices, and macs without too much trouble aside from ...


0

There are several performance issues with the code sample you supplied. Consider using pop to increase performance for (; i < n; i++) { data = result[i]; vs while((data = result.pop()) != null) {... If it can't be destructive which I think looking at your code it can be then you can clone using var clone = myArray.slice(0); Performance is ...



Top 50 recent answers are included