Some extra data about production


well to show you a little more, this is all the data of the game

i already show in past devlogs some of those codes, i wanna show you here some others that were implemented in the past devlog.


All the trigger have a similar function that react to the player collider

like you can see, this only activate with the Player Tag. In this case this is the trigger for the GLUE, THIS ONLY WORKS IF YOU HAVE LESS THAN 3 LIFE. but the data is similar to the objects you take in the game, like activade and effect, desactivade the trigger and object, and do changes to the STATIC DATA.


In this game i use 2 STATIC DATA.

* Data - It contains the life manager, hitted controller and the text data.

*Stats - this is use it to the save/load code and contain the collectives and some other values like the stats of dead, kill and others.


the Glue interact diorectly with the DATA Code, the Buterfly and script code interact directly with the STATS code, and yes im gonna show you the SAVE/LOAD data i use. I decide to implementet here cause in the last works i do i learn to use it for some little games so decided to test it here.

This have 3 Parts:

The PUBLIC CLASS

The SAVEPROCESS


and the LOADPROCESS


Like you see, this process is with the .save archive and the static code STATS.


With the static code that doesnt alter or erase when changing scenes is easy to control it to the multiples variables in the scenes, for example:

*the menu show show in EXTRA option the scipts and Buterfly you have.

*If you already found and get a butterfly if you replay the scene the butterfly appears in Black and White.

*The Menu theme change depends of the SCENE NUMBER that the stats have.


To be honest, after create the data of the first and second level with triggers and code, the third level was easy and fast to create.

Just think in the locations of the collectives, enemies and others.


Extra data:

I reupload the game some minutes left to end the JAM cause found some LAST MINUTES BUGS

*Third Level: One Trigger was bad located so never get in (Lucky this trigger was information and not let you trapped in the scene) (Unlucky i dont change the TEXT and appears with the info of the Second Level xd had to change that xd)

*Pause Menu missing data, at the end created a PREFAB with this to easily edit and aplyy to all, but in the scenes there was a missing code so thee xit button wasnt working but now is fixed, the loadscene wasnt found cause that code is not saved in the prefabs, is from and outside code in the scene.

*Butterfly error show, the butterflies works good, but get a mistake in the SHOW BUTTERFLY DATA in the EXTRA MENU, where butterflies showed dont represent the real buterflies that the static stats has.

*I know there could be some bugs in the battle mode, but this stay for time production, the AI is a simple development and needs more work to avoid some errors like walks without the animation, or freezee you when hitted for a short period of time.


Some extra things:

I love something in games and are the EASTER EGGS, so i hide 3 of the in game, but referente to me like this

Are another in the 3rd level, in the projection room you can find (spoiler) the 4th scipt and the video made for JFBr - Dread, this room is full of enemies.


What about this work and JAM

I really love the development of this, and yes maybe i complicate myself with much data or things to do, but im happy that complete it in 5 days.

Let see what do you think about it, is not a casual game, and was a little heavy at the end, maybe i consider to compress data in a future upload.


So that was all hope you like the game and get all the secrets hide x3

Files

https://www.mediafire.com/file/h9dwy2uaovbafh3/Breakable.zip/file
External
Nov 15, 2021

Get Breakable

Leave a comment

Log in with itch.io to leave a comment.