Skip to content

Update Processing to version 3#27

Open
idiidk wants to merge 1 commit intoHANICA:masterfrom
idiidk:processing-3
Open

Update Processing to version 3#27
idiidk wants to merge 1 commit intoHANICA:masterfrom
idiidk:processing-3

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