fldr's Forum Posts

  • Problem Description

    FirefoxOS is not requesting fullscreen like other browsers

    Attach a Capx

    i made an capx to show that

    Description of Capx

    everytime you touchd the sprite and its not fullscreen mode the counter goes up, that means if every thing is ok the counter should go to 1 and then the game should be in fullscreen (works like this on every desktop browser here).

    on firefoxos you can touche it very often, the counter counts which means the touch event functions correct, nothing happens, but the curious thing is, it will eventually request fullscreen, but never at the first time, most times it needs over 10 touches to do so.

    First thought was that it just needs much time but if you only touch it one time and wait nothing will happen, not even after a minute.

    it seems that it only fires at doubletouch, like double click

    Steps to Reproduce Bug

    • export capx or go to http://fldr.de/geck/
    • touch the sprite
    • see the counter go up every touch but browser not requesting fullscreen every time

    Observed Result

    after a random number of touches the firefox browser will eventually request fullscreen

    Expected Result

    to request fullscreen on first touch like most other browsers do

    Affected Browsers

    • FireFox for FirefoxOS: YES (tested on gecko 1.1, 1.2, 1.3, 1.4 and 2.0)

    Operating System and Service Pack

    FirefoxOS 1.1, 1.2, 1.3, 1.4 and 2.0

    Construct 2 Version ID

    175 but i dont think that matters

    i can make a video if you dont have an device to test this <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • oh sorry i misunderstood you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thats because the inspect mode itself is very resource intensive

  • in the game im currently working on the debugger/profile says draw call: 0.6-1.1 events: ~0.5, but the fps is dropped to ~50 and the game is laggy

    while in firefox its constant 60 fps, normally it was the other way around, chrome always performed better for me while firefox most times had some glitches and lag

    Ashley spaceblaster test gets a score of 60 on firefrox here und 58 on chrome, that means it runs smooth but not as good as in firefox while my firefox always was a bit laggyer then chrome, especially when much stuff happens like in this test

  • yes, but it does nothing, like old android standard browser on my xperia ray

    i recently updated my firefox phone from 1.1 through all versions to 2.0 (that means 1.2 ,1.3, 1,4. and 2.0) and it doesnt work in one of them

    i use an event like 'on touched sprite' - 'browser request fullscreen'

    could it be that the implementation in construct2 is not what firefoxos needs?

    https://developer.mozilla.org/en-US/doc ... creen_mode

  • i think i would add an extra animation with this one sprite and make one event like yours (but not set frame, use set animation) together with 'system-trigger once'

    other method could be to make an event, 'set frame to 3' and 'set animation speed 0' and 'system-trigger once'

    edit: little stain is always some seconds faster then me ^^

  • the event also fires every tick while x<=234 if you dont add 'system-trigger once'

  • what exactly do you mean? the grey "bars" ? posting the original image for that background could help

  • here is what i use for this

    var_int_player is the "speed" of the paddle

    y: 109 and 319 are my boundaries, the paddle shouldnt move any further if it reaches this position

    for your game you have to change y to x and the value for the boundaries.

  • Hi ashley,

    that bug list is a fabolous idea and i voted for all the chrome and gecko bugs!

    could you please add this to the gecko list?

    -request Fullscreen in Firefox OS Browser

    i already made a bug report under https://bugzilla.mozilla.org/show_bug.cgi?id=1033338 but am not sure if i did it correct

  • do you need that money to put food on the table while developing this game or do you need to buy something for developing this game?

    i recently finished a break out game and could possibly help you with the logic and stuff, also Kenney (http://kenney.nl) released some nice graphics for that kind of game to public domain (CC0), so they are free of charge.

    when you finish the game you can easily get 200$ from FGL (http://fgl.com) for implementing theyre API which is 40% of the money you are aiming for.

    Hope that helps you!

    btw where do you come from?

  • No issues here. As ever for a first stop visit chrome://gpu and see what it says. Maybe the update blacklisted your graphics card/driver.

    it says: GPU rasterization is whitelisted on N4, N5, N7 and Moto X: 362779

    Disabled Features: gpu_rasterization

    will this be solved with new drivers or better graphicscard ?

  • yeah i know about the problems when mixing different types you talk about, thats why i suggested to reduce the family actions in case of mixed objects to only what they have in common. what i dont understand is whats the difference in setting opacity or x coordinate or setting size (by self.width*2 or something similar) in the different objects.

  • Hi,

    it would be totally great if things like tiledbackground, spritefont etc. could also be packed into a family together for doing basic stuff like setting coordinates, visibility or opacity.

    my imagination of that would be that when you create a new family you can choose if its the normal family (like it always was) or just a "basic" family where you can put in all the different objects together that has only the basic propertys like size, coordinates, visibility and so on that they all have in common.

    what do you think?

  • Hello there,

    Ashley

    Here's a suggestion which could improve re-usage of C2 events and help create a simple modularity:

    E.g. User tries to paste events into another project, but an object, variable or the whole object type is missing.

    -> Modal window pops-up with the following options:

      1. If an object of the same type is missing let the user point to another object of the same type = "replace object"
        1.1. If the pointed object is missing some of the components from the object of the pasted event - let the user create all the variables and behaviors automatically -> confirm auto creation or manually
      3. If a variable is missing: 1) let the user point to another variable or 2) create a variable 4. If an object type is missing let the user create the missing object type by suggesting that object type 5. Or one button to create all of the above automatically (add new variables, add behaviors, create objects and object types)

    +1, that would be sooo helpfull to me because i often use same eventlogic but with different objects or instance variables

    this feature would be totally great and save me much much time