Share your repls and programming experiences

← Back to all posts
Three.js Animated Cutscene Test
h
tussiez (733)

This is my first attempt at scripting an animated "cutscene" in Three.js with TWEEN.js.
UPDATE: Added Sprite Cranberry theme that gets louder the closer the cranberry bomb is
Needs work, but it is a start!

Comments
hotnewtop
Gr8est (39)

I really like it! Nice!

tussiez (733)

@foodandmoarfood We're gonna make it a horror scary somewhat frightening game

tussiez (733)

@foodandmoarfood added sprite cran berry sound

SwaroopBappanad (243)

lmao wtf did I just watch

SwaroopBappanad (243)

@tussiez no, seriously. Wtf did I just watch?

tussiez (733)

@SwaroopBappanad Ah
Lebron James, the final boss of 2020, arrives in a giant Sprite Cranberry bomb

In the proposed game, everything is Sprite and you must defeat Lebron James to get the Sacred Sprite.

Demo(not really a game) sprite.tussiez.repl.co

tussiez (733)

@Acronymical -thirstiest time of the year

maxina (40)

wait so is it a game

JULIODIAZ1 (17)

uhhhh its not working for me

tussiez (733)

@JULIODIAZ1 Hmm.. gimme a sec, lemme try it myself

tussiez (733)

@JULIODIAZ1 Are you getting any errors in the console? The Repl is working for me

JULIODIAZ1 (17)

@tussiez no it says "click anywhere to start" and i click and nothing starts ive even tried clicking the words "anywhere"

JULIODIAZ1 (17)

@tussiez when i run the repl the run button turns into the stop button then instantly turns back int the run button, maybe the repl stops.

tussiez (733)

@JULIODIAZ1 This is the expected behavior of HTML, CSS, JS repls.

JULIODIAZ1 (17)

@tussiez it works now, look


imagine this being the last thing you see

JULIODIAZ1 (17)

@tussiez how did you make a 3D ANIMATION in HTML! I SUCK AT HTML, i keep getting stuck. But I do have a project that i never finised and dont plan to.

JULIODIAZ1 (17)

but ill still post it @tussiez

tussiez (733)

@JULIODIAZ1 Yeah
*JavaScript
Practice :)

Whippingdot (378)

Lol sprite raining down on us. AWESOME

Whippingdot (378)

Welcome. I think I made a very long comment on another of your posts...or it was a different person @tussiez

JBloves27 (1504)

Nice! its on trending!

tussiez (733)

@JBYT27 Thanks! Also, do you want 1000 cycles or stay at 999

JBloves27 (1504)

hahaha, already past 1000? xd You know what would be really cool? staying at 999 cycles for rest fo replit XD @tussiez

CodingRedpanda (162)

@tussiez

im laughing so hard im gonna die

why:

tussiez (733)

@ridark Wanna Sprite Cranberry

tussiez (733)

@ridark The lore is that it is Christmastime and lebron james from Sprite detonates a bomb and everything is Sprite Cranberry. Now you must defeat Lebron James and take back the Sacred Sprite.

CodingRedpanda (162)

@tussiez everything is........... sprite cranberry?!?!?!?!

tussiez (733)

@CodingRedpanda It was the thirstiest time of the year..

CodingRedpanda (162)

@tussiez NOooooOOooOOOOOOoOOooOooOoOOOooOOOOo

foodandmoarfood (14)

Lebron james was the final boss of 2020?

bellabonura21 (89)

@tussiez it is just kinda funny because i did not know sprite cranberry was a thing and now i bought it and well u get the idea

tussiez (733)

@bellabonura21 You were able to buy it?!?

tankerguy1917 (159)

ITS THE THIRST, THIRSTIEST TIME OF THE YEAR
WANT A SPRITE CRANBERRY?
Noice. 👍

tussiez (733)

@tankerguy1917
The choice is clear!
Thanks :)

tankerguy1917 (159)

@tussiez np :)
oh, and any ideas on a game i can make in pygame, im kinda out of ideas.

tussiez (733)

@tankerguy1917 hmm IDK (not a pygame user)

tussiez (733)

Because we spammed comments, this is higher on Trending than Egg Boundary :/

Baconman321 (756)

@tussiez Not spamming comments,
having a good time!

Baconman321 (756)

LLLLLLLLOOOOOLL. Try making the player running more realistic too.

https://www.scpcbgame.com/

Download the game. It's as scary as heck, but one of the reasons why is because of the really detailed and animated player walking.

tussiez (733)

@Baconman321 Yeah lol, I just animated camera.position. Probably a little camera shake would help :)
Oo, I'll check that out

Baconman321 (756)

@tussiez The first time I got jumpscared by peanut (SCP-173) I just quit the game (too scary).

Also: https://www.youtube.com/watch?v=ivFjepjkyTg
You won't get very far without reading that.

angrydoge (457)

SCP games are scary AF @Baconman321

Especially "Lone Survivor"

"AAA GET AWAY FACELESS IKEA THINGS"
Baconman321 (756)

@angrydoge
"The store is now closed, please exit the building".

"Oh, no. I saw it, I saw it's face! No, no not me. NOT ME! Please, get away FROM ME! AAAAAAARGHHhhaaaaaaa....."
https://www.youtube.com/watch?v=AbMJnppMMsA

angrydoge (457)

096 and 3008 go BRRRRRRRRRRRRRRRRRRRRRRRRr @Baconman321

Nightmares go brrrrrrr :(
Baconman321 (756)

@angrydoge

The mighty 3199 go "Humans refuted"

SCP 3390 go vroom over everyone. Honestly that one is creepy, especially now that it can think for itself and is down in a dark and scary room...

I would not like to get squashed by that thing!
Baconman321 (756)

@tussiez Note that like I said to you before, SCP can get quite... explicit. Just warning you. There are a few scps that sound like someone made it just for pure "ew" (and that "ew" can mean a few more things).

Wanna work on sortacraft?

angrydoge (457)

I had nightmare about "the old man". ****ing creepy @Baconman321. I literally had to run and watch it just grab my friends. I survived with like 3 - 2 other ppl. Im still scared to be in places with no running space :P

Baconman321 (756)

@tussiez Let's use this cutscene for a horror game in threejs!

tussiez (733)

@Baconman321
Yeah rip
I'm doing some HW rn, I'll let you know in a few minutes if I can.

Baconman321 (756)

@angrydoge LOL Oof. I had a dream that I befriended SCP-173 and he no snappy snappy me anymore (we were partners he,he).

Baconman321 (756)

@tussiez I'm in sortacraft, join when you can.

angrydoge (457)

@Baconman321

Oof. All my dreams are hecking CREEPY.
EVERY. ONE.
That I remember atleast

Baconman321 (756)

@angrydoge Two nights ago I had a dream that my house got OoOfed by MTF cuz CB (containment breach).

angrydoge (457)

@Baconman321 I havent had a dream in like more than a month tbh. I dont have any SCP ones anymore tho

angrydoge (457)

Prob bc I abandoned scp wiki ;-; @Baconman321

angrydoge (457)

Oof just had another spoopy SCP dream @Baconman321

Baconman321 (756)

@angrydoge LEL me too, I thought SCP 173 was mini and stalking people but instead of cracking people's necks it was pricking us with a sharp sword (lol).

angrydoge (457)

lol. Mine was more apocalypse type @Baconman321. There were a couple DND references here and there, because some dude was opening up the hole to the bunker, and of course the wall is made of glass on the other side, and a freaking beholder comes by.
It was so scary bc the bunker door was also see through and we were waiting for the dude to finally get it open, just laying on the floor. Then it came thru and killed him.
There were also a few SCPs here and there :| spoopy

angrydoge (457)

@Baconman321

:(

yes lol :|
Of course there was also the random group of marauders that I just happened to bump into

angrydoge (457)

lol. when u wanna go on teh void @tussiez

tussiez (733)

@angrydoge Stuck at home (sister tested positive), should be @ school RN xD
Maybe in an hour?

Baconman321 (756)

@tussiez Yoo, tussiez OoF. I had corona back in november. Just pray that nothing happens...

Hey tho, 10-11 CST ?

Corona means u get more time to do coding :D (at least I hope).

tussiez (733)

@Baconman321 Rip lol XD
I'm doing schoolwork RN, possibly 2-3 CST

Baconman321 (756)

@tussiez K.
Oh wait, I meant 11-12 CST.

2-3 CST works too.

Right now sortacraft has an error...
"Uncaught ReferenceError: loadAtlas is not defined at gameworker.js:26" in gameworker (after the textures are split).

tussiez (733)

@Baconman321 Ah, that's why it isn't working. I can fix that RN (should be easy)
K

tussiez (733)

@Baconman321 Fixed it! I set a handler name for passing in the split textures but never defined the function (it's empty ATM, I'll add code to it later)

angrydoge (457)

Oof hope she gets better @tussiez
And ight at 11:00

Baconman321 (756)

@tussiez Yeah, that's what I thought.

Baconman321 (756)

@angrydoge If u want I can help you with offline support.

angrydoge (457)

Wanna work on teh void @tussiez

angrydoge (457)

Lol @tussiez
I just finished coding class so I would be able to, but I have dinner like right after. Maybe tommorow?

tussiez (733)

@angrydoge Sure! I’m having dinner RN too ::D

angrydoge (457)

Are you able to come on 2day :D @tussiez

tussiez (733)

@angrydoge Yee ::D
Something random: My friends made a whole collection of spidey emoticons xxD

angrydoge (457)

nice @tussiez

Inspired be me? :0000

Also want to go on rn

tussiez (733)

@angrydoge oOf yee
Nat RN, doing HW also a possibly new game

Baconman321 (756)

@tussiez oOf don't forget sortacraft :(

Baconman321 (756)

@tussiez Oh....
How long that gonna take?

Baconman321 (756)

@tussiez K.
I fixed some caching problems that would cause broken offline support. Works 100% offline now (unless you don't have it cached lol... ofc)

Baconman321 (756)

@tussiez Yoo tussiez. A friend of mine wants to help with sortacraft. He's a game designer (well, amateur). Can I invite him (I have invite perms so that's not a problem)?

tussiez (733)

@Baconman321 Sure! Just learned how to invite today LOL (asked on Talk ::> )

Baconman321 (756)

@tussiez Oh nvm I can't invite. Here the guy's name is coderx159

angrydoge (457)

E can u come on teh void @angrydoge

tussiez (733)

@angrydoge Spent too much time on PC today : ( (

angrydoge (457)

Can u come on today?!?!? @tussiez

angrydoge (457)

yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeyyyyyyyyy ::::::::::::::::::::D what tiem? @tussiez

tussiez (733)

@angrydoge :) Aight, back to schoolwork!

Baconman321 (756)

@tussiez Argh the notifs! (It's ok I'll just pardon them).
Hmmmm, oh ye. In sortacraft we should add signs sometime.

And fix all da bugs ::_.

::::::D

Oh wait nvm I can do better...

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::D

Need more?

tussiez (733)

@Baconman321 Lol yes

Dang how long have you been in Chernobyl?!

Baconman321 (756)

@tussiez I legit studied for Chernobyl for a year and know a looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooot about it.

tussiez (733)

@angrydoge It's 2:00 est lol

Sorry, I have to go out (Covid test)

Baconman321 (756)

@tussiez Oh, no... notifications are bigger!

Also, oOf.

tussiez (733)

@angrydoge sorry I proceeded to the Grocery Store

angrydoge (457)

Okay, so youre in eastern standard time and im in central standard time, so ill png you at 12:00 CST so for you it will be 1:00 EST ight @tussiez?

tussiez (733)

@angrydoge I believe so
However I have a scheduled meeting @ 12 (CST) so 1 (CST)?

Baconman321 (756)

@angrydoge If u want I can help too.

ALso pings REeeEeEeEe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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAvAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

(Yea, really!)
I wake up every day to like 6-19 pings. oOf

Should I have used less AAAA's?

tussiez (733)

@Baconman321 What? I wish I had more pings :((

Baconman321 (756)

@tussiez Unnecessary pings hide some of the notifications you might want to go back to...

Baconman321 (756)

@tussiez @angrydoge can you guys create a new comment and talk from there so I don't get pinged so much?

Sigh, they really got to add DM (direct messaging).

angrydoge (457)

I wish I had more pongs too lol @Baconman321 @tussiez

tussiez (733)

@angrydoge Yee lol let's make a new thread

angrydoge (457)

WANT A SPRITE CRANBERRY
Also can u help me add tha TV

tussiez (733)

@angrydoge lol I should add the music in the bg

angrydoge (457)

lel. nice pong me when u can k. @tussiez

tussiez (733)

@angrydoge Sure!
Btw, is the GIFY page a video? I dunno how exactly it works (we can load videos onto the canvas)

angrydoge (457)

Um no I dont think so.. lemme check @tussiez

tussiez (733)

@angrydoge Rip, we'll find a way :)