Lesson 8... problem drawing the FACE!
Lesson 8... problem drawing the FACE!
i don't know what the problem is! i read the code one time after the other, but no luck, hope YOU can help!
DrawFace(int faceX, int faceY);
i get a "type name is not allowed" under the 'int' and "too few arguments in function call" under the 'faceX'
DrawFace(int faceX, int faceY);
i get a "type name is not allowed" under the 'int' and "too few arguments in function call" under the 'faceX'
Re: Lesson 8... problem drawing the FACE!
Try: DrawFace( faceX,faceY );
i.e., lose the 'int' parts.
i.e., lose the 'int' parts.
Chili
Re: Lesson 8... problem drawing the FACE!
Thanks chili!! it worked! can you tell me whats the difference between the two lines of code? pleeeeease
- viruskiller
- Posts: 399
- Joined: June 14th, 2012, 5:07 pm
Re: Lesson 8... problem drawing the FACE!
u only using int before variables when u declare a function or when u declare those variables, when u passing they'r value u don't have to use int
Re: Lesson 8... problem drawing the FACE!
i thought as much after reading it again... slow learner i am -_- ... so thank you!!
Re: Lesson 8... problem drawing the FACE!
This stuff can be confusing at first, but no worries, it will all come together one day and you'll typing your fingers off xD.
What you call a bug...I call a new feature!
- Derpy Dinosaur2o3
- Posts: 24
- Joined: October 20th, 2012, 1:38 am
- Location: Australia
Re: Lesson 8... problem drawing the FACE!
I was just wondering is there an easier way of adding sprites im only on lesson 8 so far but if you do end up showing a better way then please let me knowchili wrote:Try: DrawFace( faceX,faceY );
i.e., lose the 'int' parts.
Paradox I LOVE EM
Re: Lesson 8... problem drawing the FACE!
just keep watching the tuts, chili teaches how to load bmp files
What you call a bug...I call a new feature!
- Derpy Dinosaur2o3
- Posts: 24
- Joined: October 20th, 2012, 1:38 am
- Location: Australia
Re: Lesson 8... problem drawing the FACE!
Coooooolies i was getting worried there because i could not find any other tutorials on adding sprites and i didn't want to skip the tutorials and i also did not want to gfx.PutPixel all the time i think my brain would meltXxWalKaxX wrote:just keep watching the tuts, chili teaches how to load bmp files
Paradox I LOVE EM
Re: Lesson 8... problem drawing the FACE!
lol some where on here is a program that Lux made that will take sprites and put to them into PutPixel for you, Chili demonstrates it in one of the tuts
What you call a bug...I call a new feature!