Discover and read the best of Twitter Threads about #tutorial

Most recents (3)

Making molds - #30secondtutorial #dnd #nerdcrafts

NEED: Silicone Caulking/gun, big bowl w/ dishsoap & water, thing to mold in an appropriately sized container, gloves (if you use them, I always end up taking them off)

Nice to have some goo-gone on hand, to get rid of stickies!
PREP:
-Prep item to mold. I'm making dice, so I glued it in at the angle I wanted. Once the mold is done, the bottom will be the top of the mold, and where the die touches the bottom will be the opening.
-Get your gloves on! (I put soap on my hands instead of using gloves)
HOW TO:
-Put water in the big bowl, with dish soap. About 1 part soap to 10 parts water.
-Put caulking in water mixture, work with hands for 3-5 minutes, until it's a big less-sticky blob
-Squish silicone in the little cup with item to mold, make sure it's filled in around item.
Read 5 tweets
Using Global Shader Variables to swap between two textures based on World Position #gamedev #unity3d #tutorial
Code in first reply!

More shaders >> patreon.com/minionsart
Shader Code: pastebin.com/FiDzFixp

C# Script (Super Simple) pastebin.com/gq46mBvf

The gif has a version that uses transparency instead of a second texture, I'll share that later :)
Have fun!
Bigger version of the effect :)
Read 3 tweets
High level #python #tutorial thread:
Python is a high level language that runs bytecode in its virtual machine.
Everything is an object.
It supports OOP up to multiple inheritance and functional programming.
Typing is polymorphic - duck typing is preferred
A Python script is a file with a name like name.py - we indent at four spaces (it matters), comments (after #) don't execute - and is typically written like:

def main(): # function
print("Hello world")

if __name__ == '__main__': # then entry point
main()
A module is a reusable script:

"""this is a docstring at the top of the module - gives help on the module"""

import this # do imports at the top

def main(): # main at top or bottom
"""functions get docstrings too"""

if __name__... always at the bottom, assumed from now on
Read 68 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!