Jump to content

puzzle game


Recommended Posts

I'm making a puzzle game similar to Marble Jumper (the difference is the ending piece can be anywhere on the board), and was wondering if there was a way to tell the program that if there is only 1 pfpixel on on the whole screen to make t{0} be 1.


Edited by atari2600land
Link to comment
Share on other sites

Seems like if you count each one as it disappears, the program will know how many are left.

True. Another option would be to use the pfread function to count how many pfpixels are turned on. But keeping track of the count as you suggested would take up fewer cycles per frame.



Link to comment
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.

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.

  • Recently Browsing   0 members

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