Questions tagged [browser-based-games]

A game that runs in an internet browser, either using core browser features (HTML5, CSS and JavaScript) or plugins including Flash, Java, Silverlight or the Unity Web player. Add the relevant tags for the plugin or language you're using.

Filter by
Sorted by
Tagged with
-1
votes
1answer
44 views

Web based poker on Phaser 3

Please can somebody help me as I'm a lil bit new to game dev and user interface designing. I am trying to create a simple Texas holdem poker using phaser3 for multiplayer application. I have a few ...
1
vote
2answers
95 views

Detecting collision between browser window middle point and other sprites visible in the window

In HTML5 canvas, I have an object which is always in the middle point. On the big map there are other moving objects. I want to detect if the middle point of the window hit any shape we see on the ...
0
votes
0answers
25 views

Generate spritesheets on the server or in the client browser?

I want to make a browser game (using HTML5-canvas) where the user can create their own character with different clothing and stuff. I want to use something like the Universal LPC Sprite Sheet set. ...
2
votes
1answer
62 views

Issues with AABB on a platformer game

i'm facing an issue at the moment in my javascript/html platformer game that despite searching for this issue i can't solve. The problem is this: When i place two platforms next to each other and the ...
4
votes
3answers
1k views

Implementing a build queue in a browser based game

I need to be able to execute certain events at a given time in my game, for example, say the player "Builds a building" this building should take 15mins to process. Implementing this seems ...
0
votes
0answers
17 views

Updating same value firebase multiplayer

I've been developing a boss hitting system for my application with utilization of firebase (firestore). Simply put, there is a boss, visible to multiple users, he got max and current hp. The ...
0
votes
1answer
37 views

If online games use permalinks

I'm trying to figure out how to accurately capture the state of the web app by a URL, similar to something like https://jsfiddle.net/, where they create ...
3
votes
4answers
2k views

Can browser based games be developed without JS/Flash? [closed]

I have absolutely no knowledge about game development, and for 2 years I have been a web application developer (in PHP & JS). I'd like to learn game development, and I'd also like to free myself ...
0
votes
1answer
40 views

How to store information about a simulated sport match in a browser game?

There is a browser game called Soccerstar where users play in a soccer team and compete in matches against other teams. Matches are scheduled at specific times of the day and played automatically and ...
3
votes
1answer
138 views

Is Patreon a viable way to implement a subscription-based monetization strategy?

I am looking for an alternative to premium currency and microtransactions as a monetization strategy for a persistent browser game. Subscriptions seem the straightforward solution, though I don't want ...
-2
votes
1answer
70 views

Making a Java Swing game a browser based game [closed]

I have made a game in Java using Swing for the GUI. It is a network game relying on the client-server model. Basically the game is a turned-based chess-like game. It has a connection menu, game ...
5
votes
2answers
1k views

Are browser games still profitable?

Back in middle school I would play games like bowman, kitten cannon, sniper assassin, etc. On sites like addictinggames.com, or crazymonkeygames.com. I know these games would have ads run on them, ...
1
vote
1answer
915 views

2d game with 3d js. game engine

I'm trying to understand if it's possible to create a game where the player can switch between 2d (strategic/bird view) and 3d (actual gameplay) using only the 3d supported JS/HTML5 game engine, like ...
10
votes
3answers
3k views

Why PHP over C# for PBBG? [closed]

I am a C# developer and wanted to start a hobby project building a persistent browser based game (PBBG). I work with C#, MSSQL and Angular and thought I would use those techniques for my hobby project ...
3
votes
3answers
227 views

How does server code modify game state on the server while still accepting additional server game calls

Question first, then explanation second. How can a webservice backend to a game modify and alter the server game state while the game simultaneously accepts webservice calls from other users of the ...
10
votes
3answers
6k views

How to implement mouselook in the browser?

I am currently creating a 3D first-person shooter game in the browser using WebGL. How would I implement mouselook/free look for such a game?
0
votes
1answer
57 views

Should all stats only exist on MySQL database for my Flash browser RPG?

I'm creating a browser RPG in Flash which will have some multiplayer elements and in-app purchases so security is a high concern. Would it be better to have all game stats like health and such exist ...
5
votes
4answers
3k views

Browser RPG fight calculation formula

I am making a simple browser rpg game, similar to battleknight. To keep the game simple, I have just Strength, Constitution, and Luck. But as luck is random based, I'm struggling with fight ...
-2
votes
2answers
587 views

How to develop a PBBG?

I enjoy playing a lot of text-based PBBGs (Persisent Browsing Based Games). A good example of the style of game I'm referring to is lyrania. I would like to work on developing this style game but have ...
0
votes
1answer
1k views

Implementing Turn based Combat Using Node js

I am creating a browser game that allows players to fight monsters using Nodejs, Socket.io and ...
1
vote
1answer
114 views

Accounting for drift between ticks

What are some solid techniques to account for the gap between processing time and frame update ticks? In other words, the game/render loop looks like this: Some important points: Tick timings are ...
1
vote
0answers
338 views

Detecting keys presses between keyboard layouts, operating systems and javascript

I've recently encountered a few headaches when I tried to detect key presses for a custom game engine to supports Windows, MacOS, Linux, and WebGL. Naive approach: At first I naively thought that ...
0
votes
1answer
1k views

Away3D vs Papervision3D [closed]

I have served Google and I found that there are many 3D game engine also I have another question here Do Playfish and Zynga use Flash game engines? and I know that away3D is used for social media ...
4
votes
2answers
2k views

What 3D engine should I use for the browser, iPhone, and Android platforms? [closed]

I have a C++ game that has a 3D engine that works only in Windows. I'm wondering which engine I should use so that it can be used in a browser or in iPad (iPhone) and Android environments? Does anyone ...
4
votes
5answers
5k views

Which free HTML5-based game engine meets these requirements? [closed]

I am experienced with traditional JS and HTML but new to HTML5. I want to develop games in HTML5 so that it can work on all devices and browsers, including IE. Additionally, I require the following ...
1
vote
1answer
4k views

Is there any JavaScript game library good for mobile gaming? [closed]

I do not know how should I ask this question. I am a very new in this field. I want to learn game development. I want to learn it for Android and iPhone game development. That's why i was looking for ...
0
votes
2answers
367 views

How do I create a web player for a game engine written in C++? [closed]

This web player is for the Unreal Development Kit, and works very well without a browser plugin. I'm wondering how it is built. How do I create a web player for a game engine written in C++?
0
votes
1answer
256 views

Tips on building a real time multi player web platform + framework and/or tookit [closed]

I'm trying to develop a multi player game web app which basically should be able to achieve the following goals: Provide a game engine + framework/toolkit to let third party corporation integrate ...
-1
votes
1answer
187 views

Browser RPG mechanic from tabletop RPG [closed]

The GURPS "you have 100 point to buy attributes, advantages and skills, but you can get disadvantages for bonus points" mechanic can work in browser based RPG's?
7
votes
4answers
5k views

Web-based interactive fiction engine? [closed]

Are there any web-based interactive fiction engine that allow you to script a game and have it run from a website?
2
votes
1answer
245 views

Marketing a browser game with a specific audience

My issue is that I have extensively developed an online browser game, but mainly the marketing and independent developer guides tailor to action packed executable games. My game also tailors to a ...
-4
votes
2answers
185 views

What software to use to make games for free with commercial use? [closed]

I am going to make a 2D game, I need free software for my team of five or less people. I should be able to sell in-game currency but the game will be free. The software should be able to compile the ...
8
votes
2answers
1k views

Adapting pen & paper RPG rule system for use in a video game [closed]

I want to make a browser based RPG. I am considering to use an existing pen & paper rule system (like FATE or GURPS) instead of developing my own rule system from scratch. What pitfalls should I ...
4
votes
4answers
6k views

Is running cron jobs every minute a good practice for browser-based games?

I'm trying to create a browser-based game (made in PHP, MySQL, Js, HTML, and CSS) that is heavily dependent on user's actions being carried out after a certain amount of time passed whether online or ...
1
vote
1answer
75 views

requestAnimationFrame handles game ticks weird when tab isn't viewed

So i have the game logic and render in the callback for requestAnimationFrame, and somehow the ticks run very weird. In fact, the rendering happens alright. But the ticks seem to skip an ...
4
votes
2answers
153 views

legal disclaimers and lisence type for a free multiplayer browser game

I have created a multiplayer browser game. The game is completely free (donations are welcome) but I would like: (a) to protect my concept in some way. (b) to provide legal notes that the user ...
1
vote
0answers
310 views

How to create communication with node.js server to client browser about monsters(object)

First hello and sorry for my English, and now about my problem. I create node.js server that communicates with the browser-client for player position, life, def, ...
5
votes
3answers
227 views

Calculate resources real-time. Sockets or not?

I'm currenly developing a game in Javascript. It's a Single Page Application so every change should be pulled from the server without page refresh. I'm currently wondering how I should handle the '...
1
vote
1answer
325 views

How can a BabylonJS FreeCamera be rotated from code?

Say I have a FreeCamera in a BabylonJS 3D world. How could I rotate that camera from program code? Or, more specifically, how might I bind camera rotation (not movement, which I know how to bind to ...
1
vote
0answers
410 views

how do i make an object in gamemaker only overlap on one side?

I am making a small flash game in game maker 8.0 pro and I need some help. In my game, the character is in an office with cubicles. I need my character to be able to walk behind and in front of the ...
2
votes
2answers
427 views

Turn-based browser game

I want to try to build a multiplayer turn-based browser game. What technologies do you recommend me to use for server side considering I plan to host it on a shared host? Would PHP be fast enough?
1
vote
3answers
469 views

What's the best way to generate an NPC's face using web technologies?

I'm in the process of creating a web app. I have many randomly-generated non-player characters in a database. I can pull a lot of information about them - their height, weight, down to eye color, hair ...
6
votes
1answer
857 views

SVG—rendering performance

I have created a jump'n'run browser-game based on SVG. The »World« grew large (~80px * ~20000px, before scaled to viewport height) and rendering went slow. In consequence I included a range searching ...
0
votes
1answer
2k views

Phaser.io with Socket.io - What should the Server calculate and what the Client?

I'm currently playing around with phasio.io and socket.io to create a really simple multiplayer. For the beginning i created basic movement which is synched via socket.io. The clients are sending ...
4
votes
4answers
410 views

Is it possible to design a multiplayer game which can be played from different devices?

I want to design a online multiplayer game for all gaming devices e.g. Desktop PC, Internet browser, Android phones, Android tablets, iPhone, iPad, XBOX 360 etc. Now my main requirement is that, I ...
1
vote
1answer
319 views

Designing PHP RPG game: Should I use multiple classes for each type of item or a single table?

I'm making a text-based role playing game written in PHP. I have a hard time figuring out how to handle items in game - there will be a few types of objects (weapon, machine, tool, building etc) each ...
0
votes
2answers
1k views

How legal would it be to use some elements of the Half Life universe in my non comercial, indie game?

I'm planning to make a simple, HTML5 game, that would use some elements of the Half Life universe. Basically, it would be a 2D Portal clone, but it would have it's own story, and portals would be ...
1
vote
1answer
154 views

building timers in strategy games

I've got a web-based strategy game in which you build a city. Coding is smooth, but I'm kind of hung up on how long it takes my buildings to build. I want to keep the user playing, but have them long ...
-1
votes
4answers
500 views

Server for online browser game [closed]

I am going to be making an online single player browser game. The online element is needed so that a player can login and store the state of their game. This will include things like what buildings ...
5
votes
3answers
7k views

What languages are required for an mmo browser game? [closed]

What 'Things' are required for this sort of game? I understand java, c++, javascript, and objective c (iphone programming) fairly well, however I know nothing about networking programming, but I do ...