Game
Blackthorne
4 years ago

To be able to use pixel art inside Unity we need to set the sprite Pixel Per Unit (PPU) value. But how can we set that for old SNES games?


Finding the PPU Value


image.png

The image above is using a grid of 16x16 pixels and shows before and after the player took one step forward. It's my assumption that one step forward from the player moves him by 1 meter in the game world.

Therefore, the images shows that he moved exactly 16 pixels to the right. This represents how long is 1 unit in the game world.

With that very important information, we can say that:

		
			16 pixels = 1 meter on Unity
		
	

Now we need to set this number for every sprite used in the game such as:

image.png


0 comments

Loading...

Next up

The past few months I was developing a side project to better understand how Mega Man X games work.

And this is the result of it:

https://bitbucket.org/nostgameteam/lua-game-scripts/

Using those scripts you can freely control the camera and player, show hitboxes, hide background etc

When starting a project to recreate any game is always a good call to research about the original technology powering it. This will help to understand better how the game works and how to implement it using new technologies.

After some weeks away, the first 0.1.0 version is available.

Small video demonstrating the new 2D Light System for Cyber Space stage.

Notice how X is lit by the floor and other stage lights. This is done using the new Universal Render Pipeline.

Maybe a day/night cycle can be done for other stages.

Working on some Post Render Effect for the Volcano stage heat distortion.

What do you think?

The level edition process for Cyber Space stage.

The process for each stage:

1. Get the stage reference using vgmaps

https://vgmaps.com/Atlas/PSX/MegaManX4-CyberPeacock-Area1.png

2. Rip all stage sprites and import to Unity, creating tiles

3. Place each tile using the Tile Editor

I'm starting a new fangame project today: https://gamejolt.com/games/blackthorne/599197

Chiaki Nanami!

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

Here's a peaceful little forest scene for this #screenshotsaturday, from the beginning of the game.