HessamoddinS's Forum Posts

  • Around two years ago I made a game called Gerdi for mobile. Even though it was a really simple game, the performance was really bad. It was playable but the frame rate was awful. I was ok with it because it was 2014 I knew Android and iOS were still trying to add better support for HTML5. So I waited till I saw Ashley 's blog about Mobile performance on 2016. After reading the article I decided to remake my game, optimize the events, redesign the sprites and backgrounds and update the whole game. So I was done and decided to test the game on some devices and again it was awful. It hasn't changed at all, it still runs like 2 years ago. Even for the first version I did whatever The Performance tips article said. Didn't use any text objects, and at maximum there are around 30 objects on the screen (after playing around a minute or two (6 or 7 are particles), at first there are only 6 or 7 objects) and the frame rate is below 30 even at the start of the game. Just check it out for yourself and tell me what I have done wrong: https://www.scirra.com/arcade/other-games/gerdi-1476

    you can play the pervious version on Google Play, I haven't updated the game due to bad performance: https://play.google.com/store/apps/deta ... erdi&hl=en

  • This is what fullscreen does automatically.

    You mean I don't need to do anything?

  • Hi

    I have been working on a mobile game and made it in a way that it looks fit on all aspect ratios. However I don't know how to find the aspect ratio of the device the game is being played in, in order to change the Window Size.

    Should I use: if (WindowHeight / WindowWidth == 16:9) then Set canvas size to 720 x 1280?

  • Currently working on a game for Xbox One and waiting for this plugin to add Xbox Live features like Achievements and Cloud Save to the game.

  • Probably graphics drivers.

    Have you tried to update that?

    my graphic driver is updated. It has been always like this on one of my PCs.

  • Hi

    I have some UI problem with C2 on one of my computers here are some pictures:

    I have always had this problem even with the latest update r233

    What can I do to fix this?

  • Thanks guys, great solutions, really helped to solve my problem.

  • Tricky.......... here is my attempt. https://www.dropbox.com/s/vbn9xluozgmf8 ... .capx?dl=0

    I don't know if this is a good way to go about it though, in terms of efficiency or logic.

    I've saved each imagepoints' angle difference from the center point to an array, then sorted the array to get the two points with the largest difference.

    EDIT: Updated original capx to clean it up, and now also works for any number of imagepoints/vertices.

    Thank you, this is what I needed.

  • I want to find the edges of a square depends on the position of the player.

    Here is a picture of what I'm talking about.

    1, 2, 3 and 4 are ImagePoints. So depends on the player's position, the edges are different. In the left one, 3 and 4 are the edges, In the middle 3 and 2 and in the right 1 and 4 are the edges. There are overall 8 possibilities, I just showed 3 of them. I would appreciate if someone make a capx file and uplaod it.

    Thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • R0J0hound Thank you so much

    I changed the color setting for Photoshop to my monitor profile and now it is fixed.

    Going to change color management for Windows and see what happens.

  • ryanrybot I used the image editor in C2 and it happens in all the browsers.

    SoldjahBoy I've tested with blue being (255) but it still shows purple when I run the game.

    let me explain something:

    I know this problem is not from C2 and there is something wrong with my GPU Driver probably.

    When I view the screenshot I've taken with the Windows Photos, the right square is blue and the left one is purple. However, when I view the screenshot in Photoshop or browsers like Chrome or Firefox, the right square becomes purple too. In Photoshop I don't even have the color blue in color picker. Look at this screenshot:

    See, there is no dark blue, it suddenly becomes purple.

    I have searched in Google for hours but I couldn't find a solution. Is it my GPU Driver? or maybe the problem is from Windows? I don't know. I shared it here to see if anyone knows what the problem is

  • So I was working with Construct a few days ago that I noticed the color blue appears purple when I run the game I was working on.

    Here is a image:

    Left in NW.js and Right in the Editor

    This shouldn't be a problem from Construct because I don't have this problem with my other computer. So now I'm really confused and don't know what to do to fix this.

  • Hi HessamoddinS ,

    1/ A Linux support is include, a Mac OS support is planed

    2/ For now, only leaderboard.

    3/ I work on a capx to show how it works. On get achievement is trigger when you check if an achievement is already unlocked by player(error = locked or invalid); On clear achievement is an optionnal feature: you can lock all user achievements (usefull for player who want to play again and redo all achievements)

    Thanks for your respond. My game just got Greenlit but I'm still few months away to the release date. Hope Mac support be added till then

  • I have some questions:

    Does it work with Mac OS and Linux?

    What's the difference between the basic and the original versions? (only leaderboard?)

    Is there going to be a demo or tutorial to show how and when to use Conditions like "On get achievement error" or "On clear achievement success"?

    Thank you

  • Tinyupload is a terrible upload site - it wants to install unwanted crbxo@p on my browser before making the capx available. Can you use dropbox for file sharing?

    https://www.dropbox.com/s/u86ly2znwgjt0 ... stBug.capx