Showing posts with label games. Show all posts
Showing posts with label games. Show all posts

2021-04-16

How Super Mario Bros. Does Scrolling

Disclaimer: This article was written as a YouTube Video script, and hence may make reference to audio of visual elements not available on this page.

Super Mario Brothers, released in 1985 is probably one of the most famous video games of all time, spawning countless incarnations and spin offs. Super Mario bros helped to define the modern side scroller and platformer genres. It’s simple mechanic of trying to get from the left off the level to the right by jumping on platforms whilst avoiding obstacles helped to cement it into the hearts of people everywhere. 

Before we get into this video, YouTube says that only a few percent of you guys watching are subscribed. So if you enjoy this video, don’t forget to subscribe. YouTube also has this glitch that unsubscribes people from channels that they are subscribed to, if you think you’re already subscribed, don’t forget to check.

So, let’s get back to the video…

So how does scrolling work in Super Mario Bros? One thing to keep in mind that compared to many modern computers, the 8-bit NES is fairly low powered, utilising a variety of the cheap 6502 processor that was popular at the time. Another thing to keep in mind is how graphics on the NES worked. NES games worked on the basis of a 256x240 screen. Everything that you saw on screen was made up of 8 by 8 tiles in the background, which combined into 16 by 16 groups of pixels called blocks. 8 by 8 or 8 by 16 sprites could be placed on top, which could be placed anywhere, although only 8 of these can be drawn in a given scan line.

Many early games on the NES did not even feature scrolling, instead opting to use static screens for different levels, or games like 'The Legend of Zelda' only scrolling under controlled conditions such as when changing between these static screens.

One thing that you’ll notice playing the original Super Mario Bros is that the screen can only scroll right. As you run to the right, the screen scrolls with you, but if you decide to go back the other way, the screen doesn’t scroll back with you and you hit the side of the screen. If a power up happens to go off the left side of the screen, you’ve lost it.

This mechanic of the screen only scrolling one way is intrinsic in simplifying how scrolling works, in order to allow for Super Mario Bros. to have clean scrolling like it does.

Super Mario Bros levels can be quite long. The NES can not hold an entire level in memory, instead it can only load a much smaller section of the level into memory. It holds the loaded section of the background in what is called a name table. The NES can hold 4 nametables, which consist of one byte for each 8 by 8 tile contained in those nametables, as well as space for storing colour palette information for the background. Each nametable consists of 32 tiles in width, by 30 tiles in height, for a total of 960 tiles. This is 960 bytes in size, and the attribute table, which is what stores the colour palette information, takes this up to a total of 1024 bytes, or 1 kibibyte. A screen displayed by the NES uses one of those name tables, and the tiles from them are displayed in the screen.

Scrolling on the NES basically works by applying an offset to which part of the nametable is being viewed, and as the visible portion moves past the right-most part of the nametable, it loops over back to the start.

Now, the NES could use this for scrolling with one of these nametables, but then this would just be the same screen repeating over and over again, as this is the size of the visible portion of the screen.

Instead, scrolling on the NES typically uses what is referred to as mirroring, more specifically, nametable mirroring. There are a few different types of nametable mirroring, which all join up different nametables and are generally used when doing different types of scrolling. Vertical mirroring joins nametables on a horizontal plane to each other, effectively creating a 64 by 30 sized nametable, twice the width of what is visible on the screen.

This is all well and good, but this only accounts for a level two screens wide, unless you want to have the level repeat again. If you’ve ever played or watched someone play Super Mario Bros., you’re probably very aware that levels can be much wider than two screens. So how does Super Mario Bros. achieve having much wider levels?

This has much to do with the fact that only half of the nametable when using this nametable mirroring method is visible on screen. Because only half of the nametable’s tiles are visible on screen, this leaves the other half to have its tiles freely manipulated without this change being noticeable to the end user. When a row of tiles disappears off of the left-hand side of the screen, it can be updated with the tiles that come after the last tiles on the right hand side of the nametable. This process continues as the screen scrolls further, so that when the visible portion of the screen reaches the right of the nametable and wraps back around to the start of the nametable, the tiles there have been replaced, making it seem as though the level continues past this point. To answer the question why Super Mario Bros. only allows you to scroll one way, well the answer is that it is to simplify the scrolling process, as you only need to keep track of scrolling for one direction to replace tiles, as if you allowed scrolling both ways, you would also need to account for replacing tiles as you scroll left, which makes it a lot more complicated.

Of course there are games on the NES that do allow scrolling both left and right, and games like Super Mario Bros. 3 allow you to scroll in all four directions, but how that is done can be a topic for another day.

If you enjoyed this video and want to see more like it, don’t forget to like the video, subscribe down below and hit that bell icon, so that you get notified whenever a new video is released. If you have any ideas for future videos, feel free to leave them in the comments section down below.


2020-07-01

Where To Get Free DRM Free Comics in 2020

Comic books and graphic novels are increasingly popular among readers of all ages. Sometimes it can be difficult to find digital comic books affordably, and when you do, they can often be riddled with DRM that means you can't use them except on their website of app. DRM free comics allow you to use your comics however you want, and free comics fixes the affordability problem.

Comic Book Plus

Comic Book Plus is a site that offers free public domain comic books. The site has a wide selection of comics in different genres as well as US government material and educational comics, including some rarer comics. You can read the books for free online, or download them, although they require an account to download files.
https://comicbookplus.com/

Comixology

Comixology is an Amazon-owned service that sells digital comic books and manga. In addition to the content they sell, they also have a wide range of free comics, including some from major publishers such as Marvel Comics. Recently, the selection of free comics increased greatly. While many of these comics are only available to read online or in the Comixology app, some allow downloading in PDF or CBZ formats.
https://comixology.com/

Itch.io

Itch.io is an online community and store front mainly known for its wide selection of free and paid games from indie developers. Unlike the other similar platform GameJolt, which only allows games, itch.io also has assets, soundtracks, books and development tools, as well as comics. Itch.io has a wide selection of comics that you can download for free, most commonly in CBZ and PDF formats. Most comics that you can find on itch.io are direct downloads of files without DRM.
https://itch.io/

Panel Syndicate

Panel Syndicate is not a traditional online ebook store like the others on the list. Panel Syndicate is a pay what you want site that allows users to download DRM free comics and visual novels direct from comic book creators. There is no minimum price, so you can download all the comics you want on this site for free, and pay for the comics you like. One issue with Panel Syndicate is that compared to the others, it has quite a limited selection of comics to download.
http://panelsyndicate.com/

The Internet archive

Archive.org, or as it is sometimes known, The Internet Archive is a huge online library of free books, videos, software and sound recordings. The Internet Archive has a wide selection of comics that you can download, in a variety of formats based on what they were uploaded including PDF, CBZ, CBR, EPUB, etc.. The Internet Archive has a wide selection of public domain comics, manga and magazines as well as some more modern comics. Most of the comics on The Internet Archive allow you to download a DRM free copy instantly, but some books on The Internet Archive have waitlists to borrow, and to facilitate this, books that you can borrow do have DRM.
https://archive.org/

That wraps up the list of five great sites that allow you to get great DRM free comics for free, that you can use however you like.

2020-04-15

15 Ripoff Temple Run Games for Android


It seems like just a few years ago, that it was popular to play temple run, and if you were cool, or maybe if you weren't you would play some of the weird and wacky takes on the style. There are some fairly mainstream takes on the endless runner genre, but we will ignore those today to see if we can find some that are a bit less mainstream. A lot of clones appear to use the same template, with just slightly different assets. The list of 15 of these games is below.

  • Dark Temple Jungle Run
  • Jungle Run Lost Temple
  • Lost Temple Run - Endless Run 3D
  • Pixel Temple Run
  • Run Monster Run!
  • Spirit Run
  • Temple Final Run
  • Temple Final Run 2
  • Temple Home Rush
  • Tempe Horror Run
  • Temple Jungle Run Oz
  • Temple Spirit Run
  • Tomb Runner - Raider Rush
  • Warrior Princess Temple Run
  • Zombie Run HD

5 Free Pokemon Clones for Android



Pokemon is one of the most popular video game and in general, media franchises in the world. With this, it is no wonder that many people have sought to emulate it's charm, or just straight up ripped it off. This article is a list of the top 5 free Pokemon clones for android.


Pet Dex
Pet Dex is a very much Pokemon inspired game, with the characters being directly ripped from that game. It is a turn based strategy game, much in the same style as those automated battle games, where you go after enemy after enemy, and level up your team. These games tend to be great initially, but some may find them boring after a while if they are not spending any money.

Detective Trainer
Detective Trainer is very much similar to Pet Dex in that it is an automated battler game, but it is much of a more cartoonish style, and is not 3D at all. This game also takes other characters from Pokemon such as Misty and Brock. This game does not have a world to explore in the same way that Pet Dex did though.

Mon Research / Monster Versus
Mon Research takes the role of a city building game sinned to be Pokemon themed. It has Pokemon, as well as other characters directly from Pokemon, and uses them in a fighting similar very much similar to Pet Dex. These battles are much more entertaining that the other games, and the battles have much more visual appeal. There is also much more you can do with the Pokemon to upgrade them. If you like city building and upgrade games, this game might be one for you.

口袋决斗
口袋决斗 is a very close approximation to a modern Pokemon game similar to those on the DS and 3DS. One thing that you might have thought looking at the title is that it is only in Chinese, and yes this Chinese clone of Pokemon is only in Chinese, but that doesn't seem to be a problem. Much of the game you can figure out yourself without being able to read, and the dialogue with NPCs, at least at the start of the game isn't really important. It is a fun Pokemon clone, and very close to the actual games.

宠物基地
宠物基地 is another Chinese Pokemon clone. It is very unique, starting off with a phone call to Professor Oak. It then dives directly into a Pokemon RPG. It has many aspects similar to Pokemon, and you might find it fun.






How to Play Minecraft Alpha in Your Browser



For the 10th anniversary of Minecraft, Mojang now lets you play an alpha version of the game in your browser. To do this, simple go to classic.minecraft.net and you will find yourself at the menu screen to the game. This game is very basic in comparison to modern versions of Minecraft, only allowing you to play in creative, and appears to have some bugs such as water instantly filling low down areas, although it is still very impressive that it is working from within a browser. What is even more amazing, is that this version actually supports multiplayer.

2020-04-09

Where to Get Free Games For Your Site in 2020

There are many people who play games online in their browsers. It is a huge market, and that is why there are so many sites dedicated to browser games. The list is long including Kongregate, Newgrounds, gamejolt, itch.io, coolmathgames, and the list goes on. This type of site started in the 1990s and is still strong today, with no signs of going away any time soon. In this time there has been a change in technologies used such as Adobe Flash and Microsoft Silverlight, all the way to the current HTML5. Web based games are easily accessible to almost anyone and can be addicting whilst simple to run. The advent of HTML5 has even meant that these games can be played on mobile devices.

Because of this, it is no wander that webmasters want to use games to gain traffic on their sites, or even want to make their own gaming sites and platforms. While this may seem like a great idea to some, a major problem in this is getting content for the site, whether making games yourself, getting someone to do that for you, or licensing content. Thankfully, there are many large online gaming platforms that make games available to other websites free of charge. While some allow direct embedding, others provide downloads so you can host them yourself. There are also two technologies being used Flash, and the more modern HTML5. Embeddable games are useful as they are hosted by other websites, and do not require you to set up hosting for the game files.


Due to this I will be using a key for each site listed down below.

It will look something like this:
E|D|F|H
and will come before the name of each website. The key is broken up into four parts, E (embeddable), D (downloadable), F (Flash), H (HTML5). If a part of the key is green, then that means that type of content is available, if it is red, than it is not. So for our example key above, the website provides embeddable content, and it provides content both is the category of flash games and HTML5, it does not provide any downloadable games, as that is red.


E|D|F|H Miniclip
Miniclip is one of the largest online flash games sites. They also offer a wide selection of their games that you are free to embed on your website.

E|D|F|H HTML Games
HTML Games offers HTML5 games that you can place on your website. They have a wide selection of categories in games, mostly in the puzzle and board game categories. They offer both free games to embed if you keep the pre-roll ads, or you can license the games for around $400 USD each if you want to remove ads, add your own and get it branded.

E|D|F|H Kongregate
Kongregate is one of the largest and best online browser-based game sites on the internet. The site even has hundreds of games on their site that users are able to embed on their website.

E|D|F|H PrimaryGames
Primary Games offers a variety of games that you are able to add to your site for free. There are embeddable Flash games and downloadable HTML5 games. The page does not specify which gmes are which, so you will have to click on the title which will either take you to the embed code, or will automatically download the file.

E|D|F|H Free World Group
Free World Group offers a wide variety of games that you can use on your site. They offer iframe embeddable HTML5 games on the site as well as downloadable Flash games. It does not offer downloadable HTML5 games or embeddable Flash games. The embeddable HTML5 games did not load correctly when testing, so you might not want to use these on your site.

E|D|F|H Games68
Games68 is one of the larger gaming sites which offers over 317000 free online games. There are also thousands of embeddable games that you can use on your site, however they all seem to be flash based.

E|D|F|H playpager
Playpager is a a site that provides free puzzle and board games to play online. They have also made games available free to webmasters to embed online. They do not have much content for you to use, but they do have some high quality games.

E|D|F|H Gameflare
Gameflare is a site that provides a wide variety of free online games, and a wide variety of embeddable games, mostly WebGL based HTML5 games. Many games are similar to mobile games, and these games should work on mobile devices as well. This site also provides mobile versions of some specific games as well.

E|D|F|H embed
Embed supplies a wide selection of retro-style games, including a wide selection or arcade and card games that you can easily embed onto your website.

E|D|F|H FreeGamesJungle
Freegamesjungle is home to over 2600 flash games to play online. They also supply a selection of dozens of flash games that you can download and upload on your site, however they do not have any embeddable options. They also have a embeddable game bar link to their website that you can put on your website: www.freegamesjungle.com/add_gameroom.html.

E|D|F|H CrazyMonkeyGames
CrazyMonkeyGames is a huge online flash gaming website with a wide selection of flash games to play. They also provide a wide selection of downloadable flash games that you are able to submit on your website. However, there is no option to embed.

E|D|F|H FreeGamesForYourWebsite
FreeGamesForYourWebsite provides games for your website. I have not been able to get embedding to work, so you might have to test out these games before considering using this site.

E|D|F|H Flipline Studios
Flipline Studios has a wide selection of downloadable games that you can use on your website. All of the games are flash games that you can downoad and add to your site, none of them are embeddable. Flipline Studios also has the range of 'Papa's' games.

I have made another blog with a bunch of games from these sites embedded to show you what you can make with these sites without having to host any of your own games. Check it out on the link below:
https://freewebgaming.blogspot.com/

2020-03-01

Escape the Bathroom Walkthrough


A walkthrough for the Escape the Bathroom flash game by Addicting Games.






Collect the plunger

Click on the cupboard

Click on the cupboard again

Click on the baking soda to collect it

Click under the cupboard to go back

Click the right of the screen once to change location of the room

Click the odd tile out under the arrow

Collect the wrench to collect it

Click the left of the screen

Click on the toilet bowl

Click on the plunger

Click on the toilet bowl again

Click the bottom of the screen

Click on the top of the toilet. In your inventory, you will see the plunger head

Click the plunger head, and now click on the outlet that the chain leads into

Click beneath the plunger head to go back

Click on the small yellow handle on the right hand side of the toilet

Click on the wrench and click the handle

Click the spare space in your backpack (area with your tools in it) to put it back

Click under the handle to go back

Click the top of the toilet and click on the white handle

Click under the handle to go back

Click on the toilet bowl and collect your prize (the key)

Click the bottom of the screen to go back

Click on the mirror

Click the wrench and then click the bottom left of the mirror to brake it

Put back the wrench and collect the mirror fragment

Click the key and the padlock to open the cupboard behind it

Put the key back and collect the items inside

Click the bottom of the screen to go back

Click the left side of the screen

Click the top of the screen

Click the wood stick

Click the out of place roof piece. In enough pokes a hair dryer will fall out

Put the wood stick back and collect the hair dryer

Click the bottom of the screen

Click the right of the screen

Click the sink

Click the button on top of the screen to plug the drain

Click the hot water tap

Click the baking soda and click the sink

Click the tooth brush and then the water formula

Click the bottom of the screen

Click the left screen twice

Click the gray patch

Click the razor

Click the gray patch to reveal the code 45 and a backwards 3

Put the mirror on the right of the code to reveal the real code 45801

Click the bottom of the screen

Click the battery

Click the formula on the toothbrush and the dirty patch on the battery

Click the hairdryer and the battery to dry it

Click the wires

Click the bottom of the screen

Click the right of the screen

Click the safe with code locking system

Type in the code 45801

Click the wrench and click the yellow handle

Click the bottom of the screen to go back click on the bath tub

Turn the water on

Click the hair dryer

Click the water to drop the hair dryer

Click the left of the screen twice

Click the doorway

Give Some Support By Subscribing on YouTube

ads

My Thoughts of FUNA's Anime Adaptations

The Evolution of Funa’s Isekai: A Retrospective on Three Anime Adaptations The Isekai genre is a staple of modern anime, but few authors hav...