jetsetdanny Posted November 10, 2018 Report Share Posted November 10, 2018 (edited) Thanks for sharing information about your project with us, f_pede, and good luck with its development! :) Edited November 10, 2018 by jetsetdanny f_pede 1 Quote Link to comment Share on other sites More sharing options...
IRF Posted November 10, 2018 Report Share Posted November 10, 2018 (edited) looking forward to hear what you think :) btw i am working on the Solar beam right now, do you remember how much it accelerated the air speed, is it by x4 Yes, four additional decrements of the air supply per cell which is occupied by Willy's colour attribute. Edited November 10, 2018 by IRF f_pede 1 Quote Link to comment Share on other sites More sharing options...
f_pede Posted November 10, 2018 Author Report Share Posted November 10, 2018 Thanks for sharing information about your project with us, f_pede, and good luck with its development! :) Many thx, i am glad that i could share it with you guys :) Quote Link to comment Share on other sites More sharing options...
f_pede Posted November 10, 2018 Author Report Share Posted November 10, 2018 Yes, four additional decrements of the air supply per cell which is occupied by Willy's colour attribute. many thx, not quite sure what you mean per cell?, so it can be more then four? Quote Link to comment Share on other sites More sharing options...
IRF Posted November 10, 2018 Report Share Posted November 10, 2018 (edited) many thx, not quite sure what you mean per cell?, so it can be more then four? Air supply is normally decremented once per time-frame (i.e. once per pass through the Main Loop). If the solar beams passes through Willy, it is usually decremented nine times per time-frame (the usual once, plus 4x2= eight extra), because Willy usually straddles two cell-rows. But if Willy happens to be jumping at the time that he passes through the solar beam*, then at certain points during the jump when he isn't cell aligned, he is straddling three cell-rows (i.e. character rows) on the screen. In those instances the air supply is decremented 13 times per time-frame (1+4x3). (*Unless the part of the solar beam through which he is passing is horizontal at the time - Willy never occupies more than two cell-columns.) Edited November 11, 2018 by IRF f_pede 1 Quote Link to comment Share on other sites More sharing options...
f_pede Posted November 10, 2018 Author Report Share Posted November 10, 2018 Air supply is normally decremented once per time-frame (per pass through the Main Loop). If the solar beams passes through Willy, it is usually decremented nine times per time-frame (the usual one, plus 4x2= eight extra), because Willy usually straddles two cell-rows. But if Willy happens to be jumping at the time that he passes through the solar beam*, then at certain points during the jump when he isn't cell aligned, he is straddling three cell-rows (i.e. Character rows) on the screen. In those instances the air supply is decremented 13 times per time-frame (1+4x3). (*Unless the apart of the solar beam through which he is passing is horizontal at the time - Willy never occupies more than two cell-columns.) Damn that crazy, it's hard enough with out the light beam(never got to this level in the 80' :lol: ) i am sitting and trying to figure out the best way to do the beam right now, i have hard coded the light from the first wagon, i am on the second one from the top now, and i am thinking if there is a smarter way to do it. or else i will get a lot of drawing routines, (but they will at least be fast) Quote Link to comment Share on other sites More sharing options...
Spider Posted November 11, 2018 Report Share Posted November 11, 2018 looking forward to hear what you think :) btw i am working on the Solar beam right now, do you remember how much it accelerated the air speed, is it by x4 Yes it by default removes four "units" of air: Any more than four is quite difficult, sometimes just two can be if the player is a bit slow to manoeuvre around f_pede and jetsetdanny 2 Quote Link to comment Share on other sites More sharing options...
f_pede Posted November 11, 2018 Author Report Share Posted November 11, 2018 (edited) many thx, so four it is :) Edited November 11, 2018 by f_pede Spider 1 Quote Link to comment Share on other sites More sharing options...
IRF Posted November 11, 2018 Report Share Posted November 11, 2018 The excerpt of the code that Andy (Spider) attached missed the end of the loop off. The loop is executed numerous times during each pass through the Main Loop, in order to draw the whole solar beam. See entry 36264 of the additional screenshot attached here - this is why it's '4 decrements per cell occupied by Willy', as discussed last night. jetsetdanny, f_pede and Spider 3 Quote Link to comment Share on other sites More sharing options...
f_pede Posted November 11, 2018 Author Report Share Posted November 11, 2018 thanks again, but my code is probably very different from the original, since i did not use a single line :lol: i think i will have to try to different values to see which is the closes to the original, when i get so long, right now i am struggle printing the line, I could not use the approach that i tried the last couple of days :) so i have started over today :D IRF and Spider 2 Quote Link to comment Share on other sites More sharing options...
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.