The Dink Network

Reply to Re: shevek creates a DMod! with PyDink

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:
 
 
November 12th 2012, 08:13 AM
anon.gif
shevek
Ghost They/Them
 
when you say: "the dirt is in the background", does that mean the sprites are also assigned the background property, nohit set, etc...?

I've split up the "type" property in two, namely visible and background. They do:
not visible, not background: skip all sprites in this layer (Dink doesn't support it). You can use it to have some debugging sprites or so.
visible, not background: type 1.
not visible, background: type 2.
visible, background: type 0.

All sprites in a layer are automatically given the type value that is set for the layer. It doesn't do anything else, so things like nohit you still need to do manually (but you can select all sprites in the active layer with ctrl-a, then set the property for all of them at once, so it's not much work at all).

Could you implement a shortkey to scroll through frames when you have a sprite selected?

Yes, that sounds useful indeed.

You could go further with this with custom "decoration sets"

I think I'd prefer to do that similar to the random or pattern tile filling: selecting the set, putting them in a buffer, and then using that for "paste random from buffer" or "select next/previous from buffer".

As for the keys, the scroll wheel would seem to be the most logical "key" to map this action to, probably with ctrl pressed (without a modifier it scrolls the map).

hope it's useful to you

Definitely. Thanks.