Posts

Corona-cation (Day 23)

Image
Refactoring... yay     Today I felt the full impact of all my impromptu decisions during the jam. Every, "oh, this'll do for now" had to be cleaned up and thoughtfully reworked. The majority of it had to do with the communication between buttons and the objects they activate. I had originally planned for there to be one or maybe two plate/button per stair/door. I was very wrong.     Today I was sent a screenshot of a prototype for level 6, and well, it speaks for itself... Credit: Destin LeClear     It became apparent I had to prepare for multiple buttons per object. I thought that it would do nicely if I had an array of buttons that could activate a door or something. Then I realized that to do that I would need to rework the activation/deactivation system, but then I would also need to be able to generalize activation objects, and I'm sure you can see where this is going.      I settled on the following system. One paren...

Corona-cation (Day 22)

Image
Post-jam fixes and tweaks     After the step back project was released yesterday I had some friends play-test. There were multiple bugs found and I got some good feedback. Today (and part of yesterday) I started implementing changes and fixing some of the more game-breaking bugs.     One of the first things I did was edit the player's movement. The friends I had play it thought movement felt floaty and imprecise. I fixed the floatiness by changing some of unreal's standard settings. I increased "air control" to .8 and that felt much better already. Now if you jumped you could actively make corrections instead of being helplessly stuck in mid-air until you were to land. I want to edit the jump more in the future and make it more like Nexus from last year.     I also messed around with the door collision because one of the biggest complaints was on level 3 when you had to push a box through a doorway it would get stuck 9/10 times. I fixed this by mak...

Corona-cation (Day 21)

First game of the year released     Today we finished our submission for the "Step Back" game jam. We expect to continue working on it but the game jam version is now released. It includes seven levels with multiple types of puzzles that get progressively more difficult.      I only did a few things today on the game to round out the features. The biggest one was fixing a small bug where if an object (door, stairs, etc.) could be activated by multiple buttons, the object would always be deactivated in reverse time. This was because one of the activation objects would not be interacted with and while reversing would always be setting 'deactivated'. I fixed this by adding a check to see if the value had changed and only set the activation state if it was changed.      I also found a humorous bug that would allow the player to fly. The premise is that if you have a pick-up cube you can pick it up while it's underneath you then lift it up a...

Corona-cation (Day 20)

Image
Too much progress     There was so much progress done today that I will struggle writing it all down here. Basically, over the four or so hours I spent on the game today it is functionally complete. The last thing we have left to do is make the levels and test.      The day started with me getting access to some art assets. I got a box, door, pressure plate, extendable stairs, and a test level. Within about 30 min I had the pressure plate extending the stairs and opening doors when a box was pushed onto them. The code is most likely the messiest I have ever made and probably equally inefficient, but hey, it's a game jam so who cares.      I put what I had into the test level to show the team and they said that we needed to have big boxes that you could only push and buttons that you could press and both would reverse with time. On top of that I needed to be able to pick up the smaller boxes. This last feature I was relying on another pr...

Corona-cation (Day 19)

Git Commit: 439d000 Git Commit: b2162a7 "Finished timer and added post process effect" & "Added time reversable cubes"     Today took a bit of a turn from what I expected yesterday. I thought I would be working more on the multiplayer system for top-down game, but instead I started work on a game jam project. The theme being "Step back" our team decided on a puzzle game where time steps back every so often, helping or hindering you as the player.      I took on the job of doing the time mechanic. As far as I know, the only objects that will reverse will be the boxes. The boxes reversing will in turn activate or deactivate pressure plates opening/closing doors etc.      Today I started a first person project and added the timer and the boxes. The timer was very simple and is controlled by the level blueprint. It loops a timer and the timer on the player's screen will follow that timer, getting remaining time if time is going forw...

Corona-cation (Day 18)

Success with multiplayer ft. Steam     I spent all of today looking more into how to get internet multiplayer working. The first attempt was the port-forwarding from yesterday. Either I did it wrong or it didn't help. I thought I opened port 7777 but after I did nothing changed and I wasn't able to connect to anyone. It's possible that the other person also needs to have a firewall rule for the same port? But I don't know.      The next thing I tried was the advanced sessions plugin that I originally tried with for the creative jam. This time I went through the setup step-by-step to see if I could get it to work. Very long story short... it (and I cannot stress enough)  FINALLY  works. I followed along with this  tutorial series up until part 7 and over 3 hours later it was all worth it.      There were some hurdles but I am overjoyed now that it works. The initial setup required adding lots of #includes to source files (on...

Corona-cation (Day 17)

Why is online so hard?     So I continued my adventures in networking and I have had one minor success. That success being that I figured out how to test an online session over LAN. That is to just not "use LAN" when finding sessions. It sounds simple when I say it like that but it's actually really great because now I can test all I want from home.      That was really the only god thing that I found today, everything else wasn't all too helpful. I tried going back to the IP based connection but that didn't work still. I tried using public IP's and no luck. I manually opened port 7777 (unreal's default port) in my firewall and still no luck. After I opened the port I tried again with the sessions system but that failed as well.      I have decided for the time being that I am going to try to use the sessions system just because that gives me more options readily without any extra effort. After I decided this I did lots of reading into th...