mahe's Forum Posts

  • Hi,

    I'm developping a game for Ios and Android with construct 2, and I would like to know the maximum memory I shouldn't exceed.

    I have 60 sprites (360*640 pixels) and it already consumes 50 Mb of memory, could I go up to 250 Mb without slowing the game ?

    I have used sprite sheets to reduce consumption, if you have some advises I want.

    Thanks

  • Hi,

    I would like to know what is the limit of memory use i shouldn't exceed for a Iphone and tablet.

    Thanks for answers !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks wizdigitech !

    I want to know also if it is possible in construct 2 or cross platform like Xdk to scale down automatically the resolution of all images in a game, depending on the resolution of the device used.

    So i would have to keep my sprite resolution high and then the program will reduce the resolution if necessary to use less memory on low resolution device.

    In my game I used 1 background 1080*1920 image, and around 50 sprites of 378*584 (with animation) and I already use 230 Mb of memory, so I decided to divide by 2 all sprite resolutions, I use now 110 Mb but when the game will be finished, there will be up to 5 times more sprites, so it will be around 600 Mb !

  • Hello !

    I'm developping a game for Android, I have chosen to define my windows size of 360*640 to avoid using too much memory, the game works well on smartphones but gets blurry on high resolution device like the Samsung Galaxy Note (2560*1600).

    Should I make a "Hd" version for big and high resolution devices and seperately another version for low resolution device ?

    Because when you choose low resolution it uses a little bit of memory but gets blurry on devices with big resolution, and when you put big graphics it burn to much memory...Seems I have to make a choice, I don't want people to download my game and have a problem with memory or blurry images...

    Thanks for help !

    Sorry for my bad english.

  • How can I open a "Spine" animation in construct 2 ?

    Thanks.

  • Hello,

    I have 10 different sprites in a family, I have created 2 family instance variables called "Life" and "Attack".

    So the 10 sprites (blue,yellow...) have those family variables.

    I would like to do something like this :

    When a sprite from the family is on collision with the blue sprite (wich is in the family) , substract from their "Life" the attack of my blue sprite.

    ---> I don't want that the blue sprite (in the family) lose it's "Life" when it is on collision with an other blue sprite. So I want to select a group of sprite among the family (every sprite but not the blue one).

    Hope you will understand, otherwise I will put a picture of my program.

    Thanks.

  • Thanks for all , I will write a message here when I succeed !

  • Hello,

    I have begun to create a game for phone on my PC.

    But I want to test it myself in private.

    I know Android, Playstore etc... but everybody will see my game on these plateform, no ?

    The game is in development so I don't want anybody to see it because it's not finished.

    Thanks.

  • Yes it doesn't take a lot of code to do that, that's nice ! Thanks

  • Really thanks Asmodean for the help, Here is a link to a capx that illustrates how to pick seperately two instances that are in collision done with your help :

    https://www.dropbox.com/s/rg7bpuodhq6e1 ... .capx?dl=0

    It's the same way to select instances with collision and overlapping, so I thought it was more interesting for me to put an example based on collision and physics for people to see how it works.

    in this capx, 2 sprites have physics gravity on it, when there is a collision, one sprite will jump and the other one will see its width increase, download the project with the link you will understand, if questions post it.

  • Hello here is my problem :

    I have 10 instances of the same sprite,

    I want that when one instance is overlapping another instance, one of the two instances stop its movement.

    But when I put the condition : when sprite is overlapping sprite -> stop the movement

    The problem is that the two instances stop their movement whereas I want only one of the 2 to stop its movement.

    So is there a way to get the UID of the two Overlapping objects and to do action separately with the two object ?

    Thanks for the answers

  • Super, Thanks !

  • Note : you can move the red sprite with the arrow keys

  • here is the link to access the construct2 (capx) file I was talking about :

    https://www.dropbox.com/s/vrqcehkejm5ix ... .capx?dl=0

    Please tell me if you can't access it, hope it will help you

  • Super, I will post the link soon, thank you Saad Swad