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

General Improvements to UI, New Content & Configurability #25

Draft
wants to merge 88 commits into
base: master
Choose a base branch
from

Conversation

sirati
Copy link

@sirati sirati commented Dec 22, 2020

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; to DEBUG_WORLD = true; It is the first line of virus.pde

  • Change 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 of Move Hand RGL(0,0). RGL is always relative to the hand for hand specific commands

  • Also 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

  • Consider removing the credits added
  • On startup ask which mode user wants to try, include 100% backwards compatible mode
  • Documentation of new codons

ben9583 and others added 30 commits August 16, 2020 13:34
Added the ability to select and view UGOs and their genomes. Added ability to speed up or down the simulation by using the GUI.
…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
@dkmk100
Copy link

dkmk100 commented Mar 29, 2021

oh yes this is all very good

@LoganDark
Copy link

I can't zoom out! Zooming in either direction just zooms in further, so it's impossible to escape :(

@sirati

This comment has been minimized.

@LoganDark
Copy link

I can't zoom out! Zooming in either direction just zooms in further, so it's impossible to escape :(

Hello,
i will try fixing this for you. Please open an issue here: https://github.com/sirati/VirusGame/issues

Also please explain how you were zooming? Mouse? Touchpad? Keyboard? In-game Buttons?

Touchpad, although it should still be sending up/down scroll events like normal...

@sirati

This comment has been minimized.

@LoganDark
Copy link

Touchpad, although it should still be sending up/down scroll events like normal...

Are you having the same issues with the latest version of carykh?

Nope

@sirati
Copy link
Author

sirati commented Jul 8, 2021

I can't zoom out! Zooming in either direction just zooms in further, so it's impossible to escape :(

Should be fixed. relevant issue is here: sirati#6

make particles use direction instead of x y velocities
@carykh
Copy link
Owner

carykh commented Jul 10, 2021

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

@sirati
Copy link
Author

sirati commented Jul 10, 2021

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 ^^

@carykh
Copy link
Owner

carykh commented Jul 11, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants