Giter Site home page Giter Site logo

pancake-llc / foundation Goto Github PK

View Code? Open in Web Editor NEW
61.0 61.0 10.0 78.74 MB

Game Mobile Foundation (Android + iOS) Using Unity3D

License: MIT License

C# 98.35% Objective-C 0.06% Objective-C++ 0.14% ShaderLab 1.25% HLSL 0.21%
code-base engine package ui unity

foundation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

foundation's Issues

In App Purchase Auto Buy on IOS

By definition, restore purchase will not be automatically invoked when uninstalling and reinstalling the app. but now IAP is automatic like in Project game Click Differences

Full Consent flow

First open game

Android:

  • Show dialog agree privacy policy with logical correctly

iOS:

  • Show dialog agree privacy policy
  • Show popup ATT before init advertising and tracking (for mitergral adjust tracking)

GameObjectPool.Request() Runs OnEnable twice. Is it bug or by design?

public override GameObject Request()
{
    var member = base.Request();
    member.gameObject.SetActive(true);
    return member;
}

Which Runs create which sets gameobject False

protected override GameObject Create()
{
   var member = base.Create();
   member.transform.SetParent(Root);
   member.gameObject.SetActive(false);
   return member;
}

And Again when factory method is called it gets instantiated and set as active

image

Problem it creates:
Enable logic and disable logic runs 2 times

Open Ads Appear When Game Is In Loading Screen

Pull Pin Out 3D has an issue that have not been fixed for a long time: Open Ads appear when loading bar in Loading Screen is not 100% yet, this causes a big problem. Sometimes, App Store reviews and refuses the new update becasue it doesn't allow ads appear before playing game (the first level indeed)

[Implement] new api change for admob

Since GoogleMobileAd for unity update, new API was added in version 7.4.0 as menitoned in this changelog

So I will redeploy API for Admob Client and synchronize it similarly with ApplovinClient

Opening Wizard window gives an error if your project doesn't have level Editor Scriptable Present from start with

Tested on 2 different project. If delete the Level Manager, it creates error when trying to open up the wizard editor.

Path

ProjectName/Assets/_Root/Editor/Resources/LevelSystemEditorSetting.asset (if this doesn't exist) we get this error.

The main Error:

Pancake.ScriptableSettings`1[T].get_Instance () (at Assets/Heart/Core/Runtime/ScriptableSettings.cs:17)
PancakeEditor.UtilitiesLevelSystemDrawer.TryFakeRender (UnityEditor.SceneView sceneView) (at Assets/Heart/Core/Editor/Wizard/UtilitiesLevelSystemDrawer.cs:143)
PancakeEditor.UtilitiesLevelSystemDrawer.OnSceneGUI (UnityEditor.SceneView sceneView) (at Assets/Heart/Core/Editor/Wizard/UtilitiesLevelSystemDrawer.cs:20)
UnityEditor.SceneView.CallOnSceneGUI () (at <4ec4ffcbf9cb40b9a62b20bd9f80de36>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <4ec4ffcbf9cb40b9a62b20bd9f80de36>:0)
UnityEditor.SceneView.DoOnGUI () (at <4ec4ffcbf9cb40b9a62b20bd9f80de36>:0)
UnityEditor.SceneView.OnSceneGUI () (at <4ec4ffcbf9cb40b9a62b20bd9f80de36>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <5566f9e97c3b47c3802abbb5405c3a92>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
namespace Pancake
{
    using UnityEngine;
    using System;

    public abstract class ScriptableSettings<T> : ScriptableObject where T : ScriptableObject
    {
        private static T instance;

        public static T Instance
        {
            get
            {
                if (instance != null) return instance;

                instance = Resources.Load<T>(typeof(T).Name);
                if (instance == null) throw new Exception($"Scriptable setting for {typeof(T)} must be create before run!. Please find and setup it in wizard!");
                return instance;
            }
        }
    }
}

image

Current fix: Get the level manager from other project and place it on the directory of, it doesn't even let you access the setting to create one.

Conflict with Wizard Shortcut

Shift+W conflicts, while playing game trying to move around with Wizard Shortcut
Context: Shift+W moves around camera faster
Suggested Shortcut Ctrl+W

Ow ow and I use Shift+V for scriptable Variables

Recording.2023-12-21.164143.mp4

Moving from Heart 2.4.0 to Heart 2.4.1 gives this error

image

System.BadImageFormatException: Format of the executable (.exe) or library (.dll) is invalid.
at Mono.Cecil.PE.ImageReader.ReadImage()
at Mono.Cecil.PE.ImageReader.ReadImage(Disposable1 stream, String file_name) at Mono.Cecil.ModuleDefinition.ReadModule(Disposable1 stream, String fileName, ReaderParameters parameters)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at ApiUpdater.MovedFromOptimizer.Program.CollectMovedFromTypeNamesFromAssembly(String assemblyPath, StreamWriter outputFile, IAPIUpdaterListener logger)
at ApiUpdater.MovedFromOptimizer.Program.RealMain(String[] args)
at ApiUpdater.MovedFromOptimizer.Program.Main(String[] args)

Level

  • Level Generator
  • Level System

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.