Tenos's Forum Posts

  • sizcoz I will check it out immediately. I'm so happy that you took your time giving me an example :)

  • Sorry for tagging you but you are the only one that has responded on my question.

    I have figured out how to put the objects into the array and how I choose and delete them after that.

    The only thing I can't figure out now is how to relate an item to the spawned object and how to add that one into another array. I can't find any tutorials going through this either. It's so frustrating to be stuck :P

  • This was pretty advanced. Do you have any suggestion on a good tutorial or any other example I can watch to try and learn more about arrays and my specific issue?

  • Thanks for your response! I have no idea how to execute it but I will try and read up on Arrays and see if I can make it happen. Is it ok if I tag you in this thread if I have any questions during my test? :)

  • Hey community!

    I would like to test an experiment but I don't really know how to create it in the first place and I hope perhaps someone here knows the answer :)

    So, I have 15 objects. Everytime the game level starts I want to spawn 3 random of these 15 objects, there can only by one of each object. All of the 15 objects have 1 unique item connected to itself and every time I spawn 3 random of these 15 objects I want there to be 1 unique item spawned below these 3 objects that have spawned. Does it make sense? The unique item has to be connected to one of these three that have already been spawned.

    It should be like, which one of these 3 objects owns this item? And then when you press on the correct one an animation starts and then you get a reward. Picture for visualization :P

  • Thank you so much! This solved my problem. I went with the Scale Outer and Cover options :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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!

  • 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 :)