I'm using Xcode, SKSpriteKit and am creating a game.
I need my program to draw a quadrilateral in a function.
-(void) DrawQuad {
//Draw Quadrilateral here with points (a,b), (c,d), (e,f), (g,h)
}
I have already tried other links/help but for some reason, the code I paste doesn't work.
For example, at: Draw Rectangle/ Circle and Triangle in Spritekit with Two Colors. . ., I try copy and pasting that function into my code (In the .mm file). It doesn't work:
Even making the suggested changes in the program still doesn't resolve the issue.