VirusGame icon indicating copy to clipboard operation
VirusGame copied to clipboard

General Improvements to UI, New Content & Configurability

Open sirati opened this issue 5 years ago • 10 comments

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

sirati avatar Dec 22 '20 03:12 sirati

oh yes this is all very good

dkmk100 avatar Mar 29 '21 03:03 dkmk100

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

LoganDark avatar Jul 06 '21 15:07 LoganDark

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?

sirati avatar Jul 08 '21 11:07 sirati

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

LoganDark avatar Jul 08 '21 11:07 LoganDark

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?

sirati avatar Jul 08 '21 11:07 sirati

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

LoganDark avatar Jul 08 '21 11:07 LoganDark

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: https://github.com/sirati/VirusGame/issues/6

sirati avatar Jul 08 '21 12:07 sirati

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

carykh avatar Jul 10 '21 09:07 carykh

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

sirati avatar Jul 10 '21 09:07 sirati

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

carykh avatar Jul 11 '21 08:07 carykh