Bl4ckSh33p's Forum Posts

  • Hi. Until the last Update I just showed a progress bar and text when "is downloading update" was fired. But I added a new loading screen and now it seems if there is an update it always shows the loading screen, load all new updates and then proceed when "on loader layout complete" fires. It seems this is the same as "On Update ready" because loadingprogress is 1 for both cases.

    I tried to change/show some text when an update is loaded but the text does not update and always shows the default text even if an update is loading and the progress bar is moving. I tried a few things with variables and wait commands but could not find a solution, yet. It seems "Is downloading Update" is also fired when the game is loaded for the first time. Is this right?

  • One more thing: the "is overlapping object" works fine in most cases (line 4) but in the example below (line 5) it does not work. It opens the URL even if it overlaps (is behind) the "Erfolge" sprite. Any ideas why? Clicking on the "MedienSprite" or "Erfolge" (both are overlapping) opens the webpage and jumps to a new layout at the same time.

    The "Erfolge" Sprites are on a global layer on another layout. Does collision check not work for this reason?

    The TiledBackground is on the same layout and works fine.

    And it seems hiding a layer does not hide the objects. (could be a feature or a bug, but I think it may be intended)

    The above code is executed even if the layer where the "Erfolge" sprite is on is hidden. So even if you cant see it the sprite it is "visible" as long as you dont hide them individually.

  • Thank you very much! I thought about so much things but forgot to try the IsVisible condition. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I added a scrolling feature if you swipe or click and drag to scroll from top to bottom of the page (it moves all elements with dt*Touch.SpeedAt(0)). Some clickable objects are hidden behind the logo and navmenu on top. So I think I will try to set all objects with Y < X to invisible to prevent clicking on them and make them visible again if Y > X. Or does anyone have another idea how to do this?

    You can see it here: http://galciv3.bl4cksh33p.de (good example is on "Datenbank" in menu on top and then on "Medien / Wallpaper". When you scroll down, the images behind the navbar are clicked when you click on another menu item. Maybe "is overlapping object" does work, too?

    /Update: I added an inverted "is overlapping object" and it seems to work fine. The only "problem" is that images which are only partially shown are not clickable anymore because part of them is colliding/overlapping the tiled background on top (behind logo and navmenu).

    I think its ok for now but if anyone has an idea how to check if an image is partially behind an object or completely, I would be glad to hear your ideas.

    This works great for Sprites, but Textobjects have no "is overlapping" condition so I can't do it the same way for them. Any ideas?

  • Hi. I have some hidden objects and layers but they register touch and onclick events. So if an object is not visible it can still do something if you hit the spot or even if it is behind another object. Is it possible to disable this behavior so it does not get clicked if it is hidden behind another object or invisible?

    Someone told me I should "disable collision" but this did not work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Looks great! Hope to be able to see more of it soon.

  • Hi! There was a big update with the media section and basic race info. More will be added soon!

  • Hi! I just wanted to suggest to allow editing the index.html in Construct to add things like counters, google analytics, ads, CSS or anything else inside of C2. As soon as you export your newest version all custom code is overwritten and you have to add it after every build.

  • looks great!

  • Very nice!

  • My new Galactic Civilizations 3 Companion App (German):

    http://galciv3.bl4cksh33p.de

  • The new Nav menu is live now. > http://galciv3.bl4cksh33p.de

  • Thanks, but the intro video was made by Stardock.

    I will try to improve the menu on top and create a menu like Windows Phone has. With drag&drop horizontal scrolling and pinning the objects to the one you drag to move all of them at once. The current buttons are too small.

  • I added a "skip intro" button and it works to continue on the next layout but when I show another video (database > gameplay) its just blank and nothing happens (when on home screen).

    I have a webm and mp4 file specified so it should work on all platforms?

    /Update: It seems textareas are not working either. If you click on "Über" (About) there is a textarea with text and you can scroll down if it is shown in Safari. But when its on the homescreen as app it does not scroll. Is it possible to fix this somehow?

  • Not yet. Simple tracking how many people visited the page should be enough so I tried to add the tracking code directly.

    I will take a look at it but it would be nice to know if it "should" work if you just add the code on index.html.

  • Hi. I added the google analytics code on bottom of the index.html generated by Construct2 but it does not seem to work and when I show the sourcecode in Chrome the code is not there at all. I uploaded the index.html a few times to be sure to have the current version on the server but it does not seem to show up in the source. Is this only some server/cache problem or does google analytics script not work on the index.html file?