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

Editor entity blocks #909

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AllyTally
Copy link
Contributor

@AllyTally AllyTally commented Nov 21, 2022

Changes:

Activity zones are pretty hardcoded, so this makes them data-driven instead, using the edentity system. This is, once again, laying foundation for the goal of reducing the split between custom levels and the main game.

Activity zones are ID 20, and rendered the same as script boxes. This adds activitytext and activitycolour properties to editor entities.

EDIT: This PR now has edentities for every block type. 21 are collision boxes, 22 are damage boxes, 23 are directional boxes and 24 are safe boxes.

Legal Stuff:

By submitting this pull request, I confirm that...

  • My changes may be used in a future commercial release of VVVVVV
  • I will be credited in a CONTRIBUTORS file and the "GitHub Friends"
    section of the credits for all of said releases, but will NOT be compensated
    for these changes

@AllyTally
Copy link
Contributor Author

I've now added a createblock command, since I realized that activity zones should have the ability to be conditional -- and activity zones should be able to spawn themselves. The main game does both of these!

@NyakoFox NyakoFox force-pushed the activity-zones branch 2 times, most recently from ab70fb5 to 4b83bac Compare January 16, 2023 21:37
@AllyTally AllyTally changed the title Editor entity activity zones Editor entity blocks Jan 16, 2023
This adds editor entity blocks (boxes which do different things on
collision) like activity zones, hurt boxes, etc.

This also adds a command to go along with it, to both match
`createentity` and so block spawning can be behind conditions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants