# Unity

I am preparing a project on Unity but I hardly know anything about C# programming language. Do you know how to programme in C#? Or how to include JPG. files as sprites? Please help!

Note by Jeff Giff
3 weeks, 1 day ago

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$ ... $$ or $ ... $ to ensure proper formatting.
2 \times 3 $2 \times 3$
2^{34} $2^{34}$
a_{i-1} $a_{i-1}$
\frac{2}{3} $\frac{2}{3}$
\sqrt{2} $\sqrt{2}$
\sum_{i=1}^3 $\sum_{i=1}^3$
\sin \theta $\sin \theta$
\boxed{123} $\boxed{123}$

Sort by:

@Jeff Giff - If you want to include images, go to your folder and take your image and move it into the Assets folder of the game file, then go to unity and create an empty object in hierarchy, then drag and drop your image under it :)

- 2 weeks, 6 days ago

Oh! Thanks!

- 2 weeks, 6 days ago

Percy, how about designing an outline for sprites? So there isn’t a white area surrounding? :)

- 2 weeks ago

What @Jeff Giff ???

- 2 weeks ago

He asks if you if it is better to put a white border on his sprites or not

From my experience, I would rather not

- 2 weeks ago

White borders are annoying, as when your sprite is on a background or has higher layer than another sprite, the border is seen and it is awfully annoying @Jeff Giff @Hamza Anushath

- 2 weeks ago

Precisely, but how oh how do erase that d*rn white border? Always gives me a headache :P

- 2 weeks ago

go to photoscissors.com and edit your photos in any way you want, including chopping off the white borders :)

- 2 weeks ago

@Jeff Giff - If you want a sprite to have only one image you can add one, if you want to create a stickman ragdoll, you can add limb images, head image and then add hinge joints components to all of them :)

- 2 weeks, 6 days ago

@Percy Jackson, Have you commented here something?

- 2 weeks, 6 days ago

By mistake, I just wanted to look at it, I don't know Python and C @Zakir Husain

- 2 weeks, 6 days ago

- 3 weeks, 1 day ago

- 3 weeks, 1 day ago

Oh :D

- 3 weeks, 1 day ago

Why I didn't get notification? Anyway I don't know much about C#. I can make only consol aplications in C++ :)

- 2 weeks ago

Oh :)

- 2 weeks ago

- 3 weeks ago

I have never been using Unity (I know C#). As far as I see there are tons on tutorials in the web. Are you following any? Being suck is a completely natural state when dealing with something new. It is not very pleasant, but it is one of the most efficient ways to learn new stuff. Good luck with your project.

- 3 weeks ago

Thanks! :)

- 3 weeks ago

I know python and some unity but not C#, there are many tutorials for unity on the internet after all if want to see them

- 3 weeks ago

But I thought the programming language of Unity is C#? Or can I use C and Python to code on Unity as well? :)

- 3 weeks ago

there are third part interpreters that can enable python in unity like unipython.

- 3 weeks ago

Oh! Thanks for telling me! :)

- 3 weeks ago

I don't know programming other than basic codes in Python, sorry!

- 3 weeks ago

@Jeff Giff - I've seen Unity Programming as one of @Hamza Anushath's interests, why don't you ask her, and also, you can use Javascript programming in Unity, and I know Javascript, so I can help you there

- 2 weeks, 6 days ago

Oh! That’s interesting!

- 2 weeks, 6 days ago

@Hamza Anushath, could you tell me how to include images into Unity as sprites? Thank you!

- 2 weeks, 6 days ago

You could drag and drop into the sprites directory

- 2 weeks, 6 days ago

And make them as a sprite

- 2 weeks, 6 days ago