Artifact post: Getting Git working.
|
This week’s artifact: Integrate GitHub to the group. I begun yesterday by abandoning the old repository and creating a new one. It didn’t work so i tried to make another one. When that didn’t work either i realized that the Debug and Release folder weren’t the only ones who were not supposed to be in the repository. I realized i had been copying the Hidden folder Git as well so for the next repository (Number 4) i only added the other folders and Git did not crash(!) After getting that to work i shared the repository with Oliver and Leonard and looked into how the commits worked and the comparison system for the text based files. In the end i added my own things(Throw items) to Oliver’s code. And let me go on about this for a moment. I added the file to the correct folder, overwriting the old one in order to see the changes on the Git commit. So i bring up the Commit on one half of the screen and the Visual studio window on the other half. After finding a difference in the commit i went into the visual studio window to maybe add a piece of text i did not want removed, nothing wrong yet. But. When i click the GitHub window again it reloads the commit and half the time it scrolls the text all the way to the top. Not good for longer pieces of code! Anyways, overlooking the comparison issues today i continued and had the Graphical group members also install Github for easier Version management. Everyone got the program installed properly and managed to access the files. Perhaps a bit too good. When Simon attempted to compile the program(after getting the rights .dll files added of course) it worked. And that was the strange thing, it worked on his computer while mine were having unresolved external errors. I spent most of the day trying to find the issue before attempting to have the files sent from Simon’s computer to mine over Dropbox and they suddenly worked perfectly. All well and good we thought and we continued with our preparations before the pre-beta, finding some weird bugs. such as (patrolling)guards disappearing, the gun not making sounds when shot. We were looking into the issues when Bolt arrived and downloaded the repository to his computer as well. But then we realize that none of the bugs are present when he compiles the program and he also doesn’t have the “normal” issue of the game crashing when closing down which is caused by the sound. My only conclusion is that i must have either put some folders in the Git that shouldn’t be there or missed adding some that should have. In any case we have a working version for the pre-beta and we’ll have to solve the issues afterwards. I feel sort of bad that all the work i got done today was trying to fix the unresolved externals in which i made some changes to the parameters in the constructors related to creating thrown or dropped items. I had hoped to be able to work on the collision today. Today’s image is rare footage of GitHub freezing, again.
|
