A classic need help
- Derpy Dinosaur2o3
- Posts: 24
- Joined: October 20th, 2012, 1:38 am
- Location: Australia
A classic need help
ok so i have no idea what i have done wrong but im guessing most of whats in there is wrong anyway since i haven't been completely following chilli's videos by that i mean i change variables to different names which is what probably got me in this mess. But what it should be doing is making X then press and O ect but you cant replace and X or O. Im up to episode 12 @ 1hour 20min
- Attachments
-
- Derpy Dinosaurs Project.zip
- (37.1 KiB) Downloaded 155 times
Paradox I LOVE EM
Re: A classic need help
Your code:
Your error is right here. I guess you will see it too;)
Code: Select all
void Game::ComposeFrame()
{
.......
//Render Grid
for( int iy = 0; iy < 3; iy++ )
{
for( int ix = 0; ix < 3; ix++ )
{
if( getSquareState( iy, ix ) == Xfill )
{
DrawX( BaseX + ix * SquareSize, BaseY + iy * SquareSize );
}
else if ( getSquareState( iy, ix ) == Ofill )
{
DrawX( BaseX + ix * SquareSize, BaseY + iy * SquareSize );
}
}
}
}
Re: A classic need help
EDIT: You beat me to it. I'll let Derpy find it.
Musi
There are 10 types of people that understand binary.
Those that do, and those that don't.
There are 10 types of people that understand binary.
Those that do, and those that don't.
Re: A classic need help
can anyone tell me why i got 1 frame per second when i run my programs but everything i DL from here runs smooth?
Re: A classic need help
drBUD, how far are you on the tutorials? Have you watched and followed them carefully as the framework gets enhanced in just about every episode on the first few tutorials. Mainly somewhere around lesson 8 or so where we change the frame routine completely.
ʕ •ᴥ•ʔ
- Derpy Dinosaur2o3
- Posts: 24
- Joined: October 20th, 2012, 1:38 am
- Location: Australia
Re: A classic need help
thanks guys i was hoping you would let me figure it out i just needed a push in the right direction
other wise its just not fun
other wise its just not fun
Paradox I LOVE EM
Re: A classic need help
I think the fix to the putpixel routing comes in at lesson 13... I really should do something in lesson 1 or 2 to let people know at least that a fix is coming. I never anticipated that the lock thrashing would impact some systems so hard.
Chili