Questions tagged [cross-platform]
The distribution and development of a game onto multiple platforms.
126
questions
0
votes
1
answer
70
views
Is it possible to do conditional compilation in Godot at this time, via export settings?
In a number of other engines I've worked with, including Unreal and Unity, there's been support for not only preprocessor commands, but conditional compilation based on platform. As an example, in ...
1
vote
1
answer
231
views
How to set up a cross-platform game project that can install standalone or via Steam?
I'm thinking about developing a game. I want to make it cross-platform for Windows, Debian-based Linux and MAC (arm / x86) from the start, which will of course take a bit more time but it also helps ...
0
votes
0
answers
40
views
How to ensure online AIR game is always up-to-date?
How can I make sure that the player is always using the most up-to-date version of an AIR app for an online game? I was thinking of two approaches:
When the player launches the app, the first thing ...
23
votes
7
answers
3k
views
Consistent cross platform procedural generation
What techniques have people successfully used or can suggest to deal with a consistent cross platform math for procedural world generation? Also, if you have done this, what were the pros and cons of ...
0
votes
1
answer
54
views
In what circumstance might I need to output pixels in non-32-bit format?
Among practically existing devices people play games with - PC, mobile, PlayStation, XBox, Nintendo etc. - is there any possibility that a pixel on the screen is not 32-bit, and do I have to consider ...
0
votes
1
answer
78
views
"contains support" for Dreamcast/Atari/etc, but "not officially supported"?
I found this on the About page on the official Pygame website:
Truly portable. Supports Linux (pygame comes with most main stream linux distributions), Windows (95, 98, ME, 2000, XP, Vista, 64-bit ...
1
vote
1
answer
174
views
How to reduce code duplication in a cross-platform renderer without tying the interface to one specific API?
I'm working on a game engine as a fun project over the spring+summer. I've decided that to allow myself to explore rendering APIs I'm unfamiliar with, and force myself to write reusable code, I'd ...
0
votes
1
answer
88
views
How to develop a GameMaker game for both desktop and mobile
For a few months I have been creating a game using GameMaker Studio 2 Desktop.
It turns out that I would like to launch it also for cell phones, and for that I bought GameMaker Studio 2 Mobile.
That's ...
0
votes
1
answer
212
views
Building a unified interface for a swap chain in both DirectX 12 and Vulkan
Most objects in DirectX 12 have natural analogues in Vulkan, e.g.
VkInstance = IDXGIFactory
...
3
votes
0
answers
52
views
Authentication and keeping track of users for a cross platform game (Steam+mobile)
I've got a question about authentication/user accounts. I'm building a game using Unity that'll be sold on Desktop (through Steam) and Mobile (Play/App Store).
The game has online multiplayer ...
1
vote
2
answers
116
views
Why do some games have different builds in different platforms/regions?
I'll try to keep things brief and provide some context. I was playing MineCraft one day and this question popped into my head. I was thinking about some of the things that the Bedrock edition of the ...
0
votes
1
answer
322
views
How to make this C++ game server cross platform? [Focusing on Ubuntu compatibility right now] [closed]
The question's description will evolve depending on requested information or evolution of answers.
I made this C++ server for a game, which works on Windows, and would like to make it cross-platform, ...
0
votes
1
answer
102
views
Multiplatform game, save game state and resume it on other platform
This is for a personal and knowledge acquiring project.
I want to create a little TIC-TAC-TOE multiplatform game, app & web. The choosen technology for the app will be Android or Flutter and for ...
1
vote
1
answer
4k
views
How can I use Cross Platform Input in Unity 2019?
I am trying to use CrossPlatformInput in Unity 2019 to follow this tutorial to use it on iOS:
https://www.youtube.com/watch?v=Auj1mrsfXDE
However, I have no item in the top bar for "Mobile View" ...
-1
votes
1
answer
44
views
How to log how much time a user been playing with game console?
I want to create a solution for game centers which they own different game consoles, is there any way to log each user playing time and gather all of this info into a pc? if yes how is it possible?
1
vote
0
answers
143
views
Are most cross-platform C++ libraries really not cross-platform for game developing? [closed]
Sorry for my poor English.
Some cross-platform C++ libraries are useful for game developing, e.g., Eigen, Skia, OpenCV, Tensor Flow. I am not sure whether they are really limited to officially ...
2
votes
2
answers
2k
views
How can Perlin Noise be modified to not tile?
In vanilla perlin noise, the texture repeats after 256 coordinates, due to the way it picks a gradient vector. In games that require an infinite procedural world, however, this is not an acceptable ...
1
vote
1
answer
582
views
Is there a way to run an Android Unity game in Windows? [closed]
I was wondering, given a generic Unity game built for Android (with no desktop version), if I could somehow run it on windows (not in an android emulator) by using the windows version of mono.
The ...
1
vote
1
answer
89
views
Patterns on preserving players progress across all player's devices
I'm writing cross platform game that is requested to store player progress across all their devices. I'm not talking about implementation details, but overall picture;
What are the patterns for ...
1
vote
1
answer
993
views
Cross-platform GLFW build with CMake
I know this is probably a popular question and can be very vague, so I'm going to be as specific as possible. I don't really know how to even form this question to be able to search Google, so I came ...
2
votes
2
answers
212
views
Implementing a lexicon for a word-based game with C# or C++
In my game project I have a lot of word existance checks based on some word bank. As usual arrays or map/set are not realy appropriate for this due to their speed/memory usage, I want to use Ternary ...
17
votes
3
answers
4k
views
Is Unity 2017 random number generator deterministic across platforms given the same initial seed?
Is unity engines random number generator deterministic across platforms given the same initial seed or should I implement my own?
I know there have been some modifications to the random number ...
22
votes
3
answers
5k
views
How to avoid hard coding in game engines
My question isn't a coding question; it applies to all of game engine design in general.
How do you avoid hard coding?
This question is a lot deeper than it seems. Say, if you want to run a game ...
3
votes
2
answers
1k
views
Using different shaders based on desktop or mobile?
Most of my assets use the Unity standard shader. It looks and runs fine on Desktop, but on mobile the performance isn't good.
I assume the solution is to switch to one of the mobile friendly vertex-...
104
votes
5
answers
21k
views
Why are games built on cross-platform engines sometimes exclusive to Windows?
If an engine supports Windows, OS X, and Linux, why do we sometimes see games using these engines, like Space Hulk: Deathwing, restricted to Windows only?
3
votes
0
answers
167
views
Unity Custom Inspector Platform dependent property section
I want to make a custom inspector for one of my scripts that builds UI elements at runtime. This requires small changes to the default values depending on what platform I'm targeting. How do I add ...
1
vote
2
answers
2k
views
Playstation 4 OpenGL ES support (or Xbox) [closed]
I know that the Playstation 3 supported at least OpenGL ES 1.0, and the Vita OpenGL ES 2.0. But what about the Playstation 4 (and/or the new PS4 Pro)? Does anyone know for certain if it has native ...
1
vote
1
answer
148
views
GraphicsAdapter.Adapters on openGL won`t return secondary monitor
I have been searching for this everywhere and never found the answer.
I am developing a feature to allow the user to select which monitor to run the game.
I have two monitors, primary and secondary. ...
2
votes
1
answer
651
views
No more OpenGLES 2 UWP template in Visual Studio 2017?
In Visual Studio 2015, a convenient cross-platform C++ project template was available named "OpenGLES 2 Application (Android, iOS, Windows Universal)." I cannot find this template in Visual Studio ...
0
votes
2
answers
151
views
Android game to iOS, go with an engine?
I have developed a game on android using native coding. However I am being asked to port it to ios.
So I thought that I should bite the bullet and recode it in unity so I can go cross platform.
I ...
1
vote
0
answers
125
views
Unity3d Cross platform Input GUI Depth
I'm creating my GUI controls in Unity 5.3 I have a joystick in which overlays a swipe pad. Originally all of the controls were working fine. However, now the touch pad is overlaying the Joystick.
...
1
vote
1
answer
564
views
Configuring Implicit Multi-GPU Rendering Driver Settings Programmatically
What is available to game developers to take advantage of implicit multi-GPU rendering technologies as of 2016? For this question I will only be asking about Nvidia's SLI and AMD's Crossfire ...
0
votes
1
answer
279
views
Do I need to use a game engine to make a simple game function on other platforms? [closed]
I'm a complete beginner really enjoying learning how to code (currently in Python) and my first games will be very simple, mostly text based, but I'd like them to run on friends' phones and computers ...
-4
votes
1
answer
107
views
How to convert a java made game for pc to android without any external framework? [closed]
How to convert a java made game for pc to android manually ie without any external framework like libgdx?
For example games like minecraft and limbo were originally made for pc only but later they got ...
0
votes
1
answer
711
views
MinGW Windows Cross-Compile Error
While I was developing my game on Linux (I'm using an ARM system), I decided that I want to cross-compile it to Windows. Yet, I get an error while I try to link Allegro (version 4.2) to the compiler.
...
3
votes
1
answer
8k
views
ARMv7 vs FAT in Unity Android Build Settings (release multiple valid APKs)
If I select ARMv7 instead of FAT (ARMv7+x86) in the Android Build Settings of Unity5-Free, the APK binary drops to half size.
FAT => ~20MB
ARM => ~10MB
(...
9
votes
1
answer
7k
views
Cross-platform C++/OpenGL ES development (iOS/Android) [closed]
I already have reasonable experience with C++ and OpenGL, and I have recently decided to try out mobile game development. After successfully creating a simple OpenGL ES Android app using Java, I ...
18
votes
2
answers
2k
views
Can I embed a game in a PDF document?
I was thinking that it could be cool to have an interactive game in a digital resume. For the sake of this question, and scope of this site, let's ignore whether or not this is a good idea.
Is it ...
1
vote
0
answers
24
views
How to attach "exiting" event in OpenFL?
What is the exiting event (closing app by user or system) in new OpenFL?
And how does it differs between target platforms?
1
vote
0
answers
75
views
Cross-platform game to be wrapped into a native iOS/Android app
I need to build an app like Lumosity (https://play.google.com/store/apps/details?id=com.lumoslabs.lumosity) that is native app and have some game screens.
So the question is: Is there a way to build ...
11
votes
3
answers
22k
views
Why can't cross-platform multiplayer games exist?
At least, why are they so difficult to make? - assuming that's the reason why not even AAA studios accomplish this feat for their games. Especially with modern cross-platform game engines like Unreal ...
4
votes
1
answer
1k
views
Read custom content in MONO-GAME in a cross-platform way
using Mono-Game,
i have some custom content files in some binary format (not .xnb)
in run-time i need to read the content of those files.
i prefer to get a stream, but if something will give me a ...
0
votes
2
answers
115
views
How to create a separate bin folder?
I am now creating a 64 bit and 32 bit executable of my game.
How could I achieve so that the executable and dlls lie in a separate folder without changing all the path variables in the game?
To ...
0
votes
1
answer
355
views
Cross-platform multiplayer game in JavaScript [closed]
I want to start creating a simple multiplayer, JavaScript based, cross-platform game. Think about it as a two player mario where players can shoot each other.
My question is what is the best way (or ...
0
votes
1
answer
1k
views
What units is Box2d-AndEngine's velocity measured in?
I'm developing a game on AndEngine (with Box2d) and on iOS Sprite Kit simultaneously. I want the game's physics to be identical on both platforms. Sprite Kit uses Box2d internally for physics ...
-1
votes
1
answer
7k
views
Game code difference between consoles (PS3/PS4) and PC [closed]
I'm interested in game development and have some very curious questions. Im a newbie in game dev so pardon my silly mistakes and question and repetition if any. I hope biggies here will guide me and ...
14
votes
5
answers
4k
views
How can I run on multiple platforms using a custom engine?
Game engines like Unity and Unreal can run on mutiple platforms. I am wondering how they do this.
I have been using C++ and OpenGL for a while, and what I am looking for is resources to integrate ...
0
votes
1
answer
272
views
Mobile: Physics and movement actions
I've been using spritekit for a while for a few small games. One thing I've noticed is that spritekit is the first game framework I've used that allows me to apply move actions to physics bodies. (...
0
votes
0
answers
2k
views
Cross-platform ad-hoc local mobile multiplayer
I want to implement ad-hoc cross-platform (iOS, Android, and PC) device discovery for local multiplayer, like this scenario: http://www.youtube.com/watch?v=csXYZf2vGdE Multiple players, each with ...
0
votes
2
answers
310
views
What image sizes should I use for a mobile cross-platfom game? [closed]
I'm new to mobile development. I use Monogame.
What device screen resolutions should I consider to target all Android, iOS and Windows Phone devices?
Assuming we have three screen sizes, should I be ...