GithubHelp home page GithubHelp logo

mrzak-dev / godotfan Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 5.0 3.74 MB

Facebook Audience Network Ad module for godot

License: Other

Java 82.84% GDScript 17.16%
godot godot-engine godot-module facebook facebook-audience-network godot-plugin facebook-ads godot-facebook-ads

godotfan's Introduction

Hello, I'm Zakaria

🎮 Game Development Expertise:

  • Engines: Godot, Cocos, Unity
  • Languages: C#, GDScript, TypeScript/JS
  • Genres: 2D and 3D games, mobile, PC, and web
  • Skills: Gameplay programming, multiplayer, and more

🚀 Featured Projects:

  1. Bounce3D: A 3D bouncing game that will keep you entertained for hours.
  2. Karta Online: An online card game for players who love strategic challenges.
  3. Side Slide: Touch to play Mobile Game.
  4. Switch Side: Touch to play Mobile Game.

Feel free to explore my repositories to find more exciting projects.

💬 Get in Touch:

godotfan's People

Contributors

mrzak-dev avatar

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

Watchers

 avatar  avatar  avatar  avatar

godotfan's Issues

Unable to get it to work (Engine.get_singleton("GodotFAN") is causing problems)

Engine.get_singleton("GodotFAN") is returning null. So folder "GodotFAN" is not being fetched. I placed GodotFAN under android folder as mentioned and then added modules="org/godotengine/godot/GodotFAN" in project setting > Compression> Android.
What am I doing wrong as error is mostly on my side? Thanks for your time.
Code is like this only for interstitial ads:

var facebookAds
func ready()
         facebookAds = Engine.get_singleton("GodotFAN")
	facebookAds.FacebookAdsInit(get_instance_id(),"758484777344_6483885593","","")

I can't install it

When i install it i get an error message because it can't get the singleton GodotFAN, i never created a singleton in the first place, do i need to put the java file in the plugins of the android compiler ?
image

Facebook Android SKD issue?

Hey, i recently downloaded the plugin for godot,
followed few tutorials.

it looks like its working fine while the Testing Enabled:
image

but when i remove the Testing, i get facebook error on the next day (24 hours after that)
image

i've tried to change [dependencies] on godot:
[dependencies]
api ('com.android.support:support-annotations:28.0.0')
api ('com.facebook.android:audience-network-sdk:6.+')

(added 6.+ instead of 5.+) i had a lot of errors.
not sure how to fix that.

Execution failed for task ':checkDebugDuplicateClasses'.

C:\Users\HOMEPC\Desktop\godot-3.1>scons p=android target=release tools=no disable_3d=yes target=release tools=no module_bmp_enabled=no module_bullet_enabled=no module_csg_enabled=no module_dds_enabled=no module_enet_enabled=no module_etc_enabled=no module_gdnative_enabled=no module_gridmap_enabled=no module_hdr_enabled=no module_mbedtls_enabled=no module_mobile_vr_enabled=no module_opus_enabled=no module_pvr_enabled=no module_recast_enabled=no module_regex_enabled=no module_squish_enabled=no module_tga_enabled=no module_thekla_unwrap_enabled=no module_theora_enabled=no module_tinyexr_enabled=no module_vorbis_enabled=no module_webm_enabled=no module_websocket_enabled=no optimize=size
scons: Reading SConscript files ...

scons: warning: No version of Visual Studio compiler found - C/C++ compilers most likely not set correctly
File "C:\Users\HOMEPC\Desktop\godot-3.1\SConstruct", line 3, in
Building for Android (armv7) (with NEON)
Using NDK unified headers

scons: warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=0 to SConscript calls.
Missing SConscript 'modules\GodotFAN\SCsub'
File "C:\Users\HOMEPC\Desktop\godot-3.1\modules\SCsub", line 17, in
Checking for C header file mntent.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
[ 95%] �[91mLinking Shared Library �[95m==> �[93mbin\libgodot.android.opt.armv7.neon.so�[0m
[100%] progress_finish(["progress_finish"], [])
[100%] scons: done building targets.

C:\Users\HOMEPC\Desktop\godot-3.1>.\gradlew build
'.\gradlew' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\HOMEPC\Desktop\godot-3.1>cd platform/android/java

C:\Users\HOMEPC\Desktop\godot-3.1\platform\android\java>.\gradlew build

Configure project :
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Task :checkDebugDuplicateClasses FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':checkDebugDuplicateClasses'.

1 exception was raised by workers:
java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class android.support.v4.app.LoaderManager found in modules classes.jar (com.android.support:loader:28.0.0) and classes.jar (com.android.support:support-fragment:25.2.0)
Duplicate class android.support.v4.app.LoaderManager$LoaderCallbacks found in modules classes.jar (com.android.support:loader:28.0.0) and classes.jar (com.android.support:support-fragment:25.2.0)
Duplicate class android.support.v4.app.LoaderManagerImpl found in modules classes.jar (com.android.support:loader:28.0.0) and classes.jar (com.android.support:support-fragment:25.2.0)
Duplicate class android.support.v4.app.LoaderManagerImpl$LoaderInfo found in modules classes.jar (com.android.support:loader:28.0.0) and classes.jar (com.android.support:support-fragment:25.2.0)
Duplicate class android.support.v4.view.NestedScrollingChildHelper found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.view.NestedScrollingParentHelper found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.AutoScrollHelper found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.AutoScrollHelper$ClampedScroller found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.AutoScrollHelper$ScrollAnimationRunnable found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.ContentLoadingProgressBar found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.ContentLoadingProgressBar$1 found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.ContentLoadingProgressBar$2 found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.ListViewAutoScrollHelper found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.NestedScrollView found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.NestedScrollView$AccessibilityDelegate found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.NestedScrollView$OnScrollChangeListener found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.NestedScrollView$SavedState found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)
Duplicate class android.support.v4.widget.NestedScrollView$SavedState$1 found in modules classes.jar (com.android.support:support-compat:28.0.0) and classes.jar (com.android.support:support-core-ui:27.1.1)

Go to the documentation to learn how to Fix dependency resolution errors.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s
17 actionable tasks: 1 executed, 16 up-to-date
<-------------> 0% WAITING

IDLE
IDLE

iOS supported?

Thanks for the plugin, will there be a version to support iOS?

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.