Hello everyone,
So I created a little game with Defold. I really like the process so far, and the community here is great!
However, I have a few questions and couldn’t find the answers anywhere. So here they are:
-
What is the resolution that I should choose when I want to target my game to mobile devices? I understand that there are still some differences, like on some devices the game will show more of the background and some will not. But I the only thing I know is to change the size of the window using game.project, and that does not seem like the right way to do it. I really wish that there is a tutorial somewhere which show how to do this “the right way”. I may just completely missing some things here, if so, please help me see them! (I’m using RenderCam btw and I’m know almost nothing about this rendering stuff!)
-
I need to generate the positions of some sprites randomly at the same time. I manage to make it work on my laptop (math.randomseed(os.clock()) but to my surprise, on my phone the positions is the same every time for every sprites. I had read about the problems with the random function in Lua, and I fixed that one (by calling math.random() a few times first) but why does this occur? And why only on the Android phone not on my laptop?
-
Is there a way to use transitions between collections (not GUI) with Monarch? I managed to get the transitions to work with collections with GUI, but how about the collections without GUI? Because if I unload a collection and load the next one, there is a split second of a black screen before the second collection show up!
Thanks a lot!