Alright got'cha no more colors in text's to hard to read and hurt's peoples eyes got it!chili wrote:my. eyes.
Search found 5 matches
- September 16th, 2017, 3:40 pm
- Forum: Everything
- Topic: Tutorial 5 (Messed up code?)
- Replies: 9
- Views: 2893
Re: Tutorial 5 (Messed up code?)
- September 16th, 2017, 3:40 pm
- Forum: Everything
- Topic: Tutorial 5 (Messed up code?)
- Replies: 9
- Views: 2893
Re: Tutorial 5 (Messed up code?)
if (controlIsPressed) { gb = 0; } This should be in the update function not in the composeframe Also you probably want to add an else so that the cursor is only red while control is being held down? Also, the issue why your color isn't automatically getting changed when x > 200 && x < 300..... At t...
- September 15th, 2017, 9:55 pm
- Forum: Everything
- Topic: Tutorial 5 (Messed up code?)
- Replies: 9
- Views: 2893
Re: Tutorial 5 (Messed up code?)
*edit #2* I figured it out i just did this instead of color's IDK WHY but colors on my framework are weird i just typed this instead and worked just the same shapeIsChanged = wnd.kbd.KeyIsPressed(VK_SHIFT); shapeIsChanged = false; if (x > 300) { if (x < 400) shapeIsChanged = true; } else { shapeIsC...
- September 15th, 2017, 9:29 pm
- Forum: Everything
- Topic: Tutorial 5 (Messed up code?)
- Replies: 9
- Views: 2893
Re: Tutorial 5 (Messed up code?)
*edit* when i remove the code
everything works as normal? :\
*edit for this specific msg I realized that i typed "if (x (=)200)" instead of if(x > 200)
*facepalm**
Code: Select all
controlIsPressed = false;
if (x = 200)
{
if (x < 300)
{
controlIsPressed = true;
}
}
*edit for this specific msg I realized that i typed "if (x (=)200)" instead of if(x > 200)
*facepalm**
- September 15th, 2017, 7:51 pm
- Forum: Everything
- Topic: Tutorial 5 (Messed up code?)
- Replies: 9
- Views: 2893
Tutorial 5 (Messed up code?)
Alright Boy's and Girl's. I'm Stuck and confused. I'm only going to upload 2 files the game.cpp and the game.h cause up to tut 5 that's all chili has taught us to edit. Basically My problem is when i start click "Start without Debug" the black screen pops up with the Reticle right? well only thing ...