Whatever's reasonable to you
How much of the graphics are you thinking about?
You'd basically be gambling on the other person's ability to finish/market/sell the game, and them being truthful reporting the amount. A couple tips for you though:
- Get your % as part of gross instead of net profits
- Make sure you can do something else with the artwork if the project isn't completed or doesn't meet expectations