Skip to main content

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
3 votes
1 answer
205 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 ...
0 votes
0 answers
21 views

Game character in the browser game appears on Android, but not on iOS

I have a problem with rendering the game on mobile platforms (the game is written on the Impact.js), the problem is only with the iOS actually, the screenshot below shows that the characters are ...
0 votes
0 answers
78 views

Export Blender models and (procedural) material to Browser?

Given that Verge3d cannot support Volume input, or volumetric shader property in the material output node. Using WebGl 2, and possibly 3.js, is it possible for me to export my blender models and their ...
0 votes
1 answer
3k views

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

I'm currently playing around with phaser.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 ...
0 votes
0 answers
841 views

Client says they want Unreal scene viewable in a web browser 😳 last minute

I have a job that I did for a client and the client wants the project to be viewable in a web browser. I looked into it and all I found was people telling me that it's impossible, but this is a low ...
1 vote
2 answers
3k views

Is there a way to make a game that uses Python/pygame that will work through a web browser?

Is there any framework or method that will allow to use browser to run a 2D game made in python with pygame graphical library?
1 vote
1 answer
524 views

How can I protect against a cheater changing variables on the client?

I built a multiplayer fighting game with impactjs, socket.io and nodejs and faced with "change variables hack" (I want to call it like this). All my current logic with jump, running, shoot ...
0 votes
0 answers
34 views

Signalling time-expiry to clients in a browser-based multiplayer game

I'm trying to develop my first ever browser-based multiplayer game that utilizes my own websocket server which has no multi-threading capability. It will be a game where players try to be the fastest ...
0 votes
0 answers
43 views

Strategy browser game - Update tables on refresh

I am building a Travian clone for learning purposes using FastAPI for the backend. I want to update my current logged user tables whenever they are making a new request (such as loading a new page) ...
2 votes
2 answers
221 views

Where can I find sources on how many people play with sound disabled/enabled?

This is probably more a problem with me being unable to find statistics which i am absolutely certain must exist in some form: How many people play with the sound off/on when playing browser games or ...
5 votes
4 answers
5k 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 since Luck is based on randomness, I'm struggling with combat ...
1 vote
1 answer
258 views

Best way to implement a to hit formula based on provided stats

There are a ton of these questions, some can get really mathy - which is fine, but I am looking for a simple way based on a few stats, I thought I came up with one, so I will share it in hopes that ...
0 votes
1 answer
81 views

How do I change the turn from a user to the next?

I was asked by a friend to develop a small web game which should support 10 players. Very basic game-play: There is a piñata which has x-"healthpoints". Each player can hit the piñata when ...
1 vote
2 answers
181 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 ...
6 votes
1 answer
2k views

File saved to IndexedDB lost unless we change scenes

Our game includes an in-game level editor. When the user saves a custom level, the level is serialized and written to a file: ...
1 vote
1 answer
92 views

In regards to real time turn based games, where should the turn handler be?

I'm currently developing a pool-like browser game. I'm stuck on where should I handle the turn changing, timer, etc. Currently, turn timer (i.e. 15 seconds left to do action, then turn will change) is ...
0 votes
0 answers
162 views

Proper way to handle timers at scale

At scale for multi-users, what is the proper way to implement timer updates? I'm making a game where Users have buildings to upgrade which involve timers (Yes I know there are plenty of questions ...
1 vote
6 answers
583 views

How to deal with players having too much money (or any large numbers)?

I'm working on a browser MMORPG in PHP and MySQL and today got a bug report about int32 overflow, due to the player having too much money. When I was designing the core system, I completely forgot ...
0 votes
0 answers
72 views

Unity WebGL Canvas only loads on select machines

https://herbertjoseph.com There is a WebGL build in the background of this site, and it doesn't seem to laod on my iPad. I've asked a few people to visit and check it out, and some have said that the ...
1 vote
1 answer
453 views

database design for browser based game [closed]

I'm wondering how to design a database for the player's experience, whether to create a single table that will collect basic information such as. Class, race, number of experiences, number of occupied ...
1 vote
0 answers
286 views

Why would running WebGL app in Edge improve performance in Firefox?

I have a WebGL app (built using Unity 2019) which I'm testing locally in Firefox and Edge. If the app is only running in a tab in Firefox, it runs at 25 - 50 fps and has noticeable stutter. If I run ...
8 votes
4 answers
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?
0 votes
1 answer
442 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 ...
3 votes
0 answers
195 views

Game runs at different speeds in Chrome versus Firefox

I am using Box2D for physics on the server side. Player position is updated on the server, so there is nothing the client can do except give input. But running game in Chrome only, the player moves ...
2 votes
3 answers
277 views

Testing Multiplayer Browser Game on Single Computer

I am writing a multiplay browser based game and am running into an issue with playtesting simple interactions. When a browser window loses focus is stops running requestAnimationFrame calls. This ...
1 vote
1 answer
195 views

Same scroll speed across devices with different DPI

I am creating a simple game in JS, something like the flappy bird :) For pipe scroll, I am using a linear tween. I noticed that the speed of the pipes are different across different smartphone ...
5 votes
4 answers
1k views

How to implment the database for event conditions and item bonuses for a browser based game?

I am currently creating a browser based game, and was wondering what was the standard approach in making diverse conditions and status bonuses database wise. Currently considering two cases. Event ...
4 votes
3 answers
2k views

Passive skills and items

I'm making a small text browser RPG game using PHP, MySQL and Java Script (and jQuery). All the items are saved in the MySQL database. Every now and then a character have to make a skill roll (Talk, ...
2 votes
1 answer
518 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
3 answers
2k 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
1 answer
51 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
4 answers
4k 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
1 answer
65 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 ...
-1 votes
1 answer
331 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
2 answers
2k views

Are browser games still profitable? [closed]

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, ...
2 votes
1 answer
1k 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 ...
11 votes
3 answers
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
3 answers
292 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
3 answers
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
1 answer
99 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 ...
-2 votes
2 answers
2k 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
1 answer
3k 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
1 answer
209 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
0 answers
746 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
1 answer
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
2 answers
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
5 answers
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
1 answer
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
2 answers
459 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
1 answer
268 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 ...