eliasku / 13 Goto Github PK
View Code? Open in Web Editor NEWFast-action P2P multiplayer game 13 (js13k-2022)
Home Page: https://iioi.herokuapp.com/
Fast-action P2P multiplayer game 13 (js13k-2022)
Home Page: https://iioi.herokuapp.com/
Add walls. A lot of functionality should be done:
This would be shown on the HUD, you can swap by using scroll, or pressing 1
and 2
on your keyboard.
π« | π 30/90
It would be nice to have a box that displays tons of useful information. You should try to make mrdoob/stats.js work cuz that would be quite cool
Chance for a headshot. This critical hit will allow player run and shoot for a 5 seconds, but in any case it will be dead. Could work like open wound and hit 1 hp?
I made this since I saw it in the post.md
file, and I wanted to make up some numbers for ammo capacity since I have played my fair share of CSGO. I added the number of rounds in each mag, the gun in CSGO it is after. I also think the user should start out with 3 mags of each. You can find ammo in the barrels, boxes, and tombstones. Picking up one thing of ammo (π can be used as the icon) will grant you one more mag of ammo for your current weapon (30 more bullets for the machine gun, 7 more for the pistol, etc). Having more than 1 type would get confusing.
Example bullet info on the HUD: π 30/90
this would be right where is displays the weapon you are currently holding
π« Pistol 7 desert eagle
π Machine-gun 30 ak
οΈβοΈ Heavy machine-gun 30 m1a4
πͺ₯ Shotgun 7 XM shotgun
β Crossbow 20 scar-20
π Plasma-gun 35 m1a4s
𧡠Rail-gun 1 awp
Bullets should bounce only if damage something. For example walls and trees should bounce out the bouncing bullets, but hit with players and barrels should absorb bouncing bullet
Game loading progress bar would be nice. Now we download images and mesh data from files.
Clearing quad now fills all screen with depth-test, we could split that to rects which are not overlapped by land and reduce clear pass in general.
Make a menu where you can control stuff about the game, this would be client side, no data will be sent to the server.
In addition to #38
With knife, pistol and crossbow you move faster. Just any weapon has it's own Weight-factor which multiply movement speed
Just visually very colorful splats instead of RED blood. Addition to #48
According to #2 build could be really slow. After js13k submission there is no need to use RoadRoller for extra-compression. This mode should be disable in default build-flow.
When you are joining the game, the banner would pause and it would look funny. So it might be a good idea to keep on playing while joining.
#6 is in action here to, I tried clearing local data, cookies, cache, still no dice.
Practice mode room should be available, where player will be alone with simple NPC.
We could fake state without server to play just regular room with bots, but offline
Adding things like grenades, smoke, and other throwables can help gameplay.
Add an element to the HUD, this would be for 3 grenades, 2 smokes, and 1 Regen ring
π₯ 3 | πΆβπ«οΈ 2 | π©Ή 1
The server can get really laggy due to the items, please make it so they can despawn after a minute or so.
When you die - you can spend coins to level up some skills before you respawn again
Some skills:
if auto-aim feature implemented: increase angle
On the settings menu, when you hover over a setting, make a little box that appears explaining the setting and what each option means (some options do not need a explanation)
When the NPC gets hit, the just drop their item and turn into a free kill, can you make sure that the NPC keeps on fighting?
You should add a RPG or a Minigun
Mode where players fight versus NPC.
Remove Virtual joysticks from atlas. That now could be drawn with mesh-primitives + dynamic text
Add a button to the start page to change your username.
download the zip and unzip, the video is too big π
After #63 we use intensive fragment shader for all passes, with and without world shading. Split shader to "blend" and "shade" to improve fragment shader cost.
[Escape]
key should:
Mobile back-button
would be nice for Android devices
Change regular quad sprites to textured polygons. Will enable better Z-buffer utilisation in the game world render pass.
To make polygon-like sprites (mesh sprites) we could use html page to edit sprite contours and export emoji source + contours data. Then in runtime we able to triangulate mesh with ear-cut library.
Notes:
Make the footprints on the ground go away after say one minute, i made a patch of the ground solid black :)
When you start the server, it would be nice if it logs kills, player joins, and disconnects to the console.
When you die, your kills get reset
It might be a good idea to add FPS in front of the number so it is clear what it is.
It would be nice if on the main screen, there was a button that brought up a box explaining what each thing on the HUD ment because I showed this game to a friend and he was confused on what all the emojis ment
I think that a redesign of the front page could be redesigned, here was a mock I made in a few minutes. The Username box would be a text field, and everytime the user clicks the play button it sets the local storage value to the value of that text box. the GitHub logo would be a hyperlink linking to this repo, and the text below would show how many people are playing right now. The same bloody background will still be there, just behind everything. This allows you to stay on the menu (if you really wanted) because it is super sensitive right now
Fog render fills the whole screen, we could set 2nd texture as lighting and render land and game objects using fragment shader with lighting enabled
Explosions are short time objects which cover some area and deal some damage.
Also explosion should patch land with crater or something
I would be nice to have a config file in server
folder that you can use to change how the game works, like how often npcs spawn, what HP they need to be at to panic, how much each weapon does damage wise (set the damage each bullet does), if it should reset kills on death, things like that. This would be a .json file
Using a pen and jumping, you can "fly" this makes you unable to hit people on the ground, but makes you invincible to others on the ground. While you fly, you can damage other players if they are flying through. First, get a pen, hold down space and your left mouse button. Do not release these buttons and you can fly.
This was me on the ground, and me on an alt, flying
Screen recording 2022-10-13 16.06.52.webm
Using a corner, you can also glitch into a wall. First you get a pen, go to one of the top corners, hold down space, w, and your left mouse button for about 20 seconds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.