Sami424's Recent Forum Activity

  • I forgot to read that it's an RPG game you are doing, however, you can learn something from my comment here for that too.

    First of all, try to set run animations to "start at current frame", always. Also, remove the duplicate "simulate right movement", 1 is needed only.

    There are a number of ways you can do what you want to do in construct, however for example if I want to make a side scroller and make it switch animations depending on movement and inputs, I would do this:

    Above I just use the Invert option on the event, checking if the player is MOVING or NOT. If he is moving, set animation to run and start at the current frame, if he's not moving, set to idle and start at the current frame.

    Why I highlight the current frame part is because if you set it to play for beginners, the construct will call this function whenever a player is moving, so you don't want the animation to repeat, in your case, you could just change it to "start at current frame" and it will prob work.

    For the mirrored sprite, all you have to do is check input, so if the user clicks the left arrow, mirrors the sprite If the user clicks right arrow, un mirror the sprite, the same solution goes for up and down movement, etc.

  • as title says, i have had my app out for days with ads without an issue, no email, no suspension nothing like that. now i haven't changed anything, i just did an update on google play, the debug file shows ads even if your out of testing mode, but when google play reviews and adds it to the play store, i download, the ads aint working, anyone know why? they have until my recent update.

  • Nepeo

    You're talking nonsense!

    You must have taken the wrong file, the wrong subject at all!

    You have confused it with another one of my subjects!

    It doesn't matter.

    Thank you for your attempt to help, but it doesn't help me at all!

    I'm talking about the RPG Game Factory Project, all the files are there!

    I updated the first message.

    My archive contains two folders: "Projet" and "Jeu"

    "Projet" = C3

    "Jeu" = Test

    Dayvid86 Think he/she just telling you to do the actions differently , in what way i do not know but just look over and over again you will figure something out. Have you tried using localstorage instead of nwjs? If it is keys you want to read and write on disc file. Cuz i see you are using AJAX to call , try to JUST use ajax, i mean i do understand your issue just dont have a fix, for me the code should work but i never work with NWJS so id ont know

  • don't worry about orientation.

    But your game is in Development mode (testing), not live. Change that.

    Its live , i get the iframe error however that worries me, i think this is on my end since no one else has this issue. What would you recommend using portrait size in c3? 1080 right?

  • It looks like you're trying to use the Facebook API (a different service) on Instant Games, and it's encountering an error trying to do that. It would not surprise me if the Facebook API was intentionally blocked in Instant Games.

    again , using only IG in this project. instant games, and i solved it by just setting the canvas to fixed. I dont know why you are still doing this seriously. Read trough the whole thread again. then answer.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You're saying that pop up was blocked. Are you testing within the Instant Gamers platform on Facebook?

    I am using the link that you get, when instant games hosts your game. So i have exported etc and everything. Altho another guy told me this can be a orientation error.

  • Sami424 is your app in testing mode? there is a popup sandbox error and a device orientation not sure what that is about.

    probably the orientation is not set to landscape or portrait, on the orientation error, where if im not mistaken on Ig u have to lock the orientation as the iframe loads directly to landscape or portrait based on the settings in the developers.dahsboard.

    make sure ur app is live also, and not in sandbox, and allow popups? ehm, is a bit odd never had those issues you have there.

    only console errors i get are ads related xD, failing to load.

    Its on instant games, its hosted on instant games, so no not testing, ads work etc. i get a orientation error where it says it failed to Set orientation tho, i will look into this.

  • I get this error now in console [Instant Games] Initialized OK main.js:11 [Construct 3] Failed to lock orientation: DOMException (anonymous) main.js:11 main.js:7 The deviceorientation events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/master/features.md#sensor-features Attach main.js:7 main.js:7 The devicemotion events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/master/features.md#sensor-features Attach main.js:7 sdk.js?hash=dd1410e51276f53d444afd2118f2685f&ua=modern_es6:147 Blocked opening 'https://www.facebook.com/v3.0/dialog/oauth?app_id=311436689565115&channel_url=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2Fd_vbiawPdxB.js%3Fversion%3D44%23cb%3Df1779faf7aa504%26domain%3Dapps-311436689565115.apps.fbsbx.com%26origin%3Dhttps%253A%252F%252Fapps-311436689565115.apps.fbsbx.com%252Ff129c51dbe2b674%26relation%3Dopener&client_id=311436689565115&display=popup&domain=apps-311436689565115.apps.fbsbx.com&e2e=%7B%7D&fallback_redirect_uri=https%3A%2F%2Fapps-311436689565115.apps.fbsbx.com%2Finstant-bundle%2F2720392731334552%2F2121263361326080%2Findex.html&locale=en_US&origin=1&redirect_uri=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2Fd_vbiawPdxB.js%3Fversion%3D44%23cb%3Df31fe079bf579dc%26domain%3Dapps-311436689565115.apps.fbsbx.com%26origin%3Dhttps%253A%252F%252Fapps-311436689565115.apps.fbsbx.com%252Ff129c51dbe2b674%26relation%3Dopener%26frame%3Df1d52c3167ba3b4&response_type=token%2Csigned_request&scope=public_profile%2Cuser_posts&sdk=joey&version=v3.0' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set. popup sdk.js?hash=dd1410e51276f53d444afd2118f2685f&ua=modern_es6:147 c3runtime.js:409 [Construct 3] Suspending

  • I get this error now in console [Instant Games] Initialized OK main.js:11 [Construct 3] Failed to lock orientation: DOMException (anonymous) main.js:11 main.js:7 The deviceorientation events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/master/features.md#sensor-features Attach main.js:7 main.js:7 The devicemotion events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/master/features.md#sensor-features Attach main.js:7 sdk.js?hash=dd1410e51276f53d444afd2118f2685f&ua=modern_es6:147 Blocked opening 'https://www.facebook.com/v3.0/dialog/oauth?app_id=311436689565115&channel_url=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2Fd_vbiawPdxB.js%3Fversion%3D44%23cb%3Df1779faf7aa504%26domain%3Dapps-311436689565115.apps.fbsbx.com%26origin%3Dhttps%253A%252F%252Fapps-311436689565115.apps.fbsbx.com%252Ff129c51dbe2b674%26relation%3Dopener&client_id=311436689565115&display=popup&domain=apps-311436689565115.apps.fbsbx.com&e2e=%7B%7D&fallback_redirect_uri=https%3A%2F%2Fapps-311436689565115.apps.fbsbx.com%2Finstant-bundle%2F2720392731334552%2F2121263361326080%2Findex.html&locale=en_US&origin=1&redirect_uri=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2Fd_vbiawPdxB.js%3Fversion%3D44%23cb%3Df31fe079bf579dc%26domain%3Dapps-311436689565115.apps.fbsbx.com%26origin%3Dhttps%253A%252F%252Fapps-311436689565115.apps.fbsbx.com%252Ff129c51dbe2b674%26relation%3Dopener%26frame%3Df1d52c3167ba3b4&response_type=token%2Csigned_request&scope=public_profile%2Cuser_posts&sdk=joey&version=v3.0' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set. popup sdk.js?hash=dd1410e51276f53d444afd2118f2685f&ua=modern_es6:147 c3runtime.js:409 [Construct 3] Suspending

  • You can have another event sheet for Inventory and then include it in main event sheet.

    Dictionaries

    , create dictionary then on start of layout ADD new Dictionary key,

    Dictionaries are Easy its :

    Keyname & keyvalue

    So for example on start of layout ADD key item1 to dictionary with value "magic sword".

    Try this dictionary Will save you time!

Sami424's avatar

Sami424

Member since 9 Jul, 2018

Twitter
Sami424 has 5 followers

Trophy Case

  • 6-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies