2D Toolkit Forum

2D Toolkit => Support => Topic started by: ItsMeAlan on November 29, 2013, 07:23:28 pm

Title: Updated 2dtoolkit from 1.91f to latest, got a bunch of errors
Post by: ItsMeAlan on November 29, 2013, 07:23:28 pm
I updated to the latest version because I wanted to have animations that played when timeScale = 0, but now a ton of errors are preventing my game from running, and none of my sprites are visible.

(http://i.imgur.com/aWgSNN8.png)

Is this a common thing? Should I post each error here? Each one asks the question "Are you missing a using directive or an assembly reference?"
Title: Re: Updated 2dtoolkit from 1.91f to latest, got a bunch of errors
Post by: unikronsoftware on November 29, 2013, 10:29:11 pm
Hi,

Did you read this guide for upgrading from 1.9x -> 2.x?
http://www.2dtoolkit.com/docs/latest/migration_guide.html

There might be a few issues that need resolving before your code compiles again, once it does though your sprites should all appear properly.
Title: Re: Updated 2dtoolkit from 1.91f to latest, got a bunch of errors
Post by: ItsMeAlan on December 04, 2013, 01:02:21 am
I followed the Migration guide and am getting the exact same issues. I never touched the tk2dCamera script and it isn't mentioned in the Migration Guide. How could I resolve the errors related to this script?
Title: Re: Updated 2dtoolkit from 1.91f to latest, got a bunch of errors
Post by: evs on December 04, 2013, 05:57:47 am
Hello,

Maybe this?

http://2dtoolkit.com/forum/index.php/topic,3242.0.html

Cheers

Paul