All the user interface output (graphics and sound) to be generated only on the client - you don't need to clutter the server file system with textures and sound files.All the game logic to only run on the server as that prevents cheating - you wouldn't want people able to install a client that changed their health or similar.Next time we will start setting up the MainMod file.In a client-server game, you ideally want: I hope that was easy to follow! If you have any question, don’t hesitate to ask in the comments! Also, if you saw any errors in the tutorial please let me know so I can fix it! git commit -m “Message explaining changes”.Now when you made changes you only need to run:.git push origin master This will upload your code to the repository you made earlier!.git commit -m “My first commit!” This will tell git to remember the state of all your files at this point in time.This will add all of the files in the current repository to your git repo. git remote add origin URL FROM STEP 3 This will tell git where to upload the code.git init This will initialize the git repository.If you are on Windows you can hold shift and right click in the root folder. Open a PowerShell/command prompt/terminal.Copy the URL it gives you, the URL should be in the following format:.Create a repository by clicking the plus button at the top right. To create a repository and upload your code follow the following steps: I’ll explain how to put the repository on GitHub, there are other websites where you can put it but I am familiar with GitHub. If you know how to do this you can just skip to the next part. You probably also want to set up a git repository so you can share your code and people can help you. Then make sure Build and Run is set to IntelliJ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |