gamegen's Recent Forum Activity

  • if you have two frames of animation and you want to animated it manually you should set the animation speed to 0

    But you could do a similar effect by creating another animation, and just switching to that animation using set animation in events.

  • Like this?

  • Best idea I have would be to set 8 Direction's Set angle to No. Then everytick Player Rotate towards Angle, and use Player.8Direction.MovingAngle, and set the degrees to how ever fast you might want. Might look odd.

  • construct.net/en/tutorials/savegames-11

    You could also use local storage Object, but that might be to complex for your use case here.

  • First Problem: So you want to have 8 players playing 4 games at the same time. Those 4 games should be in separate Multiplayer rooms, so only 2 players are connected.

    Second Problem: You still want 8 players not two. So we need a lobby room. For them to come to first, and after their match.

    Third Problem: We need to remember who in the lobby we have played against, yet. Since we know everyone has a unique Alias when connecting to a room lets store that. To get around constucts storing stuff between rooms, I would suggest storing it to Local Storage.

    Fourth Problem: How do we get back to the lobby Room? Lets store the lobbies info in local storage as well.

    Fifth Problem: Grouping, We know what games people have played against each other. So we just have to loop through our players and find the ones that we haven't played with yet by checking each's local storage List of alias, Then set up and join a room with that player. (this part takes the most code work and will kind of suck, as you need to pass info back and forth across the network, which is always a pain.)

    I hope this example architecture helps..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • If you are using the New Tile Movement Behavior, it will only permit your sprite to go to whole grid spaces. So this would be the closest it could get before being in the same grid space as the solid block. If you wanted the grid spaces to be smaller you could change the size in the properties bar under grid width and grid height.

  • TLDR It doesn't work. It almost does though.

    The set up to get "Git" functioning with construct is a bit of a process. First we need Folder-based Projects which are only available on the stand alone exe and windows store app. Now the windows store app can't actually create folder-based projects because of Windows 10 permission level, probably should be fixed in the future update. So Stand-alone Exe it is.

    Next create a Git Repo, I used Github. We used a mix of Github Desktop and Gitbash to manage merge conflicts and commits. After cloning the new repo, I saved the Construct 3 as a project folder inside the cloned repo, works great. I can make changes and commit them to Github. Git loves the .json files.

    Now issues when collaborating there are many merge conflicts. So We added a .gitignore and ignored *.uistate.json As I believe these files are only used for constructs built-in Ui rendering sizing info. Also they are a single line and git hates that because git manages changes line by line. Most merge conflicts go away. Not all but fixing merge conflicts is pretty painless. But you can't see merge changes till you relaunch construct project. So we relaunched the project. Now, when you select the project.c3proj file construct yells at you because the project file is no longer valid.

    Speculation: I believe the issue is that when either person on the team adds a new layout, event sheet, family etc it get tracked in the project.c3proj file and construct has no way of checking on start up if new things were added from else where like from git, and modifying the project file to reflect new files in the directory. So it says the file is invalid. For slightly more in depth info, invalid file error only appears if there is a merge conflict within the project.c3proj file.

    Conclusion: Construct is great to use with git if you don't plan on using branches, or team members. As git still allows you to save versions and roll back to those with ease. But since with the above issues can't be used on a team or with branches.

gamegen's avatar

gamegen

Early Adopter

Member since 28 Mar, 2017

None one is following gamegen yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies