Eight Directional Sprite System View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2017.4.5 or later
Package size
459 KB
Files
18
Favorites
174
Views in the past week
60

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Eight Directional Sprite System

by Healthbar Games (opens in new tab)

5.0 / 5 · 5 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 5
4 stars 0
3 stars 0
2 stars 0
1 star 0
  • Price drop
Discount -100% Previous price $8.00 Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Eight Directional Sprite System, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 8

Eight Directional Sprite System screenshot 1

Eight Directional Sprite System screenshot 1

About this asset

EDSS is a system that allows you to display 2-dimensional sprites in the 3D world in the way used in some 3D oldschool FPS games.

INTRODUCTION

The creators of the first computer games implemented in 3D technology, encountered many problems related to the efficiency of the equipment at the time. The mere rendering of the three-dimensional world of the game absorbed most of the computing power of the computer without leaving it much for the rest of the calculations.

Therefore, to display characters and other models, it was decided to use the so-called sprites (ghosts) or two-dimensional images representing a given character or model. It was so-called 2.5D characters.

The character's animation took place through a fast, continuous replacement of the images of a given sprite. For the character, eight separate animations were prepared - one for each of the eight different directions in which the character could be oriented.

All pictures for a given character or game model (all animations) were stored in one texture - so-called atlas. The clever system of calculating the image number allowed to display the picture appropriate for a given frame of animation and the angle resulting from the direction of camera observation and the direction in which the given model was returned.

DESCRIPTION

Each EDSS actor consists of two separate objects. The main object is responsible for the position and orientation of the actor in the scene. The second, subordinate object is responsible for the graphical representation of the actor.

The Actor Billboard component deals with determining which image from a given animation should be displayed by the Sprite Renderer component and additionally it deals with setting the sprite so that it always faces the camera. Just before rendering by the current camera, the Actor Billboard component will use the current actor vector to determine the image to be displayed.

In order to display the actor on the screen, the Actor Billboard component should be supplied with the animation to play. Animation in EDSS contains a sequence of frames (images) to display in the right order and at the appropriate speed.

In the case of 8-directional sprites, each frame contains a definition of eight pictures (one for each of the 8 directions of the character).

However, in the case of 1-directional sprites, from each frame, only one (the first) image is used. For static actors which do not have any animations, you can create the Actor Animation with only one frame.

Healthbar Games

[email protected]

www.twitter.com/HealthbarGames

www.facebook.com/HealthbarGames

www.youtube.com/channel/UCiCdifoEyr7FVLtELkuM_Qw

From the publisher's Asset Store listing.