Tower trek is now play in browser!


I previously made The Overgrowth play-in-browser, and now Tower Trek is too! making games play in browser should be faster now that I have the copy-paste-able elements, although it's not as easy as adding the element into the game. 

For example, the death screen effect was achieved in the following way: Upon death, you would be transported to a "game over" sort of room. The reason you could still see the game frozen in time in the background is because of a fundamental concept of code (or maybe something more specific than "all code ever" like my game engine for example). Most people know that videogame characters don't actually "move." Instead, they teleport in small distances. Let's pretend we have a character named Bob who's x is equal to 0 and we tell our game always to draw a picture of Bob at the coordinates x,0. Now lets see what happens if we tell bob to constantly add 1 to x. The expected result is that bob is now drawn at the new x value, which does happen. However, we did not say to erase the old image of bob, and so what we get is a sort of trail effect. So how come this doesn't happen in games like this one? The answer is simple; everything new is drawn onto everything old, and so the background covers the old image of Bob, and then the new image of bob is drawn on top of it. Back to Tower Trek there is an option in my engine to erase this stuff, but I see no reason to use it. What I was doing was not giving the death screen a background (except for the text) thus allowing you to see what was behind it. However, In browser this effect broke (IDK why (but but kinda makes sense) ). Since the text was white on a white background it was not very visible, so I needed a solution. I was thinking about a way to make it so that if you were playing the downloaded version the effect isn't broken because I forgot that the browser version would be a separate game. I decided to make the text black because "the simplest solutions are often the best". However, this was just one (of the like 2 lol) of the problems I faced when making the game play in browser.

The current plan is to make all my games have play-in-browser variants if possible. Once finished, the plan is to announce this on youtube.

Files

Commercial Game 1.2C.zip Play in browser
Jan 02, 2024
Commercial Game 1.3C.zip 1 MB
Jan 02, 2024
Commercial Game 1.zip 3 MB
Oct 26, 2022

Get Tower Trek

Leave a comment

Log in with itch.io to leave a comment.