I want to make a mobile game called "Granny Panties" where players can design a senior…
- User
I want to make a mobile game called "Granny Panties" where players can design a senior citizen character that lives in an assisted living facility, who is trying to sneak into their friend's room without being caught by security guards and nursing staff. The game's camera would be from a bird's eye view as the player controls the character from above. The player would move their character by swiping in the direction they want their character to move in, but the character would only move one step at a time. What would be the best way to build this game? What game engine should be used? What platforms would be best to release this game? What would be the best way to monetize this hyper casual game?
- Assistant
To build a mobile game like "Granny Panties," you can follow these steps and consider the following recommendations:
-
Game Engine: For a 2D, hyper-casual game like this, I would recommend using either Unity or Godot game engines. Both are free to use for personal projects and have large communities, which means you can find plenty of tutorials, assets, and help online. Unity has a more extensive user base and better support for monetization, while Godot is open-source and has a simpler interface.
-
- User
If I were to use Unity to design this game, how would you recommend I build this?
- Assistant
- User
Can you list out the different logic needed to develop this game with Unity?
- Assistant
- User
Can you code the character movement logic?
- Assistant
Sure, here's an example of how you can implement character movement logic in Unity using the PlayerController script:
using UnityEngine; public class PlayerController : MonoBehaviour { private Vector2 swipeStartPosition; private Vector2 swipeEndPosition; private float swipeMinDistance = 50f; private Rigidbody2D rb; void Start() { rb = GetComponent<Rigidbody2D>(); } void Update() { if (Input.touchCount > 0) { Touch touch = Input.GetTouch(0); if (touch.phase == TouchPhase.Began) { swipeStartPosition = touch.position; } else if (touch.phase == TouchPhase.Ended) { swipeEndPosition = touch.position; Vector2 swipeDirection = swipeEndPosition - swipeStartPosition; if (swipeDirection.magnitude > swipeMinDistance) { MovePlayer(swipeDirection); } } } } private void MovePlayer(Vector2 direction) { transform.position += (Vector3)direction.normalized * Time.deltaTime; } }This script attaches to the Player object and handles swipe gesture detection and character movement. The method updates the character's position based on the swipe direction. You can customize the movement speed and other parameters as needed.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.