Tag Archives: development

Stream video with getUserMedia()

Request the user to start their webcam stream var video= document.querySelector(“#videoElement”); if(navigator.mediaDevices.getUserMedia){ navigator.mediaDevices.getUserMedia({ video: true }) .then(function (stream) { video.srcObject = stream; }) .catch(function (error) { console.log(“Error streaming”); }); } Using the getUserMedia() API which allows you to access a user’s camera and mic without any plugins Streams have inputs (video) and outputs (video) The… Read More »

JavaScript filter()

Part of my “Functional JavaScript” programming notes Syntax: let newArray = Oldarray.filter(callback(element, index, array)); Explanation: The filter method returns a new array from the filtered items from the oldArray Items are filtered according to some condition To do so a callback function is used The callback function takes 3 arguments: element: The current element index:… Read More »

Woot Woot! Getting UE4 clients!

This month I’ve gotten 3 #unrealengine contracts.  Neither one of them involve building games from scratch, rather joining teams and completing particular tasks. The journey from web dev to game dev has started, even though I’m still doing web development and now am poking around with vue.js and svelte.

Sector Survival: A hyper local social survival game

I’ll be documenting my new game Introduction: It’s a hyper local game focused on sector 10, in the city of Chandigarh. Process: Design of game assets Level Design Logic Design  Doc: Concept: A social survival strategy game. Objective: To survive a minimum of 20 mins of game play with a base popularity score for example… Read More »