Jump to content

My history teacher ate lemons.


Recommended Posts

I'm trying to figure out collision detection between man and background. I've got it down to this, but I need to figure out how to subtract 1 from #card to check it. Simply putting in #card = #card - 1 does not work.

	if cont.up then
        #card = #backtab((many - 10) / 8 * 20 + (manx - 8) / 8) AND $0FF8
        IF #card > 261 * 8 and #card < 274 * 8 THEN dir=0 	
		if dir=1 then many=many-2
	end if


Link to comment
Share on other sites

  • 2 weeks later...

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...