Unity Blog

I’m going to upload my Unity programme achievements here so I can keep up with my programming. Feel free to comment under the dates!

#ComputerScience

Note by Jeff Giff
11 months ago

No vote yet
1 vote

  Easy Math Editor

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.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. 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 1

paragraph 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×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

2020.7.21 The numbers are in the form (ATK, BULLETNUM, BULLET-SPD(shots per secs), ENERGY) The four character weapons-shotgun(3, 1, 1.5, 1)&nails(2, 3, 1, 1) ‘electrik‘ sword(4, N/A, 2, 0)&electric sword(3(bullet)+3, 3, 1.5, 2), along with the sceptres: Nature, Sea, Tesseract, Flame

Jeff Giff - 10 months, 4 weeks ago

Log in to reply

I think that you should have a much smoother idle animation. Only two frames would make it glitchy-looking

Frisk Dreemurr - 10 months, 4 weeks ago

Log in to reply

Just an idea @Jeff Giff

Frisk Dreemurr - 10 months, 4 weeks ago

Oh. I thought maybe two were ok, since SoulKnight works out fine. Also, the UI isn’t ready :)

Jeff Giff - 10 months, 4 weeks ago

Log in to reply

Maybe try four, or check my game's internal sprites. See how many sprites I used for the idle animation @Jeff Giff...

Frisk Dreemurr - 10 months, 4 weeks ago

Bingo! For weapons, I should use a bigger size I’m Excel but shrink it in Unity to have better effects!

Jeff Giff - 10 months, 4 weeks ago

Log in to reply

Yeah, it would make the sprites look cool-looking as well

Frisk Dreemurr - 10 months, 4 weeks ago

@Jeff Giff

Natura Wand

How do you like it?

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

@Percy Jackson, I drew that, comment on what you think...

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

Awesome! Its cool!

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

@A Former Brilliant Member Thanks a lot @Percy Jackson!

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

@Frisk Dreemurr I mentioned you somewhere, go check it out (Anna)

A Former Brilliant Member - 10 months, 3 weeks ago

This! Is! Awesome!

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

@Jeff Giff Thanks a lot @Jeff Giff!

Frisk Dreemurr - 10 months, 3 weeks ago

@Jeff Giff

Death Wand

If you want the sprites, don't hesitate to ask

@Percy Jackson, say your ideas on this as well if you'd like...

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

Great!

Jeff Giff - 10 months, 3 weeks ago

By the way, next time please comment under my comments, things are getting hectic to ma mage :P

Jeff Giff - 10 months, 3 weeks ago

@Jeff Giff, @Percy Jackson

Electric Wand

Tell me what you think

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

The best !!!

Jeff Giff - 10 months, 3 weeks ago

2020.7.19
iPad skin prototype designed—Explorer and Robot(compared to SoulKnight)

Jeff Giff - 11 months ago

Log in to reply

Check it out, @Hamza Anushath and Percy Jackson (why can’t I mention him?!) :)

Jeff Giff - 11 months ago

@Percy Jackson , mention[10420647:Percy Jackson]

Jeff Giff - 11 months ago

Log in to reply

YaY

Jeff Giff - 11 months ago

Noice (purpose misspelled)

I am awestruck

Cool concept art

It actually reminds me of Soul Knight

Frisk Dreemurr - 10 months, 4 weeks ago

Log in to reply

Soul Knight was where my idea came from, but my graphics suck :D

Jeff Giff - 10 months, 4 weeks ago

@Jeff Giff, actually, I used Scratch four years before, I discovered Unity a year ago. I loved Unity with all my heart, and I made many small games in Unity. Platformer games and infinite runner games were my thing. But recently, I accessed my old Scratch account once more, and "maybe" improvised an old treasured game of mine. You can check it out here

Frisk Dreemurr - 10 months, 4 weeks ago

Log in to reply

If you actually do test it (spoiler alert: it is very bad in my opinion, I myself drew all the sprites by hand and mouse, that's why...), Please reply your thoughts on it

Frisk Dreemurr - 10 months, 4 weeks ago

Log in to reply

@Percy Jackson

Frisk Dreemurr - 10 months, 4 weeks ago

Oic. Guess what? I use Scratch OFFLINE! :D

Jeff Giff - 10 months, 4 weeks ago

Log in to reply

You do? Cool @Jeff Giff! I used to as well (though now I stopped using Scratch...)

Frisk Dreemurr - 10 months, 4 weeks ago

2020.7.22
Five sceptres completed... Nature, Sea, Tesseract, Blaze, Death

Programming design: a float ‘property’ matrix for each weapon (Labelled with a number xx), so that
a[x][0]=ATK,a[x][1]=BULLLETNUM,a[x][2]=BULLETSPD,a[x][3]=ENERGYCOST,a[x][4]=BULLETTYPEa[x][0]=ATK,a[x][1]=BULLLETNUM,a[x][2]=BULLETSPD,a[x][3]=ENERGYCOST,a[x][4]=BULLETTYPE.

a[x][4] will define the current costume of the bullet sprite, and also the matter of bullet motion(straight like a normal gun, spiral like Helix 🧬, laser etc.).

Jeff Giff - 10 months, 4 weeks ago

Log in to reply

@Percy Jackson

Jeff Giff - 10 months, 4 weeks ago

Check it out, I’ll be updating the bullets and the melee weapons soon :)

Jeff Giff - 10 months, 4 weeks ago

Nice imgs

A Former Brilliant Member - 10 months, 4 weeks ago

@Hamza Anushath, could you tell me how to define

if(key_w pressed)        
    move(upwards,5)

In Unity?

Jeff Giff - 10 months, 4 weeks ago

Log in to reply

public float speed;

private float movehor;

private float movever;

void Update ()

{

movehor = Input.GetAxis("Horizontal");

movever = Input.GetAxis("Vertical");

rigidbody2D.velocity = new Vector2(movehor * speed, movever * speed);

}


This is for all four directions @Jeff Giff, you are welcome in advance

Frisk Dreemurr - 10 months, 4 weeks ago

Log in to reply

@Frisk Dreemurr Thanks! So I define a vector and a speed value?

Jeff Giff - 10 months, 4 weeks ago

Log in to reply

@Jeff Giff Yes

Frisk Dreemurr - 10 months, 4 weeks ago

@Jeff Giff You added a Collider2D and RigidBody2D for the sprite as well, didn't you @Jeff Giff?

Frisk Dreemurr - 10 months, 4 weeks ago

Log in to reply

@Frisk Dreemurr A collider? Sorta like a ‘bump check’ which does the ‘if touching’ command? :)

Jeff Giff - 10 months, 4 weeks ago

Log in to reply

@Jeff Giff Huh?

I mean "did you add the Collider2D and RigidBody2D components to the sprite @Jeff Giff?"

Frisk Dreemurr - 10 months, 4 weeks ago

Log in to reply

@Frisk Dreemurr Oh, I’ll check it :)

Jeff Giff - 10 months, 4 weeks ago

@Jeff Giff Yes, you can say it like that

Frisk Dreemurr - 10 months, 4 weeks ago

@Jeff Giff @Jeff Giff, I did a small change it the code. Better recheck to avoid bugs

Frisk Dreemurr - 10 months, 4 weeks ago

Nice Pixel art @Jeff Giff, but Unity's not really for me, I like programming everything, not drag and drop, so I use p5.js , an online code editor, for javascript. I'm pretty good at JS, so please stop @ mentioning me, 'cause I'm really of no use to you here. Ask me about programming theory and stuff though, I'll tell you all my secrets.....................

A Former Brilliant Member - 10 months, 4 weeks ago

I looked at your concept art and I got inspired to draw your same character (with additional yellow hair) in a different method of art

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

@Jeff Giff, you can use this or ask any other types of art if you like.

I can draw wands as well

Frisk Dreemurr - 10 months, 3 weeks ago

Wands? Awesome! Because I might be coming up with a cute witch character. Recently designing storyline :)

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

Well, do you like my art? Or not so much @Jeff Giff...

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

@Frisk Dreemurr I do like your art, it’s just scale you need to watch out for :)

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

@Jeff Giff Well, I took the same width and height, the only problem is that the design looks different

Height: 36

Width: 24

Frisk Dreemurr - 10 months, 3 weeks ago

@Jeff Giff Oh, you mean about body scale @Jeff Giff

Well, I did it in a hurry, so mistakes happen...

Frisk Dreemurr - 10 months, 3 weeks ago

How ‘bout this @Hamza Anushath :) according to my graphics

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

It ‘glitches’ left and right a bit since I captured it with a difference of one vertical grid :D

Jeff Giff - 10 months, 3 weeks ago

2020.7.24
Unity project started! Name: Deltarune(a permutation of Undertale :D)

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

@Jeff Giff, DeltaRune is an actual game!

Did you play it, it is made by good ol' Toby Fox, a "sequel" to UnderTale

Type "deltarune.com" for more information and to download it ( it is free...)!

Frisk Dreemurr - 10 months, 3 weeks ago

Other name suggestions

Dernu Tale

Lender Tau

Lune Tread

Alter Dune

Eden Ultra

Dealt Rune

Dual Entre

UnAlterEd

@Jeff Giff

Frisk Dreemurr - 10 months, 3 weeks ago

Lunar Dart

Duel Earnt

But why only Undertale, so many other games are there???????? @Jeff Giff

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

Because, someone actually posted a question about the permutations of undertale! :D

Jeff Giff - 10 months, 3 weeks ago

Undertale is quite famous

And I love the game as well @Percy Jackson

@Jeff Giff

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

@Frisk Dreemurr Well I’ve heard about the game on TikTok and thought it was awesome (especially the STORYLINE!!!) but never got to download it :P
Most of the Undertale videos show Sans in Undertale, Dustale, someothertale, and then the screen was filled with lasers...
MEGALOVANIA ticking in a faraway distance

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

@Jeff Giff Yes, it is very hard, but it has an interesting plot as well!

Dusttale is a fan game of Undertale

The Undertale is original from all, I love especially the soundtrack!

And it is Megalovania, not Megalonia

Consider the game like a bullet hell dodger

Frisk Dreemurr - 10 months, 3 weeks ago

@Jeff Giff @Jeff Giff

Frisk Dreemurr - 10 months, 3 weeks ago

K, fine

A Former Brilliant Member - 10 months, 3 weeks ago

@Percy Jackson mention[10420647:Percy Jackson]

Frisk Dreemurr - 10 months, 3 weeks ago

@Hamza Anushath, how can I define a vector in C#? Not mentioned on Runoob 😅

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

Do you want a permanent vector, or just a temporary one @Jeff Giff?

Frisk Dreemurr - 10 months, 3 weeks ago

Log in to reply

Constant, the direction one :)

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

@Jeff Giff Use new vector, and this the x, y and z

Like this,

new vector (32, 67, 72)

Frisk Dreemurr - 10 months, 3 weeks ago

I'mma unsubscribe from the comments, coz there are too many!

A Former Brilliant Member - 10 months, 3 weeks ago

How the heck do we unsubscribe from notes comments, the button isn't there?!?!?

A Former Brilliant Member - 10 months, 3 weeks ago

Log in to reply

Go to the top of the page, after the notes, the comments heading will be visible

Click unsubscribe

Frisk Dreemurr - 10 months, 3 weeks ago

And you have to refresh the page @Percy Jackson

Frisk Dreemurr - 10 months, 3 weeks ago

The button glitched, because my phone lost charge, but now its done, thanks anyway!

A Former Brilliant Member - 10 months, 3 weeks ago

2020.7.25
Thanks to photoscissors.com, I got to edit the white edges :) now the only thing left is to create a VisualStudio account to edit the code :)

Jeff Giff - 10 months, 3 weeks ago

Log in to reply

@Jeff Giff, you can download Notepad++ if you'd like as well... If you want to do fast and small editing

Frisk Dreemurr - 10 months, 3 weeks ago

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#2020.7.26
#coding bit by bit
void start
{
}
public float spd;
private float moveHor;
private float moveVer;
void update ()
{
   moveHor = Input.GetAxis("Horizontal");
   moveVer = Input.GetAxis("Vertical");
   rigidbody2D.velocity = new vector(moveHor * speed, moveVer * speed);
}

Jeff Giff - 10 months, 3 weeks ago

@Jeff Giff @Frisk Dreemurr - There is a programmer called Dani on youtube. He makes cool games and funny videos. He also uses C++ in Unity and has some good and funny tutorials on his other channel DanisTutorials.

A Former Brilliant Member - 10 months, 1 week ago
×

Problem Loading...

Note Loading...

Set Loading...