MegaMente Br's Forum Posts

  • Yes, I have extensions. Also I used a anonymous browser and it worked. But i turned my extensions (Adobe Acrobat and Ad-Block) off and still not loading... hmmm

    But thank you for the idea and help! I really appreciate it!

  • It still can't load to me... :(

    EDIT: I was playing on Google Chrome and it failed to load, BUT when i changed to edge it loaded perfectly.....

    Ashley What can it be? Navigator problem or Scirra incompatibility?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For some reason, Scirra Arcade are not loading my game. There is something on it that is blocking it from loading?

    Game: construct.net/en/free-online-games/pixel-fire-22066/play

    Some info about it:

    There is third party plugin? Yes.

    Google Chrome Console Showing Error? Yes. CORS error.

    Wich plugin? Rex_firebase apis in general and Rex_bbcodetext.

    Tagged:

  • Not working any of the tips of you guys...

    Its a Multiplayer game, and i made this way:

    Host Group:

    - On peer connected

    -- Normal Multiplayer Mechanics*

    -- Call function "teamup" with params (0= 0) (1= player.id)

    - On function:

    -- player var "team" = (function.param(0))

    --- pick by comparison

    ---- Compare player.picked count >= Max Player Per Team

    -------- Call function "teamup" with params (0= self.param(0)+1) (1= player.id)*****

    ----Else

    -------- player set var "team" to function.param(0)

    But for some reason here (*****) the function don't start again. Yes it is supposed to be a loop, I know there is loops made, but this is the only way i found right to do.

  • So did the other post resolve the problem?

    I don't tested it yet

  • This doesn't make much sense, could you rephrase or add more info. The values you provided don't add up to 12 but even ignoring that I don't see how instances with those values relate to a team of 5 players. The title of the post doesn't really match anything I've read.

    I wrote wrong! It was supposed to be 2 teams with 3 players and only 1 team with 2 players. Sorry.

  • So Basically in the layout would have like 12 instances of one object. But there are divided like this:

    4 of them have a Instance variable with value = "Apple"

    2 of them = "banana"

    2 of them = "orange"

    3 of them = "watermelon"

    So, basically its a Multiplayer Game, but i am trying to divide by team. As I said before. And I want to divide this team in 5 each per player and it can be totally randomly to enter a team, but I don't want any team to have 5 or more players so I have to change the team. I can't figure out how to inspect the team and see how much players from the team are and them if more than 5 move to another team.

  • If you go to the 3d Platformer Example from Construct 3 and move the player where 2 walls matches each other and spin like a crazy boy you got ejected from the wall by the opposite way 🤣

    Tagged:

  • I AM SOOO SORYY! Sometimes i mistake English with portuguese! I switched "Team" with "Time" (Time meains "Team" in portuguese), also "Time" is a unused variable that i am going to delete it! Also i was trying "For each (ordered)". Its a bit complicated for me to understand, does it take all variables that is jogador.team = func.param(0) or not? And i changed when call "teamin", its located at the "Peer Group" on a Trigger Once condition when the group becomes active. Also there is a Picture:

    https://ibb.co/pdMfwrr

    * I forgot to change the commnents, if you don't understand something you can ask me!

  • For your question: Yes if there is 10 players there might be 2 teams or more, or even be like: number of players per team if there is 10 online: (0,1,0,1,5,2,1,0) remind the default total is 9 teams, but if it's a custom room it can have custom players per teams amounts, BUT you can ignore that last part if its to hard, i can't even imagine a way to do that.

    I forgot to tell that "Time" is "Team" in english that is a instance variable for each player that works fine. If they are the same team there is no friendly fire.

    And the rest of the Function is just the Trigger:

    _On entered the room

    ____Is Host__Enable "Host" Group___Go to a random team (Doesn't metter, there is no other players)

    ____Else___Enable "Peer" Group___ Call "teamin" function with Param(0)=0 {Start the Loop looking for a team}

  • Param function works as a Loopindex: (Look at the Team Index at the final*)

    Start with 0, than check all the Players("Jogadors") from the team 0 and see how much do it have, if its over 5 call again the same function but add 1 to the 0 Param(loopindex) and checks the team 1 and continues until team 8, but if the number of players is equal or less than 4 the player can enter the team.

    And makes it dynamic for players who create custom maps that can choose bet 1 and 5 players per team.

    -------*-----****-------*-----

    I am also trying to make it random, but it seem REALLY complicated and a bit confuse so i just gave up.

    * I made Team Indexes because multiplayer only support numbers between connections and it might me a more simplier:

    • 0 = Green
    • 1 = Yellow
    • 2 = Purple
    • 3 = Red
    • 4 = Orange
    • 5 = Pink
    • 6 = Blue
    • 7 = Cyan
    • 8 = Gray

    Total of 9 times (0 based)

    Also, thank you for trying help me! I really appreciate it :D

  • Someone Pls?

  • Someone?

  • So I am trying separete teams in my multiplayer game but I don't know how to do it, here is what i did until now:

    https://ibb.co/5hD8WTz

    Tagged:

  • I am trying to do a basic Google Assistent, basically.

    So this is what I did:

    https://drive.google.com/file/d/1VZfKvWbsXDjo0cBhbnqTEnYrTxtTgMRI/view?usp=sharing

    But for some reason sometimes the system dont answer me properly. Maybe my fault, but anyway you can help me I will be very grateful! I commented the entire project to help you to help me! Oh and somethings are in portuguese, but I think you will understand by reading the comments.