The Dink Network

Reply to Re: D-Modding tips 'n tricks

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 2nd 2010, 07:54 PM
dinkdead.gif
More stuff!

You can give things fake brains to keep track of them. For example I needed to keep track of the positions of over 50 sprites, just gave them each a seperate brain number and found them again using get_sprite_with_this_brain.

About using the mouse:

To be able to click something you need to set its touch_damage to -1. Just spent a while getting more and more frustrated with why this wasn't working....
(Edit- this is mentioned in Rabid's mouse help thing, knew I'd seen it somewhere before )

Also, brain 14 is only if you want to use buttonon and/or buttonoff. You can click brain 9 for example just as well.