Share your repls and programming experiences

← Back to all posts
CUBE DASH
Coder100

CUBE DASH

Hello everyone! I just installed UNITY!!! And here is my game!!!!

How to play

  • WASD to move
  • Don't die
  • Reach as far as you can
  • Collect coins

Requests

As you can see I am unity prodigy (jk) lol

I want dark theme

Future

Soon I will do other stuff with unity

SPOILER ALERT

Pang

Extra

lol

UPDATES

  • Unity should now load faster!
  • I added 1 NEW LEVEL
  • I fixed many of your bugs like unable to die and a weird restart glitch
  • I added arrow key support. Thanks @IndyCarter!
  • I added a larger play area. It should now cover THE WHOLE SCREEN
    @ThatSmart @KobeFF @stubaduble @Bookie0

Speedrunners

PLEASE UPVOTE!

This is my first unity game!

Voters
SilvermoonCat
shubhampaudel87
cjcjc
NeilDC
Spotandjake
Wilkeb1
firedragondnd
ninja2k11
coder400
maxina
Comments
hotnewtop
ChezCoder

my school blocks unity application :(

Coder100
ShivankChhaya

@ChezCoder Very Sad.

Wilke000

Arg!!!! @ChezCoder Schools!!!!!!!!

[deleted]

@IndyCarter Tell me about it.................

AphixDev
donaldtrumpgay1

@ChezCoder awwwwwww i feel bad for u... its awesome!

EDKTHEPRO
GalaxyWolf343

@ChezCoder same here :(

CodeLongAndPros

@ChezCoder OpenGL too?

viraatvv

@Coder100 fyi if you want dark mode, you have to have unity pro. I know that because I have unity like you

awsomecoder54

@ChezCoder me too

Bookie0

But on level two there is still that bug where if you go on the right tunnel and touch an enemy, nothing happens. (I saw someone already reported that on discord)

Anyways great game!

Coder100

Ah yes, that's because the eyes are too big lol so unity can't detect collision @Bookie0

Bookie0

Oh ok @Coder100

AphixDev

@Coder100 If you put two colliders on the eyes, it should work. You can use a mesh collider, but it's best to avoid that since it takes up a good amount of processing power.

math_genius

@Coder100 wait, the eyes have hitboxes?

Coder100

lol i think so XD @math_genius

phantomlord45

@Bookie0 wait repl.it have discord?

Bookie0
SixBeeps

This is cool! Actually, I've been working a lot in Unity recently :)

Coder100

Woah! That is a nice setup :) @SixBeeps

Coder100

Here's mine

@SixBeeps

SixBeeps

@Coder100 Ooo, I'm liking the split view.

Coder100

Thanks :) @SixBeeps

EDKTHEPRO

@Coder100 OHHHH that's the game TWIST! but not really formed yet... XD

Coder100

lol YES XD @EDKTHEPRO

[deleted]

Hey @Coder100!
i bought the...

....

:D

:))))))

The Student Pack!!!!

and github will send an email for me in a few days!
and i'll become a hacker!!

AphixDev

@Zuhdi28 NICE. For some reason, my free hacker plan isn't working tho... But Unity pro I got. It was hard though. I had to give myself a seat in my own company... lol

[deleted]

@nt998302 XD, well, GitHub replying for me:

You should wait for 4 days
So cool!

syflexer

@Zuhdi28 wait how do you get a free hacker plan this sounds lit

[deleted]

@syflexer buy the student pack in GitHub!

syflexer

@Zuhdi28 ok i might do that thanks

Coder100

wait you shouldn't have to buy it @Zuhdi28

[deleted]
Coder100

its supposed to be free for students @Zuhdi28

[deleted]

@Coder100 yea, i am a student

Coder100

hmm, then it should be free @Zuhdi28

AphixDev

@Coder100 I think he made a typo

EDKTHEPRO

@Zuhdi28 I can't get it EVEN THOUGH I DID THE REQUIREMENTS!!! 😠😠

Coder100
[deleted]

@EDKTHEPRO what?
Why are you mad?

EDKTHEPRO

@Zuhdi28 BECAUSE IT DOESN'T WORK

[deleted]

@EDKTHEPRO the game?

Cookiezz

@Zuhdi28 aww I'm not eligible to get it cuz I'm not old enough.. 😞😔

[deleted]
Cookiezz

@Zuhdi28 What?

Coder100
haroun123456789

wow that's insane :D

Coder100
CodingGoose

Wow. It's amazing!

Coder100

Thank you!! :D @DannyIsCoding

CodingGoose

@Coder100 No problem :)

Coder100
RiazuMacroni

Really love the game. Good job!
👍

Coder100

Thanks!
👍 @uhmansoori

TheSummit3145

Hi Coder100!

I'm in to Unity and I have a few suggestions.
But first I need to know more about your game.
It appears as your cube is a rigid body and you are using rb.addforce. Is this true?

Also you are using a OncollisionEnter to sense when the obstacle collides.

I have a few suggestions.
1. Try adding some more obstacles. You can tag them all the same as what you tagged your current obstacle.
2. Give your enemies some AI. Try utilizing navmesh
3. Textures. Textures are important and they make your game very nice
4. UI. The UI is very important. Try adding a distance traveled meter
5. Add a jump function. This should be very simple. Heres a sudo code:
if(input.getkey('space'){
rb.addforce(0,300*time.deltatime, 0);
}
6. lock the cursor to the middle of the screen and hide. Some people (like me) find it annoying when my cursor is placed somewhere when its not doing anything. Here is how you do it.

For the points, did you use a Oncollisionenter and then destroy gameobject?
Did you instantize the points or did you clone them manually in the game.

I'm also new to Unity. :)

TheSummit3145

add me on discord pls

Coder100

Hello, sure! I'm Hithere#6537 @TheSummit3145

TheSummit3145

@Coder100 ok im Destined_ToDefeat#2348
we can give each other suggestions thru there

Coder100
Imthebestthe

Firstly, can i just say that this is an incredible project and is a lot of fun to play. But ho do you link a unity project and are you up for colabs? I like your projects so it would mean a lot if you replied. Thx

Coder100

hi! Thank you very much!
To do unity collabs we will have to get Unity Plus or Pro I can't remember :( @Imthebestthe

slee8735

@Coder100 I'm pretty sure you can do collab with 3 people max with the "non-pro" Unity. After that you need to get Plus/Pro

Coder100

wait what thats awesome! @slee8735

sestski

Damn I did not know Unity could export to HTML5.

Coder100

Ah yes, also Xbox, PS4, iOS, and desktop standalone :) @sestski

joshua181

lol

Coder100
joshua181

coollllllllllllllllll

Coder100

Thanks! @joshua181

[deleted]

Hey @Coder100. If you want a free version of Unity Pro you can use the Github Student Developer pack. It gives you free Unity Pro for a year I think. https://store.unity.com/academic/unity-student

Coder100

WOW!!!!!!!! YYAYAYAYAY @johno1566

[deleted]

lmao @Coder100

Coder100

Lol

Dark theme... here I come!!!

@johno1566

[deleted]

Can you make a tutorial for Unity plz
i am interested with it! :D

Coder100

:D ok sure! @Zuhdi28

[deleted]

@Coder100 Thank you so much!

AphixDev

@Coder100 Mind if I help?

Coder100

sure! you can be my editor :D @nt998302

EDKTHEPRO

@Coder100 Plz send me a link for another one!

EDKTHEPRO

@Coder100 Can I help also? PLZ

AphixDev
Wilke000

Are you going to update it?

Wilke000

Also, I am no longer @IndyCarter (You said thanks to @IndyCarter for arrow key support)

firedragondnd


WHY DE COOKIE FALL ON MEH

[deleted]

Evil mafia -

Gabby8C0des8

i willingly thru myself off the edge-

Coder100
gibbsfreenergy

What do you mean by Unity Game?

Wilke000

it is a game made with unity @JosephSanthosh

gibbsfreenergy

You know what would be nice. If the cube slid instead of rolled

[deleted]

it is laggy for me

Coder100

yes, for slower computers it is. @pythoder

alextotoro1

So funnnnnnnnnnnnn

Coder100

thanks :D @alextotoro1

ShivaSubraman

I think I finished the game

Coder100
thenullified

wow this game looks better than the first time i ran this!

Coder100

XD thanks! I bet your computer got better or something @thenullified

awesome10

awesomeness.

Coder100

XDDDDDD @awesome10

awesome10
awesome10

@Coder100 its not even a glitch

Coder100

yeah, I have gotten into those situations before, the levels are possible though! @awesome10

awesome10

@Coder100 yeah i know, just im really bad at them...

Coder100

XDDDD same i don't even finish half of my games (but I don't really play them either) @awesome10

awesome10

@Coder100 lololol

Coder100
awesome10

@Coder100 this thing will be on top soon if people keep upvoting

Coder100

LOL that's a lot of upvotes @awesome10

awesome10

@Coder100 ikr OMG ITS A POWER OF 2 I DONT KNOW WHY THAT MATTERS

Coder100

OMG!!!! THAT'S ACTUALLY REALLY IMPORTANT I think the power is 7 @awesome10

awesome10

@Coder100 yeah i think

DSAAidan

Says: please upvote!
me: well I gotta do it then!

tsana

the best thing in repl. GOOD JOB

Coder100

Thanks!! @tsana

techgeek680

omg so realistic

Coder100

Thanks! @techgeek680

techgeek680

@Coder100 you are welcome!

ZionAjayi

I love it!!!!!!!!!!!!!!

Coder100

Thanks!!!!!!!! @ZionAjayi

shavingcream

nice. you should make a maze level.