Share your repls and programming experiences

← Back to all posts
Online 3D FPS, csgo based
h
badst (644)

A pretty scuffed version of CSGO for the browser, online.
App is live at: https://3dfps.glitch.me/
Server is hosted on http://herokuapp.com/
Original: https://github.com/TheCoder5550/3dshooter
Feel free to fork and make changes, i can see potential, like maybe you can make it Like minecraft. :D
[note you'll need a new server]

Edit: i noticed that people said the join button wasn't working. To solve this issue, enable Javascript in settings.

Comments
hotnewtop
badst (644)

now this is epic.
whoever was online, gg lol

elipie (371)

@pepelaugh were u the dev guy? gg bro

badst (644)

@elipie yeah, gg. and btw here's a secret:
press x to use a dev "cheat" :D

Dominicl645 (429)

it is a little laggy. and you should add more of a variety of weapons @pepelaugh

badst (644)

@dominicl645 Maybe, but this is just for demo. Currently i'm learning 3js, but i usually use c#/c++ so idk.

StanleyGuo1 (9)

Holy that was loud. Big props to you though for making this. Very cool

elipie (371)

@StanleyGuo1 yeah it scared the crap outta me the first time i joined

Pizzaz4me (63)

This is cool, but you can't turn 360 degrees. And the noises are very loud.

badst (644)

@PlaySoccer Sorry for the sound, but if you can't turn 360 degrees that's your dpi.

brogen (40)

what does switching guns do? I just put down the gun.

badst (644)

@brogen It switches it to the awp, a one shot one kill gun.
(your hitmarkers will be orange, and the sound will be different)
It's empty because im too lazy to find a model, lul

brogen (40)

@pepelaugh
oh OK why is x a super high jump?

badst (644)

@brogen lol you know too? dev "cheat" i added.

ArnavGhosh (20)

All I see is Guest258 [profanity] the ground and I can't even shoot him without him going back into the ground..

badst (644)

@ArnavGhosh lmao, it's just lag or they're afk.

ArnavGhosh (20)

@pepelaugh lmao, but either way, nice job on this!

ArnavGhosh (20)

@pepelaugh lmao, but either way, nice job on this!

[deleted]

@moderation please remove this comment for NSFW swearing @ArnavGhosh

badst (644)

@HyperGamerStuds It's fine calm down, you'll say that a lot ltr in life lmao

[deleted]

It's against the rules, and tbh I heard that the more u follow the rules/make other people follow them the more likely u r to be chosen to be a mod ;) @pepelaugh

badst (644)

@HyperGamerStuds :D okay. anyways how old are you, that's a factor to consider in mods apps.

[deleted]

I'm 15, and using this for school, lol @pepelaugh

badst (644)

@HyperGamerStuds K just asking, nice to have someone around that's roughly my age. :D

badst (644)

@elipie This is made with 3d css transformations, and pure js.
If you want to make 3d games, either use Unity, Unreal, or godot.
And three js is for rendering, so you need to know some js first.
So if you want it browser based - ThreeJs.
Better Graphics, Better gameplay - use a game engine.

elipie (371)

@pepelaugh yeah.. okay ill take that into consideration! Thank you!

badst (644)

@ZDev1 Ye, collision issues, sorry. It'll be better when I learn 3JS, lol

adamtheweeb (6)

extremly scuffed but still :pogChamp:

badst (644)

@ironblockhd Thanks, you're too nice! :D

Jeydin21 (106)

I enabled JavaScript the Join button still didn't work, I went back to repl.it, and I saw an error in the console:

ReferenceError: SimpleFPS is not defined
   at window.onload (/main.js:75:3)
badst (644)

@Jeydin21 Can you give me a screenshot because it seems to work fine for me and mostly everyone.

badst (644)

@ridark Debug duty, ay? I appreciate it, fixed it :D

JackFranzel (35)

if you hide in the 2x box, ur invincible

badst (644)

@JackFranzel Na, you can shoot through it I think, lol.

[deleted]

Pretty good but super scuffed

iocoder (187)

join btn doesnt wrk

badst (644)

@ridark Hm... could be because servers are full.

iocoder (187)

@pepelaugh button brought me to 3fps.glitch.me/#

badst (644)

@ridark Ahhh that's the problem. you have to go to https://3dfps.glitch.me/ then.

iocoder (187)

@pepelaugh even after going there it still brings me to 3dfps.glitch.me/#

badst (644)

@ridark It's supposed to. Are you not in game?

Code1Tech (109)

omg so loud that scared me xD

badst (644)

@Code1Tech Yep, had to download the mp3s from yt and not from the CSGO files.

ethanshaozz1928 (22)

it says connection error

EpicGamer007 (1765)

The join match button does not work

badst (644)

@EpicGamer007 Weird. It worked fine for me. If it says "connecting" for too long that's your internet, or repl isn't cooperating. try https://3dfps.glitch.me.

EpicGamer007 (1765)

@pepelaugh that website is what i ma trying to use. the repl.co link does not work.

badst (644)

@EpicGamer007 Weird! it seems too work for me

badst (644)

@EpicGamer007 This is a weird issue, did you try going to https://3dfps.glitch.me without the #? maybe it's a variable thing

badst (644)

@pepelaugh If it's not that then you have JS turned off. most unusual

badst (644)

@gwynethwingell Thanks, better if you play it with friends :D

Vandesm14 (2727)

This might've already been said, but why not host this on repl.it?
(you linked heroku and glitch in the description)

badst (644)

@Vandesm14 Heroku has a faster server, glitch because i didn't join repl yet when i started this.

OldWizard209 (1498)

This game is cool, although it could do with some changes @pepelaugh. And there was no one online to play with :( .Other than that pretty darn cool.

badst (644)

@abdullahrajput9 yep, it's just testing, I usually use c# but i'm learning threejs, so maybe sometime soon..

OldWizard209 (1498)

Cool can't wait to see new updates :D @pepelaugh

zplusfour (914)

Why all comments have 6 or 7 upvotes?

badst (644)

@ZDev1 idk,is that normal?

badst (644)

@ZDev1 ¯(ツ)/¯ weird. are these bots?

badst (644)

@ZDev1 lol, not mine I swear. if they are, anyways

JosephSanthosh (1181)

wow, there have been so many new devs in the last few months of my absence...so many new and better coders, how are you cookie? @Coder100

18jjarvis (0)

very epic, me and the boys at school are vibin on this all the time.

MegaEmailman (0)

"ReferenceError: 'SimpleFPS' is not defined
at window.onload (/main.js:76:3)"

badst (644)

@MegaEmailman I've fixed that error: try going to https://3D-fps.pepelaugh.repl.co directly.

KadenGarner (2)

I tried to join and got this can you fix it

KadenGarner (2)

i enabled it and its not working ill try again @pepelaugh