yapiiiii's Forum Posts

  • I don't think so, but you can create several text objects and define their "x" depending on the width of the previous text object.

  • I try to animate bushes, grass, and tree foliage with a distortion effect which could move horizontally the top of the sprite without moving the bottom.

    I already saw the construct template "grass", but it uses a rotation sine which makes the bottom of the sprite moving.

    If there is no way to do this with an effect, do you know a simple software to distort my picture like I want and save the distorted pictures into an animation in construct?

  • Yes, I search way to display the small layer in the exact middle of the screen, without having to place it here manually. I think it should exist a different way to do this easier, why construct don't place the scaled layer in the middle of the screen automatically?

  • I don't have a lot of experience with paths, but I've already tried to do that: I changed the Y coordinate with a polynomial function like: Y=X^2 or with trigonometric functions. But I think there is an easier way to do that.

  • I think intel XDK is the best exporter.

    But like all the exporter, you will decrease a lot the performances. the only thing you can do is reduce the number of collision check/second, reduce the resolution, and reduce the number of sprites displayed at the same time.

    If you are new to construct, you will discover by experiences new ways to do what you want which takes less performance, but I can't help you a lot without the capx.

  • I solved the distortion issue by changing the resolution of the tiledbackgroud: they must be 2x2, 4x4, 8x8... I set it to 128x128 and it solved the issue.

    For the second issue, I still have no solution: I can change the layer scale but I can't put it exactly at the middle of the screen.

    (http://www.construct-french.fr/forum/do ... php?id=521) the link may not work, if this is the case, I can put the capx on google drive.

  • no! C2 will scale to display the game in fullscreen, just be sure that the project properties like "sampling" and "fullscreen scaling" are set correctly.

    the default settings are often enough.

    If you don't know whether the game will be displayed correctly on a smartphone, you can test your game with the intel XDK (https://software.intel.com/en-us/html5/tools)

  • Hi,

    I don't manage making 2 layers with different resolution: 1 layer "game" with a bad resolution (for a "pixel" game) and the other layer with a great resolution for the menus (pause, shop...) and score display.

    I tried to change the scale of the "game" layer but I must put it at the exact middle of the second layer to see it with no white strip on the sides. Can I do it otherwise?

    Secondly, when I change the layer scale, tiledbackgrounds are distorted: some pixels are smaller than the others (I tried changing project settings with no result).

    I'm french then I've posted my problem in a french forum but nobody could help me, sorry if my English isn't perfect

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • i think your menu should look like this (i reset scores and global variables before launching the game):

  • i find the solution: i had special characters in the audio files. i removed it and now, it works.

    But now, i have another issue: the game crash when an object disappear (like the previous version)...

    and the game with quite slower than with cocoonjs...

  • that's because you reset the score at the start of layout, isn't it? i had the same issue: know i reset the score in the main menu event sheet: when you click "play", the score is resetting before starting layout

  • Try to export the game with all the defaults

    i already tried

    see if your game runs on the XDK preview tab

    it runs but i can't build it

    so you might as well take it up the ladder

    sorry, what does it mean? (i'm French)

    I tried with a previous version of my game: i can build the apk, install it in my tablet, run it, but it crash when i destroy an object (a bullet, for example).

    the only thing which i add in the current version is an events group.

    edit: i tried to remove the events group: but i can't build the apk either.

  • try to save the picture with paint.net or an other program. i think this isn't a construct bug

  • create a new event (add the condition you want to reload the text), add your text object, and select "edit text"

    you can add some variables using "&":

    for instance:

    "score : " & score

  • hi,

    i want to export my game for android with crosswalk but when i try to build the app, there is the error:

    "The build failed. An error occurred while building the application. Verify your build assets are correct and try again."

    i followed this steps:

    • creating a new project in intel XDK
    • export the C2 project in the "www" folder (for android)
    • complete the app description
    • build the app ==> error

    then i tried "import an existing app" instead of "start with a blank project" in the XDK: same issue

    i tried to replace the pictures in the "assets" tab, but the issue persist

    i think some C2 features aren't supported by the XDK because if i try the same thing with a very simple C2 project (just a background picture and a sound when we touch the screen), it works.

    PS: i don't want to use cocoonjs because of the loading screen with "Ludei"