Constructor Error

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
XxWalKaxX
Posts: 244
Joined: June 11th, 2012, 7:15 pm

Re: Constructor Error

Post by XxWalKaxX » November 4th, 2012, 7:23 pm

Ok I tried that and I get "Illegal use of D3DGraphics" error
What you call a bug...I call a new feature!

Muttley
Posts: 39
Joined: October 19th, 2012, 6:00 am

Re: Constructor Error

Post by Muttley » November 4th, 2012, 7:50 pm

Upload the project with this error :?

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Constructor Error

Post by chili » November 8th, 2012, 12:35 pm

Sprite should not embed a gfx object. You should either pass a gfx reference whenever you call a drawing function (better) or store it as a reference.
Chili

Post Reply