Skip to content
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

Stats panel #96

Merged
merged 29 commits into from
May 22, 2024
Merged

Stats panel #96

merged 29 commits into from
May 22, 2024

Conversation

MaxwellCole9
Copy link
Collaborator

Major UI Overhaul.
-Menu rework
-Menu settings (simple- will expand)
-Keybindinds update + display
-Main Menu rework
-Nav bar rework
-Camera zoom + controls
-Select + deselect visuals and functionality
-Small button reworks. Visual consistency updates.
-Style updates.

Resolved:
#89
#94
#85

@MaxwellCole9 MaxwellCole9 self-assigned this Apr 25, 2024
Very basic UI trial

added label, shifted stat_counter to bottom left

fixed accidental viewport shifting

added label

Add PR build action

-Added action to build the module to verify that all PC builds compile correctly
-Fixed header capitalization so that builds would succeed on linux

Start button changes display and cells

Adjusted stats window styling. Nonfunctional as of now.

Added time stat and reset and menu button functionality

Added functionality for stats panel. User can now close and move the statspanel around the page.

Pause and quit functionality and rename ui elements

Added hotkey functionality for statspanel. Obeys menu functionality

adjusted click functionality, linked cell signal and applied cell stats.

Added in-sim menu functionality

Renamed exit to main menu to match functonality

Genome (#56)

Changes:
- CellState refactor
    - Added energy currency
- Moved some fields from Nucleus, Mitochondria, and Flagella into
CellState
- CellStructures
    - Nucleus: no activation functionality
    - Mitochondria: nutrient to energy conversion
    - Ribosomes (new): energy to nutrient conversion
    - Flagella: randomized movement
    - Sprites for each CellStructure dynamically displayed
- Genome framework
- Genome class: container for Genes with utility functions for
reproduction and mutation
    - Gene class: abstract parent class for future gene implementations
- Updated godot-cpp submodule to godot-4.2.1-stable

---------

Co-authored-by: hpfluke0478 <38867454+hpfluke0478@users.noreply.github.com>
Co-authored-by: hpfluke0478 <henry.pfluke@gmail.com>
Co-authored-by: EthanD1998 <47570959+EthanD1998@users.noreply.github.com>

Fixed how cells display

Create test system using doctest (#49)

-Created testing infrastructure w/ doctest to build/run tests
-Added test workflow to run on PRs
-Created new helper macro to not run functions in editor
-Wrote a few simple tests for the CellSpawner class
-Created testing documentation

Transfered cell.gd functionality to C++, still broken in terms of displaying stats

Restructured nodes, fixed pause and exit

Added Stats Panel Fucntionality in C++

Imrpoved refresh

repaired age display for expected value.

added stats, cleaned up functionality and UI

Action fixes (#69)

Fixes permission issues with the linter and linted our files.

fixed build issue

fixed minor functionality

Reworked styles, UI improvements.

Camera Updates, General UI functionality

UI functionality overhaul

Squash fixes

Restored files to stats-panel-backup
Copy link
Owner

@MylesScholz MylesScholz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good.

@MylesScholz MylesScholz merged commit dc7ce84 into main May 22, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants