xtreampb Posted February 26, 2012 Posted February 26, 2012 I have this code that i'll post. I just getting a window border. Can anyone help me find this bug please? I'm completely new to frameworks and thought i would give it a shot. Thank you, ~Xtreampb~ Now Loading.cpp Quote bool Life() { while(death=false) { if(death==true) return death; } } I have found the secret to infinite life Did I help you out? Like my post!
Mumbles Posted February 26, 2012 Posted February 26, 2012 your if(view == 1) block hasn't got a a RenderFramework() call in it. and it seems that view is 1 Also, your check for KeyHit(KEY_UP) allows view to be set to 3, in which case nothing will happen. Quote LE Version: 2.50 (Eventually)
xtreampb Posted February 27, 2012 Author Posted February 27, 2012 I fixed my issue. My updateframework();, RenderFramwork();, and Flip(0) was inside the second if statement. I moved them all down approx 3 lines to outside the if statement and that cleard up all issues Quote bool Life() { while(death=false) { if(death==true) return death; } } I have found the secret to infinite life Did I help you out? Like my post!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.