Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Amazing Work. How did you control your digimons Coding wise?

A topic by WonderLandSystems created Jun 14, 2020 Views: 429 Replies: 2
Viewing posts 1 to 2
(+1)

You are using Unity right? I am actually making a similar game. I was curious as to,how you made your Digimons. Prefabs and loaded with a list?maybe Scriptable objects for the base stats? I kinda wanna talk code so if you wanna message me that would also be ok. again, amazing job. looking forward to future updates

Developer

Hi! Yes i'm using unity for the proyect.

I made a SQL database with the data I need for digivolutions and stats and then a query generates a static C# class with all the data of the digimons.

The digimons are not prefabs, I load them on runtime from folders, changing the controllers where it needs to be changed.

Each individual digimon has a folder with it's sprites, controllers and animations.

I created a model digimon first with all the animations and everything I needed. Then with a custom C# program I made that uses this base, generates all the assests needed for a new digimon. All I have to feed it is the sprites and it autogenerates all the code.

I'm always happy to talk about the code, so feel free to ask and comment on anything about it!

that is amazing. I was wondering how it is that  you stored your data. I will look into SQL database. I dont have much experience with Unity so my code and set up is mostly using Scriptable Objects and a base prefab that gets filled in with the data from the result of a List of Digimon Scriptable Objects.  I was wondering how it is that you made up for size difference of each sprite,eggs are smaller than champion digimon but while playing the game i saw the all the sprites are roughly the same size.  I would love to compare methods. I saw the intro animation, the hexagons and it blew my mind. it is so smooth and reminds me of Digimon World 3. while the moving Background was a nice touch, I was actually thinking of doing that for the Home page of my digivice. was that an image that gets turned off and sent back to the beginning?

I found a couple of weird stuff with the game. The HP training doesnt really give a hint of anything to do.Something simplecould me making an image in photoshop or something similar with a small text that explains how to do the training. I dont know if the SpAtk and  SpDef are working. if they arent then nevermind. else, when pressed they just flash the screen and increase the stat.

The interaction between the places you need to go are slow and poor in quality of life. in the Bottom panel of the main page you could have smalls icons to move you to the Gym and Restroom instead of tapping on the location and waiting for the digimon to get there. at least for the gym since that will be a common location to head. Also, think about making a digi-farm. so when they go into the restaurant you can fill up with whatever it sells and you can feed your digimon right on the screen again without waiting for it to go all the way to the restaurant. 

I understand a lot of the choices are temporary but those are just some things i got right of the bat. I love the notifications! could you show me how to use them? i saw the, i wanna go to the bathroom and I couldnt figure out how to replicate it. Most souces i find say network connection is a must.

thank you for the great work. I dont know if you got a Discord. I would love to have you look at my game and test it out for me and stuff. I  dont have a girlfriend to help me XD and If you feel confortable answering some technical questions about android dev, sprite animation change in runtime, and I dont really understand what you mean by Loading the digimon from a folder.