PabloDev's Forum Posts

  • Wow!, Why so small?

    I just trying a capx of another guy from the forum with similar properties.

    He uses 426x240 with scale inner.

    It looks full screen on my device on preview on browser, but I didn´t compile to make a real test.

    Maybe is helpful.

    When I realized that maybe it was not the best resolution for mobile devices I already had too much work done.

    Thanks for the data of 426x240, I do not know if that could be of any use to me but I will investigate it.

  • What resolution are you using on your project?

    Scale outer?

    Use 400x240

    Letterbox scale

    This also happens without using crosswalk, I mean, compile in xdk without crosswalk

  • the Mnk

    I have tested on a huawei tablet 8 inch. I have margins top-down-left and rigth. Even close and reopen still margins on 4 sides. Not fullscreen

    Thanks for the info!.

    This is happening to several people, what am I supposed to do?

    Here I make the difference:

    http://imgur.com/a/P4Xrq

  • Emergency!, emergency! A bugged game created with C2 is in play store!.

    Please follow these steps to check the error, the error is that the game screen is reduced.

    This error is bugging my game!

    https://www.dropbox.com/s/ckz45bex7b7nk1k/Bug.apk?dl=0

    1 - install

    2 - run and check that there are no margins up and down in landscape format

    3 - press the task button in the background and close it all

    4 - run the test again and check the margins.

    If there is no error in step 4 experiment with step 3.

    I also uploaded a video.

    https://youtu.be/L6CAro8-6Pc

    Apk config Image

    https://www.dropbox.com/s/9lsfqcaieysdt ... a.png?dl=0

    Full screen is lossed in your mobile?

    IMPORTANT

    Just to clarify something

    I think there is a misunderstanding regarding what I mean when I say full screen.

    I mean that the margins up and down are busy but on the sides there are some very small margins.

    Conversely, when the full screen is lost, then the margins are also up and down and the sides are larger.

    You can see it in the gif I put before. http://imgur.com/a/P4Xrq

    When the yellow arrows appear the full screen is lost, when there are no arrows there is full screen but there are some small margins on the sides, those small margins I do not care but what I would like to solve is that you do not miss the full screen and get you run on all devices with full screen with these small margins at the sides.

  • Ok guys, thanks to all.

    I changed the trigger for "trigger once" and now it works even if it is in the "else"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That or should work when the trigger is true and a cursor is being pressed

  • Hello, I do not know why this happens, I am pressing right cursor + C key, this causes var to be 10 at the first tick, however the sprite is not destroyed.

    The sprite should be destroyed since var is 10 for a tick.

    https://dl.dropboxusercontent.com/u/60803633/testKeys.capx

  • Are you using the Browser object's 'request fullscreen' action? When are you calling it?

    I think you need to use a user input trigger with the 'Browser > request fullscreen' (like 'on any touch', or 'on object clicked' or something).

    If you are using 'On Start of Layout > Browser > request fullscreen', it could be ignored, and therefore your game wont open in fullscreen.

    I'm not sure it's really necessary, right now I'm generating apks doing minimal testing, everything works perfectly, there's always full screen and I'm not using "request fullscreen" with "on touch". I'm adding plugins and objects bit by bit to see when that error occurs.

  • I'm testing, so it seems, some plugin or something else is causing that failure. If I do a blank project using the same resolution and compiling it the same then the full screen error does not occur, so this makes me regret that some plugin is causing the screen to lose the full mode.

  • Ah ok, well it looks the same on my phone. I guess its not in full screen on my phone either that being the case? But I think it still looks good. I seriously didnt notice.

    No! That's not full screen.

    Maybe when he did some test he "turned off" the whole screen.

    I have to sort this out.

    I delete the following XDK plugins:

    Inappbrowser

    Splashscreen

    Those two plugins I always delete, I do not think they have anything to do.

    I'll see what I can do to solve this.

    I have the "fullscreen" box marked in XDK, it has always been this way but this only makes the status bar hide, it does not increase the size screen to occupy everything.

    This is the difference:

    http://imgur.com/a/P4Xrq

  • Is that YouTube video supposed to show the lost fullscreen problem you're experiencing? I dont see the problem. Your game looks the same on my phone as the video you posted. I am unable to recreate loss of fullscreen by sending your game to background or changing between apps.

    The events I use to control fullscreen in my game are:

    on the title screen (black screen that says 'loading', then 'tap to start') I have:

    'On any touch start'

    >Browser - Request fullscreen (Stretch - Scale outer)

    >Browser - Lock orientation to Landscape

    Then in XDK under Build Settings I have 'Fullscreen' ticked.

    Re marketing. Id be interested to hear if an AdWords campaign is successful for you. I am hoping to promote my game using free methods first, but Id consider investing in an ad campaign if I thought it would generate enough additional users to pay for itself or preferably create profit.

    Those black margins that are seen on the sides, besides up and down, should be very small.

    There are margins because of the resolution I used, that's true, but they should be much smaller.

    On my smartphone when I get the full screen these margins are very small, in the video and in that gif, the full screen is not running.

    I have discovered that this (seems) happens when you close all the secondary tasks with the game open, when you start it again, the full screen does not run any more.

    I'm going to prove what you said to see if it works for me.

    Thanks!.

  • Problem Description

    The sprite jumps from one position to another when it hits the right wall.

    Attach a Capx

    https://dl.dropboxusercontent.com/u/60803633/platformBehavior2.capx

    Description of Capx

    The capx contains a sprite with platform behavior and collision box edited minimally.

    Includes some green solids sprite objects.

    Steps to Reproduce Bug

    • Press and hold the cursor right

    Observed Result

    When the sprite touches the right wall, it magically changes its position.

    Expected Result

    The sprite should simply fall into the gap.

    Affected Browsers

    • Chrome: (YES)

    Operating System and Service Pack

    win7 64bits sp2

    Construct 2 Version ID

    R241 64bits

  • You can do it using the platform behavior and perhaps a couple variables for the floating. As far as not fitting into the box, you just need to move the bounding box of your player sprite in a pixel or two. This is why most people will use an invisible player box with their player animations pined to it.

    Thanks for the information, I'm right now with that.

    Regarding the other, I think it should fall without needing to change anything.

  • Okay, I'll try, I'm not sure it's possible.

    Another question, I think the sprite should fall into the gap but it does not.

    What is your opinion?.

    https://dl.dropboxusercontent.com/u/60803633/platformBehavior.capx

  • Problem Description

    At execution, the sprite does not appear in the coordinate indicated in Layout 1

    Attach a Capx

    https://dl.dropboxusercontent.com/u/608 ... avior.capx

    Description of Capx

    A sprite with platform behavior and some green solids.

    Steps to Reproduce Bug

    • Execute
    • Look at the location of the running sprite compared to the location in Layout 1

    Observed Result

    The sprite appears in a different location than the one indicated in Layout 1

    Expected Result

    The sprite must be located exactly in the same coordinate as indicated in Layout 1

    Affected Browsers

    • Chrome: (YES)

    Operating System and Service Pack

    win7 64bits

    Construct 2 Version ID

    R241 64bits