Share your repls and programming experiences

← Back to all posts
CUBE DASH
h
Coder100 (8744)

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!

Commentshotnewtop
Gabby8C0des8 (24)

i willingly thru myself off the edge-

JosephSanthosh (1192)

What do you mean by Unity Game?

JosephSanthosh (1192)

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

Coder100 (8744)

yes, for slower computers it is. @pythoder

thenullified (151)

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

Coder100 (8744)

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

Coder100 (8744)

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

awesome10 (221)

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

Coder100 (8744)

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

awesome10 (221)

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

Coder100 (8744)

LOL that's a lot of upvotes @awesome10

awesome10 (221)

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

Coder100 (8744)

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

DSAAidan (7)

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

tsana (47)

the best thing in repl. GOOD JOB

ZionAjayi (0)

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

shavingcream (7)

nice. you should make a maze level.

[deleted]

This is awesome! Can you tell me how to open Unity?

Coder100 (8744)

Thanks! What do you mean open unity? @christopher00

[deleted]

@Coder100 Like how do U use unity and put it on repl.it?

Coder100 (8744)

ah that, I am trying to make a tutorial soon :) @christopher00

[deleted]

@Coder100 Hmmmm... I am installing unity right now. Maybe I can help?

[deleted]

99 upvotes
why not 100 xd

uhmansoori (46)

Really love the game. Good job!
👍

JiahaoCao (10)

level 4 is impossible

Coder100 (8744)

Hi, all of the levels are possible :P what part is hard? @JiahaoCao

EDKTHEPRO (16)

HMPH UNFAIR The student pack won't let me get it but I did all the requirements! 😠😠😠😠😠😠😠😠😠😠😠😠😠😠😠

EDKTHEPRO (16)

@Coder100 OH XD I downloaded GitHubDesktopSet....exe! Should it work now?

EDKTHEPRO (16)

@Coder100 I can't edit on the GitHub collab. :( How can I?

BobTheTomatoPie (1131)

Yo I made something on unity once, how do you turn it into a repl?

BobTheTomatoPie (1131)

Alright thanks, I did that, then how do I get the code to put into the js file? @Coder100

RohilPatel (1257)

This is very good! Did you have fun making it?

EDKTHEPRO (16)

Can you make a new level in the game, with passages that lead to different passages, or in a different game?

Coder100 (8744)

sure! I'm making a maze game rn and I can incorporate that :) @EDKTHEPRO

MadhusudanPraja (0)

wow its wonderful i like it
it was fun to play.

TheSummit3145 (22)

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 (22)

add me on discord pls

Coder100 (8744)

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

TheSummit3145 (22)

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

TwinkleGupta (0)

HEY, could you plz tell me how you have integrated unity with repl

TheSummit3145 (22)

@TwinkleGupta
i believe when you build it there is an option to generate html code

Coder100 (8744)

Yeah, in build settings, select WEBGL @TwinkleGupta

[deleted]

This is great! very cool!

jedgrei (1)

The camera angle is kind of odd. I would recommend looking down at the cube, not up at it. It's currently hard to see obstacles in the way...

Coder100 (8744)

yes, true you would be able to see obstacles better but then you can also be able to see some traps @jedgrei

Imthebestthe (97)

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 (8744)

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

slee8735 (3)

@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 (8744)

wait what thats awesome! @slee8735