-
Notifications
You must be signed in to change notification settings - Fork 42
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
General Improvements to UI, New Content & Configurability #25
base: master
Are you sure you want to change the base?
Conversation
Added the ability to select and view UGOs and their genomes. Added ability to speed up or down the simulation by using the GUI.
… and paste a couple commits back
…e so all previous versions do not compile because it was missing
- writeOutwards() might need to be reworked - writeInwards() looks good
- cells are now able to be revived by clicking on an empty square TODO: make game not crash when cell tries to find an empty cell nearby while none exists
- fixed pushOut function - cells can now be placed anywere - the game won't crash anymore if a cell is surrounded by other cells bugfix by [c00lum](carykh#13 (comment)) Co-Authored-By: c00lum <[email protected]>
Fix for The Window too Large BUG
Settings, Graph, Mutations & Refactoring
Refactor to use pure java whenever possible
nvm last commit lol
oh yes this is all very good |
I can't zoom out! Zooming in either direction just zooms in further, so it's impossible to escape :( |
This comment has been minimized.
This comment has been minimized.
Touchpad, although it should still be sending up/down scroll events like normal... |
This comment has been minimized.
This comment has been minimized.
Nope |
Should fix #6 touch pad issues.
Should be fixed. relevant issue is here: sirati#6 |
make particles use direction instead of x y velocities
Oh wow, I just noticed this pull request - it's amazing how much work you guys have put into improving it! I see it's still technically a work in progress, so I won't merge it until it's in a mostly-complete state. But given that I still want to make a "Virus Simulator - Part 4/4" at some point in the future, it'd be awesome to use this improved version to film it! So yeah, thanks for all your hard work, sirati, Bastian, benplate8, magistermaks, LegendaryHeart8, and others. so infectious |
Haha thanks. You can try out the current progress here: https://github.com/sirati/VirusGame/releases BTW would you mind adding some license to your code ^^ |
No problem! I just added an MIT license to my original VirusGame repo now. https://github.com/carykh/VirusGame |
About this fork
This adds major improvements by me, magistermaks and others.
The Code has been refactored a lot and much has been made OOP. This allows for easier modification
List of changes
Adding, Deleting and Drag&Drop in the genome editor
The genome editor will scroll if a cell has too many codons to fit the screen
Copy/Paste in and out of the genome editor. (if you paste and nothing happens, the formatting of you genome string is erroneous; note the format changes mentioned above) - use this to save you written genomes
The coding of the Codon now is OOP, it is much easier to add more
Lots of new Codon types. With this it is now possible to write a cell that can defend itself against viruses.
Writing 'Epigenetics' onto the gene codons. (
MemTo
&MemoryLocation
)HandMove Degree
(0, 90, 180, 270, or any other degree)Debug mode to experiment with writing genomes without worrying about the cell dying. You can activate it by changing
DEBUG_WORLD = false;
toDEBUG_WORLD = true;
It is the first line of virus.pdeChange game speed (fixed, orig. forked from LegendaryHeart8)
Resizeable window size (fixed, orig. forked from Games-Crack)
Various improvements by magistermaks
Mutations (WIP)
Better GUI (graphics, graph, divine controls, etc)
Rendering optimisations
Settings (+ map editing - world.json)
Keyboard controls
New cell types
Breaking changes
if you want to move the hand to the cursor you must use
Move Hand Cursor
instead ofMove Hand RGL(0,0)
. RGL is always relative to the hand for hand specific commandsAlso the encoding of the Genome is slightly different to the original, but everything besides the way RGL are saved is the same way.
Plans:
Clone (reproduces the cell adjacent to the wall the hand is pointing at)
Inject - inject a particle into a neighboring cell the hand is pointing at
Check - see if Energy, Wall health, Codon health is over 50%
Fix rendering bugs occuring at high simulations speeds
Todo