Jump to content


Photo

New MM version for the Atari ST (preview)


  • Please log in to reply
21 replies to this topic

#11 jetsetdanny

jetsetdanny

    Advanced Member

  • Contributor
  • 2,098 posts

Posted 10 November 2018 - 09:51 PM

Thanks for sharing information about your project with us, f_pede, and good luck with its development! :)


Edited by jetsetdanny, 10 November 2018 - 09:52 PM.


#12 IRF

IRF

    Advanced Member

  • Contributor
  • 4,228 posts

Posted 10 November 2018 - 10:31 PM

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 by IRF, 10 November 2018 - 10:32 PM.


#13 f_pede

f_pede

    Member

  • Member
  • PipPip
  • 12 posts

Posted 10 November 2018 - 10:34 PM

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 :)



#14 f_pede

f_pede

    Member

  • Member
  • PipPip
  • 12 posts

Posted 10 November 2018 - 10:37 PM

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?



#15 IRF

IRF

    Advanced Member

  • Contributor
  • 4,228 posts

Posted 10 November 2018 - 10:47 PM

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 by IRF, 11 November 2018 - 12:08 AM.


#16 f_pede

f_pede

    Member

  • Member
  • PipPip
  • 12 posts

Posted 10 November 2018 - 10:55 PM

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)



#17 Spider

Spider

    DEC (HL)

  • Administrator
  • 3,903 posts

Posted 11 November 2018 - 09:45 AM

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:

 

air_solar.png

 

Any more than four is quite difficult, sometimes just two can be if the player is a bit slow to manoeuvre around


Changing order to chaos since 1984

#18 f_pede

f_pede

    Member

  • Member
  • PipPip
  • 12 posts

Posted 11 November 2018 - 09:48 AM

many thx, so four it is :)


Edited by f_pede, 11 November 2018 - 09:48 AM.


#19 IRF

IRF

    Advanced Member

  • Contributor
  • 4,228 posts

Posted 11 November 2018 - 12:08 PM

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.

Attached Thumbnails

  • End of Solar Beam Code.png


#20 f_pede

f_pede

    Member

  • Member
  • PipPip
  • 12 posts

Posted 11 November 2018 - 12:49 PM

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






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users