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
Get Tower Trek
Tower Trek
Those commercials you've seen but real. Climb the tower and fight the monsters
Status | Released |
Author | Lava flow games |
Genre | Puzzle |
Tags | commercial-add, Math, Puzzle-Platformer, Remake |
Leave a comment
Log in with itch.io to leave a comment.