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

Update Processing to version 3 #27

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

Conversation

idiidk
Copy link

@idiidk idiidk commented Apr 3, 2021

This commit updates the game engine to support Processing 3. It has no breaking API changes for the game engine so it can be a drop in replacement. Tested waterworld project and ran test suite. All tests passed and waterworld looked great :D

The only plugin incompatible with Processing 3 was GifAnimation. This plugin wasn't available on any repo so it's temporarily hosted on my Maven repository (https://raw.github.com/idiidk/processing-maven-repo/master/). This repo is a fork of https://raw.github.com/ddoa/processing-maven-repo/master/ that just adds GifAnimation v3.

You can clearly see that Processing 3 is a lot faster from the waterworld demo. The stutters are gone and movement is way smoother. I don't see any reason not to update :)

Mede mogelijk gemaakt door frustraties tijdens het OOPD eindproject ;) @bartvanderwal

@idiidk
Copy link
Author

idiidk commented Apr 3, 2021

Enige breaking change is dat size niet meer aangeroepen mag worden in setup, dit moet in settings.

@Override
public void settings() {
  super.settings();
  size(worldWidth, worldHeight);
}

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.

1 participant