-
Notifications
You must be signed in to change notification settings - Fork 37
Implement basic mechanics #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
VirtualDino
commented
Nov 1, 2024
- Implement basic game logic for handling hunger / strength. Hunger / strength increase when food / pills are eaten, and decrease automatically at set intervals which vary per Digimon. Hunger and Strength stats are reflected on hearts screen.
- Implement logic for overdose on proteins, set overdose limit (This stat affects injury ratio from battles).
- Care mistakes occur when Digimon is neglected after hunger or strength values drop to zero. A timer begins to track time passed and apply care mistake if no action is taken, feeding will disable the check until hunger/strength runs out again.
- Added variable to Digimon properties for the time that the Digimon goes to sleep.
- Added variable to Digimon properties for the required number of doses to heal the Digimon after it has been injured.
- Adjusted the value of strength added upon eating protein from 2 to 1.
- Add logic for overfeed,
- Properly handle weight.
- Handle DP count when eating protein.
- Handle max number of poops, apply injury when poop count accumulates to 4.
- Adjust poop frequency to be the same as the Digital Monster Ver 20th devices.
- Add basic sleep logic (WIP, partial implementation).
- Add new Digimon: Betamon WIP (Adding the sprites caused a build error, so everything related to betamon is commented out until I figure out a solution.
>hunger/strength increases when eating food or pills. >hunger/strength decreases automatically at set intervals which vary per Digimon. >the number of hearts on the status screen changes to reflect the current state of hunger/strength. TODO: >Add logic for overfeeding and care mistakes for underfeeding. >improve logic for hearts count based on logic for overfeeding and how the count is handled >confirm and correct the rate at which pills restore strength. >confirm if the rate of appetite/strength restore per eating session varies per Digimon, and reflect this in the code. >remove commented out code (I'm leaving it for reference as I changed some of the logic implemented by the original developer).
Feature(GameLogic): Implement basic hunger/strength logic
Feature(GameLogic): Overdose, Care Mistakes, minor updates
Game Logic: Overfeed logic, weight handling, DP count, injury, max poops
Fix poop timer
Add new Digimon: Betamon
Add basic mechanics for sleep
Sync updates into master
|
I'm not sure if you will see this, but I have forked your project and have been implementing the basic mechanics. If you would like to collaborate together I am more than willing to do so and we can merge my work into your repository with this PR, otherwise I will continue working on this via my fork. |
|
Hello @VirtualDino, I will go through your commits and check for violations of the established modeling. I already skimmed through some parts of your code and what i've seen looked good so far. So after checking the rest, i will approve the pull request. Hopefully we can work together on this project in future! Best regards Berat. |
Handle state and index
Sync develop with master branch
Sync time over wifi, add settings sreen and test screen, fix eating animations and name display, fix evo times, set sleep and wake times
Add greymon
Add Devimon to database
Update evolution handling logic
adds more digimon
Populate database
Populate database with more Digimon
Set digitations, update evolution logic, update injury handler
Add brightness setting, screen timeout, and adjust digimon display area
Add training mode
Add title card sprite for battle routine