Jump to content

Recommended Posts

Variable saving if alot of things use the same speed, I was using 16 variables for the x & y for 8 players before I came up with this

 

If you just want to slow down the players you don't need to use the a and b variables,

 

just replace .._fraction_counter + b with .._fraction_counter + (number between 1 and 255)

 

and .._speed = a + 1 else _speed = a with .._speed = 1 else _speed = 0

Link to comment
https://forums.atariage.com/topic/283403-88-type-movement-with-one-variable/
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...