Skip to main content
Share Your Experience: Take the 2024 Developer Survey
57 votes

What are some ways to keep the player engaged in an endless game?

Provide visible goals for the player to achieve. For example: Levels: If you click enough rockets, the game becomes more difficult. When you are lazy on a tight budget, then you can just tune some ...
Philipp's user avatar
  • 120k
27 votes

What are some ways to keep the player engaged in an endless game?

I would suggest adding a mechanic that encourages emergent gameplay. Often emergent gameplay can be introduced by adding physics into your game. For example, if a rocket explodes, it could launch ...
Zeke Hernandez's user avatar
21 votes
Accepted

How to file down a fingernail mesh?

Myself, I'd approach this by keeping the mesh fixed and unchanging, and using a texture to shave away the edge. You can make a signed distance field of your nail shape, and use this in your shader to ...
DMGregory's user avatar
  • 135k
18 votes

Why would I want to use multiple ad providers for my game?

One thing we do is use "mediators". Supersonic is a mediator. You install their plugin plus, let's say two others for simplicity, Vungle and AdColony. When an ad is requested, Supersonic figures out ...
Almo's user avatar
  • 6,678
16 votes
Accepted

What gamepad functionality can be assumed?

The standard which you will find on most platforms is: Analog directional input left thumb Digital directional input left thumb Analog directional input right thumb 4 buttons right thumb 2 shoulder ...
Philipp's user avatar
  • 120k
10 votes
Accepted

Why would I want to use multiple ad providers for my game?

While using only one ad network is fine for some projects, there are several problems that can arise. Using multiple ad networks can help resolve them. However, managing multiple ad networks can ...
indigochild's user avatar
9 votes

What are some ways to keep the player engaged in an endless game?

You need to have something that keeps changing. Interest will be replaced by boredom if it is the exact same game over and over. But it doesn't have to be. Many classic games are the same game, but ...
Tom's user avatar
  • 1,314
8 votes

Is "Check your surroundings" warning on splash screen really needed for geolocation games?

Some geolocation games like Pokemon Go had quite a lot of bad press due to people getting injured while playing them. There were also cases of people trespassing on private property or entering ...
Philipp's user avatar
  • 120k
8 votes

What are some ways to keep the player engaged in an endless game?

A user will not play a game where they do the same thing over and over. It will get boring and they will leave. As such, you need to make it feel like they're doing something new, even if the ...
Cort Ammon's user avatar
  • 1,237
4 votes
Accepted

Are the same number of tiles displayed in an isometric game regardless of phone orientation?

In a typical isometric-style projection, tiles are roughly twice as wide as they are tall (depending on whether you're using true isometric or its close cousin often used in games, the 2:1 dimetric ...
DMGregory's user avatar
  • 135k
4 votes

Are the same number of tiles displayed in an isometric game regardless of phone orientation?

This is a square grid shown using an isometric projection: Note how it's wider than it's tall. In fact, even if the grid was a rectangle with unequal sides, it still will be wider than taller, due ...
congusbongus's user avatar
  • 14.8k
4 votes

How to handle multiplayer in JavaScript?

Both the question and the accepted answer were published in 2011, and the times have quite changed since :) Websockets is quite prevalent, but an even better technology is WebRTC which allows for ...
OpherV's user avatar
  • 655
4 votes
Accepted

How to adjust objects' coordinates and scale for different device resolutions?

This depends on how you've authored the objects. 3D objects and 2D sprites positioned in your scene's worldspace will not move, scale or change their worldspace transformations no matter what happens ...
DMGregory's user avatar
  • 135k
4 votes
Accepted

How to handle a Google Play game's privacy policy

Before you read this, I'm not a lawyer. As far as I understand, the "Designed for Children" refers to apps that primarily target children, like educational apps, or cartoon-games. They do not affect ...
Tom Tsagkatos's user avatar
4 votes
Accepted

OnDrag is not invoked with a small dragging movement in Unity

You can simply set the drag threshold of the event system: The Drag Threshold property represents the number of pixels a UI object can be moved before it is considered being "dragged". ...
Mangata's user avatar
  • 2,571
4 votes
Accepted

How to detect if a mobile device is a foldable phone?

Searching for "samsung foldable phone api" brings up the Android developer documentation on foldables which links to the information on making your app fold aware: To make your app fold ...
Pikalek's user avatar
  • 12.4k
3 votes

Do I need a server to connect two players in a mobile game?

Yes, you'll need a server if you want to connect players together over the internet (Facebook friends or otherwise). Without a "meeting place" (your server) your players wouldn't have the information ...
House's user avatar
  • 73.3k
3 votes
Accepted

Mobile Game: Google Play no supported dev country and capitalization alternatives (no policies violation or suspicious behavior)?

If your country is marked red crossed in merchant account then you are not allowed to do any kind of direct bank transaction. Example: In-app purchase of any kind, sell premium app, Ad remove purchase ...
Sourav Paul Roman's user avatar
3 votes

What framerate should I aim for on a mobile phone?

So first off, a disclaimer: I'm a Director at GameBench, and we make tools for measuring mobile app/game performance (frame rate and other metrics) for a lot of major companies (Rovio, Samsung, ...
Xarus's user avatar
  • 131
3 votes

My array loads in the wrong order

ChapterListItem _chapterListItem = chapterListItemPrefab.GetComponent<ChapterListItem>(); You are getting your ...
Nicki's user avatar
  • 184
3 votes

Unity, choosing a mobile shader

There is no Mobile shader which will only adjust the color of the object, you must write your own custom shader or modify Unity's build-in shaders. If you only want ...
harut9's user avatar
  • 157
3 votes
Accepted

2D and 3D Tablet Games Definition

We're pretty loose with our definitions of 2D & 3D in games, meaning a mix of two things: Are the graphics (mostly) rendered as 2D sprites, or 3D polygon meshes (or voxels or raymarched fields or ...
DMGregory's user avatar
  • 135k
3 votes

What are some ways to keep the player engaged in an endless game?

Expanding Philipp's content unlocks category, add powerups/items that change up the gameplay. For example: You may tap to explode a rocket, but what if there was an item that made it so when you ...
Priswall's user avatar
3 votes

What are some ways to keep the player engaged in an endless game?

I feel that there are two important factors that would cause a person to keep playing a game like this. Extreme difficulty and quick, visible rewards. The ratio between these two is important to test ...
curt1893's user avatar
  • 131
3 votes
Accepted

Make Unity GUI for mobile phones only?

It sounds like you are doing something wrong when you design your UI. Supporting only portrait, or only landscape, is not a bad thing, but supporting both is better. If you decide that your game will ...
Tom Tsagkatos's user avatar
3 votes
Accepted

Authenticating users without a username or password

I cannot speak to how those games in particular work, but I have worked on other games that behave similarly. Quite simply, the client generates an anonymous id and password for you, similar to any ...
Ed Marty's user avatar
  • 5,229
3 votes
Accepted

Unity Screen.height / Screen.dpi is *not* equal to the screens height in real life

See here and here. The gist is that on Android devices specifically, the values returned from Screen.dpi are often off because Android doesn't have the same info available (or in the presumed format) ...
hatinacat2000's user avatar
3 votes
Accepted

How do Mobile Idle-Games work

You don't necessarily need to run such games server-sided. When the user exits the app, you save the game-state with the current time and date. When the player restarts the app, you reload the ...
Philipp's user avatar
  • 120k
3 votes

Why shouldn't I release my app to all countries?

You might want to release localized versions of your game in different countries. You could of course always create an universal version which auto-detects the locale settings of the user. But you ...
Philipp's user avatar
  • 120k
3 votes
Accepted

Visual Joystick moving faster than my finger. why?

It looks like I should have used RectTransformUtility: ...
Arian_ki's user avatar
  • 691

Only top scored, non community-wiki answers of a minimum length are eligible