Soulmachine's Recent Forum Activity

  • Hello.

    I've made some multiplayer games but they seem not to be able to connect between the host and peer any more - and I wonder if I missed some update or something to the multiplayer object?

    There's 2 multiplayer games I've made and I've uploaded them to my website.

    They worked perfectly about a year ago - but not anymore.

    They work if I open two browsers on the same computer but if I try to connect from another computer, or phone the peer cant connect to the host.

  • Hello

    the system expression: loadingprogress will not show/work in Firefox

    I've made a little updater with a progress-bar going from 0-100%

    Everything works perfectly fine in Chrome, but not Firefox.

    As the update is loading I see the progress meter going from 0-100 in Chrome, but in Firefox it sits on 0% and will not change at all until 100%

    I've tried to solve this for a long while now, anyone out there with similar problems?

    Thanks!

    ///Soulmachine!

  • Construct 2 games updates automaticly in the background but the update will not show until you have reloaded the game in the browser.

    You could use the "Browser" On Update Ready...

    And use that to show a reload-button, that reloads the browser when clicked.

    Kind of like this:

    This is the simplest way I can think of to do it.

    The downside is that - the player may have started the game and played for a while when the refresh-button gets visible. And if the player clicks it, all game progress will be lost.

  • You could use the Browser-function/plugin to Update your game... You can make an auto-update.

    Perhaps this is helpful: https://www.scirra.com/tutorials/70/off ... onstruct-2

    The Browser can register if there's a newer version of the game compared to the version that is in the cache, and then update the game.

    I use this to update my games.

  • The bullet behaviour works very good for ships - as they are always moving a direction. Like a sailing ship that gets affected by the wind. Then you only have to turn clockwise or counterclockwise to steer the ship.

    My ship do not have engines, they are sailing.

  • Hello.

    I get different results in Firefox and Chrome - when I use the system: loadingprogress to show progress when updating the game.

    I have a spritefont saying "Downloading Update...( xx% )" and also a Tiled Background showing a progress-bar.

    The events are set up in this fashion :

    ***Every tick

    * Set text to: loadingprogress * 100 %

    * Tiled Background set width to : loadingprogress * 100px

    ***On update ready

    *Set reload-button visible

    *Set reload-button enabled

    In Chrome both the text and bar shows the percentage loaded - but after they've reached 100% the reload-button never shows.

    In Firefox both the text and bar do not show the percentage loaded at all - but when the update have finished the reload-button shows.

    What to do?

  • thanks for your reply oosyrag

    Ok I understand.

    I was looking for that the player could not pass through the solids, more like slide along the edge that you describe.

    I have small navy-vessels I do not want to be able to travel on land

  • I was also looking for the Doppler Factor and the Speed of sound - Audio attributes that are mentioned in the manual.

    I didn't know they've been removed

  • Hello!

    If an object has the 8 Direction-behaviour, does it have to be moving by it's own controls to be able to be blocked by solids?

    For Example: If I have an object with lets say bullet-behaviour, and then I pin the object with the 8Direction on to that object.

    ...if I do that it wont be blocked by solids... right?

    A problem came up for me, when I already had created a player and been working for a long time with the game - but now I needed to make the player so it gets blocked by solids. The problem is that I already made my collision polygons for my player work for the game... Like for when the player gets hit by things and so on. But those collision polygons does not work for blocking solids. That's because everything gets real weird with the polygons I have.

    ...So I thought I would make a small round object and pin that to the player and have that work as an object that gets blocked by solids. And put the 8 Direction-behaviour to that object. But it didn't work. It just go right through solids.

    It seems like I have to put the 8 Direction to the player itself for it to work :/ But if I do, I still have to make a separate object and pin that to the player and have that work as collision polygons for when the player gets hit by things.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dropbox.com/s/gij66sod0b8ml2d/teamupWithTheRedDevils.capx

    haha thanks 99Instances2Go

    Nice little capx.

  • Put the instance variables in the Family, then they are available from both Family and Object.

    YES, now I understand I think I've got it now. THANKS!

    You saved me

  • Hello blackhornet <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I think I understand, I'm experimenting with it right now. I haven't quite learned how the mechanics work yet with the Family instance-variables.

    Can I make an instance variable in the Family ..say called. Team and make the individual objects set their own value in there - and later if I pick that object by UID get the variable they stored there?

    I also found an interesting tutorial on the scirra-site that may be helpful: https://www.scirra.com/tutorials/556/un ... o-families

Soulmachine's avatar

Soulmachine

Member since 27 Oct, 2013

None one is following Soulmachine yet!

Connect with Soulmachine

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies