WRS's Forum Posts

  • Did you try with Array -> Compare at X?

    If you mean checking what value is in position X:0 of your array.

    I don't understand the syntax of - Array.X(0)? This expression is not correct.

  • I can not understand how to compare the array?

    I have an array of X: 0,1,2,3,4,5,6

    I need to compare the value of X in cell 0 somim with myself.

    The system compare 2 values ....... I can not figure out how to call the value 0 from an array?

  • I don't have any examples, as I'm not an Apple developer. You'll need to set up your app per developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/iTunesConnectGameCenter_Guide/Introduction/Introduction.html

    Then in your game after authenticating with the game center plugin, you'll have access to the relevant conditions actions and expressions.

    Edit: Alternatively, the facebook plugin also supports leaderboards cross platform.

    Thank you very much I will try to figure it out)

  • The Game Center plugin should have everything you need. You won't need your own server.

    Google Play Services are depreciated and no longer supported on IOS.

    Is there an example of how to do this with the help of Game Center?

  • Poke on the forum and did not find the answer I needed, the examples in the construct also work crookedly (as for the multiplayer)

    Tritely, I wanted to do the following system.

    When a user loads a game, he is assigned the default name of the type Guest112341 (Then he has the opportunity to change this name to his Unique)

    When a player plays he gets points. There is a button - a list of leaders where he sees the table.

    1. Nilson - 543

    2.Mary - 123

    3. Nill - 99

    4.Nix - 1

    ....

    and so on

    Does anyone have an example of how to implement this? After reading a lot of information on Google, it's easier to hang up, because they say that you need to know almost PHP.

    Is there an easy way to implement? I don’t understand how to do this at all, do I need some kind of server or can I use GameCenter on my iPhone?

    The application will be under iOS

  • Apparently some user already made a tutorial for this : construct.net/en/tutorials/construct-firebase-2163

    Senks)

  • Faced with the fact that for advertising applications in Google, it must have an analyst system. Google has it called Firebase.

    How did you come across this? How to add initialization code to the application?

  • Senks=)))

  • My first game today Released on the App Store. Thanks to many on this forum who answered my stupid questions and helped with their advice in studying Construct 3.

    It took 2.5 months to study Construct 3 and a month to play. Do not judge strictly, this is only the first game)

    itunes.apple.com/us/app/stealth-agent/id1460574383

    Tagged:

  • You do not have permission to view this post

  • I am very interested in this as well. Im currently working on a mobile title for the first time. My current window size is 320 x 480. The layout is configured for portrait. For graphics I will be using pixel graphics so Im using Letterbox Integer Scale. When testing on my phone the game isn't scaling and Im getting the black bars around my game. What should I be targeting as a native resolution? I have been testing on an iPhone X. Other than this im having a great time developing in Construct.

    I solved this problem in the following way.

    The screen is scaled by reducing.

    Then, regardless of the resolution, the field will adjust as it should.

    But here the question arises with the elements of the interface, since they themselves will remain outside the framework. To do this, bring all the buttons to the sides.

  • Use Anchor behavior for UI objects.

    Usually you target one resolution (for example 1280x720) and one aspect ratio (in this case 16:9). You design the entire game for this resolution. On bigger screens everything will be automatically scaled up, on smaller screens - scaled down.

    To support different aspect ratios (for example 4:3), you need to use Anchor and make your backgrounds bigger. You might also need to make other adjustments with events, but this depends on the game.

    Understood, more thanks. There are still a couple of problems and such a question.

    I do not know what it is connected with like a bug. You may have come across this.

    I'm talking about starting a game on an iPhone as I make a game for iPhone.

    And sometimes it happens that you launch an application and it knocks down the resolution, that is, it opens, say, less than it should be. Then you restart the application and everything is fine.

  • I managed to solve the problem with the elements of the interface by setting a position near the borders.

  • Use Scale Outer, enable Unbounded scrolling on the layout, and make backgrounds about 20% bigger than the viewport size, tutorial:

    https://www.construct.net/en/tutorials/supporting-multiple-screen-sizes-77

    Demo:

    https://www.dropbox.com/s/vjyximq2059wbvt/ScaleOuter_demo.c3p?dl=0

    That's what I have to do with it and in general everything is ok if you use scaling reduction. BUT then I have a problem with the elements of the interface, they go beyond the field. And I can not install them at the minimum resolution because it is too small and all the elements are grouped in the center.

    Basically, I start from the resolution of the iPhone x (2436x1125) is it a scope (maybe I'm not doing this correctly?), So I need to make a visible field of another resolution?

    I can not quite understand this moment.

    yadi.sk/d/qfqvl1YI5Tgu_w

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Use Scale Outer, enable Unbounded scrolling on the layout, and make backgrounds about 20% bigger than the viewport size, tutorial:

    https://www.construct.net/en/tutorials/supporting-multiple-screen-sizes-77

    Demo:

    https://www.dropbox.com/s/vjyximq2059wbvt/ScaleOuter_demo.c3p?dl=0

    Many thanks now I will try.