Tenos's Recent Forum Activity

  • I would like to upload 2 different versions to App Store. One version that has the viewport 4:3 ratio that is on iPad and one version that has the viewport 16:9 ratio for mobile devices. Ultimately I would like to upload a version with the viewport 19.5:9 ratio as well that is on Iphone X for example. I want to do this to make sure that I fill out the screen on the different devices.

    Is it possible to upload several different viewport size versions to the App Store? Has anyone here done this before or did you solve it in some other way? I have never uploaded anything to the App Store and I don't seem to find any information on this.

  • Thanks for the link. I had actually read this article some time ago but not taking it into account enough apparently.

    The example with Rayman is pretty strraightforward and if I made a platform game this would have been my go to solution.

    However, now when making a game with a static screen where you scroll with your finger on different devices, how should I do then? I know that my pictures are too big in case of resolution. But how should I do? Do I need to find the most effective power of two size resolution to work with or what would you recommend in this case?

    This is not a big game at all. It consist of 6 pictures and then some smaller sprites that you can press on. I am curious to what resolution I should target for my 6 background pictures.

  • Hi!

    I have ran into a problem. During the development of my first app I've tried my app on several devices. However, after working with my app for several weeks I did not try my app during the development on the "oldest" device I have. An iphone 6. And now when I try to start the first level of my app it crashes immediately. The current level I'm trying to enter is a static level where you scroll with your finger to navigate. The layout size is 6144x1536 consisting of 3 pictures that are 2048x1536 and another 3 pictures on top of that with the resolution 2048x1536 and then I have several smaller sprites imported. The viewport size is 1920x1080 for mobile and 2048x1536 on tablet.

    I have come to the conclusion that my app needs to much memory of the device. And I guess that the biggest problem is the size of my pictures. When trying the game in the debug layout it stands that I have 742.5mb est. image memory.

    I have exported all of the pictures in PNG24 but when I check the pictures they are only around 100-200 kb.

    I have checked some of the guides here but I still can't find a working solution.

    Is there anyone here who can recommend me how I can make my app not needing so much image memory? Can I somehow see which pictures that need most image memory?

  • Colonel Justice Thanks! I also found that the Reverse Custom behaviour worked :)

  • Colonel Justice I ran into another issue here. Is there some kind of way to invert the way it's scrolling? As it is now when you drag to the right the camera moves to the right but i would like it to be the opposite. Is it doable?

  • jobel I misread your solution first. But yeah, that is a great suggestion. I did not think of scrollx and scrolly, it worked like a charm! :)

  • Colonel Justice Thanks a lot. The camera scroll was really good! Btw, I would like to do it so that when I touch a specific object the scroll should be turned off and when I'm not touching it it should be turned on again. Because when the scroll is active and I want to touch a character on screen it might sometimes be registered as a scroll instead of a tap, does this make sense?

    The balloon solution is super nice. I did not think of creating an object at scrollx. Since I wanted several balloons to be created within the viewpoint I tried random(scrollx-900,scrollx+900) and for Y i picked a value that is outside the layout because I want the balloons to float in. Works like a charm! Thank you so much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Anyone? :(

  • Hey everyone!

    First of all, I am a total beginner and I am going crazy here :P

    I have been searching for a solution to this for quite a while and I have tried different solutions I have found in tutorials and different questions asked here in the forums, but none of them has made me satisfied.

    My question:

    I have a game where you can scroll the picture when touching the screen. So you drag and drop to adjust the viewpoint.

    When a certain thing happens, for example a global variable is triggered I want to spawn objects in the center of the current viewpoint. The layout is 6144 x 1536 and the viewport is 2048 x 1536 so it has to be in the center of the current viewpoint of the one playing my app, does this make sense?

    Also I would like the objects spawned, in this case balloons not to be spawned outside the viewpoint.

    And, lastly, is there anyone who knows how to increase the scroll speed when touching the screen? Currently I am using DragScrollX+DragMouseX-Touch.AbsoluteX & DragScrollY+DragMouseY-Touch.AbsoluteY and I dont really know how to increase the speed of scrolling.

    Is there anyone here that knows how to solve this? I would be so thankful for a response :)

  • AllanR

    Wow! This was more or less exactly what I was looking for! You should have a great thank you for this, gives me a lot more understanding of how I should create my own work!

    I'm so thankful :)

    Have a great day!

  • WackyToaster

    Thanks for the tip! Will try it out!

  • The random spawning worked great. However they still tend to spawn at the same Hiding spot from time to time. Attached you can see how I did. Do you perhaps have any suggestion on how I can solve that they spawn on the same spot?

    I didn't really understand how you meant to destroy the hiding spot when one object spawned on it :)

Tenos's avatar

Tenos

Member since 10 Jan, 2019

Twitter
Tenos has 1 followers

Trophy Case

  • 5-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies