You'd think this would be faster, but NO!!!!!! [Resolved] - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=2) +--- Thread: You'd think this would be faster, but NO!!!!!! [Resolved] (/showthread.php?tid=968) |
RE: You'd think this would be faster, but NO!!!!!! - SMcNeill - 10-14-2022 (10-14-2022, 08:51 PM)Pete Wrote: @TerryRitchie I knews it twasn't so, ya varmit! Function calls always have overhead attached to them, so you'll always be faster to go with a variable when you can like this. My code above proved to ya that 3 SCREEN calls weren't as fast as 1 SCREEN call and then 3 variable calls. I just hadn't dug through the code enough to search out where your actual roadblock was at -- though it seems Matt has did that for us already, Mr. Reused-H!! ;D RE: You'd think this would be faster, but NO!!!!!! [Resolved] - Pete - 10-14-2022 Well I'm glad it gave you a chuckle. I think after line 1,000 I hit some sort of brain fog wall, but not quite ready for the senior center just yet... I hope. Hey for fun, could you guys have a look at the game and see if it sizes to your desktops? I coded what I think is a way to achieve that, but all my laptops are the same dimensions. So I only know it works on my. If the screen doesn't display correctly, mostly if it's too big, just hit ALT + ENTER, and run it full screen. https://staging.qb64phoenix.com/showthread.php?tid=948&pid=7901#pid7901 Pete RE: You'd think this would be faster, but NO!!!!!! - TerryRitchie - 10-15-2022 (10-14-2022, 09:49 PM)Pete Wrote: Eeeeeeeks! It looks like I sent you guys on a snipe hunt this time around. My apologizes for wasting your time. Snipes is good eatin'! You're not alone Pete. I can't count the number times I've posted code on .ORG and .NET stating something was fishy only to have someone else find the flaw in my code when I'm sure my code was correct. I always told my students that if you can't find any flaws in your code, even after staring at it for hours, but something unexpected is still going on, hand the code to someone else and 9 times out of 10 they'll find the culprit within 5 minutes. Fresh eyes vs tired brain syndrome. RE: You'd think this would be faster, but NO!!!!!! [Resolved] - Pete - 10-15-2022 What worries me the most is from this point on, no one will take me seriously. Oh wait, when did I ever want anyone to take me seriously? No worries, I'm golden! Thanks Terry, Pete RE: You'd think this would be faster, but NO!!!!!! [Resolved] - TerryRitchie - 10-15-2022 (10-15-2022, 04:11 AM)Pete Wrote: What worries me the most is from this point on, no one will take me seriously. Oh wait, when did I ever want anyone to take me seriously? No worries, I'm golden! Nah, I know I've referred to your code a number of times to figure out how to get something done, especially in SCREEN 0. And more than once you've corrected/added to my code to make it better. Hell, I even saw Clippy compliment your code once! RE: You'd think this would be faster, but NO!!!!!! [Resolved] - Pete - 10-15-2022 Clippy? Oh yeah, Clippy. I taught Clippy every thing he knows, and that was 5 horrible seconds of my life I'll never get back. Hey, did you get a chance to take the game for a spin? https://staging.qb64phoenix.com/showthread.php?tid=948&pid=7901#pid7901 I'd like your take on how much work you think it would take to put it into a graphics version. I'm considering working out some designs with TheBOB, but I really don't know how involved it could get. Pete RE: You'd think this would be faster, but NO!!!!!! [Resolved] - TerryRitchie - 10-15-2022 (10-15-2022, 05:12 AM)Pete Wrote: Clippy? Oh yeah, Clippy. I taught Clippy every thing he knows, and that was 5 horrible seconds of my life I'll never get back. No, not yet. I've purposely been avoiding it until I get done with my current project. I'm like a dog and get distracted by squirrels easily. I am eager to see what you are building though. I want to add a section to the tutorial called "Build a game step-by-step" and your post looks perfect for this if you wouldn't mind me using it. Best part is you start with text based and then move to graphics. I'll fire your game up tomorrow and have a look. Converting text based games to graphics is usually fairly easy since the underlying game logic is already in place. RE: You'd think this would be faster, but NO!!!!!! [Resolved] - TerryRitchie - 10-15-2022 (10-15-2022, 05:12 AM)Pete Wrote: Clippy? Oh yeah, Clippy. I taught Clippy every thing he knows, and that was 5 horrible seconds of my life I'll never get back. @Pete I just played the game and left my thoughts. I like it! Edit: ok, how do you properly tag a user in a message? RE: You'd think this would be faster, but NO!!!!!! [Resolved] - Pete - 10-15-2022 You did the tag properly. It's Case sensitive, and you got that right, too. What browser are you using? I have an older FireFox and every time I use @ message, and this is a PITA, I have to do this: 1) Save it 2) Click on Quick Edit, and save changes Then to see that it got hyperlinked, I have to refresh the page! I'm wondering if other browsers or more current ones don't have this problem on this board. Pete |