danialgoodwin's Recent Forum Activity

  • I can verify that Construct 2 works with my three year old Toshiba Satellite A665. And, within the past week I have run C2 on Windows 7, Windows 8, and Windows 8.1.

    As Ashley said, the graphics card driver is probably the culprit. But, I also like to recommend that people use Windows Updates and install the recommended updates, if you haven't done so already.

    • Danial -
  • Thank you both very much! That's exactly what I was looking for!

    Btw, it was a pretty cool effect seeing text created every tick and being faded with the fade behavior. So, in order to make sure this misclick event is only called once, I added a boolean variable. Here's the full working sample that I am using:

    Download "on_misclick" solution (event called once)

  • Hey there!

    Have you tried this?

    <img src="http://jjlistrandomstuff.net16.net/Screens/On_miscklick.JPG" border="0" />

    Should be something similar for touch.

    I see the pic's URL you are trying to show is called "on_misclick" and that does sound promising. Unfortunately, I can't see the pic. ;]

    Is this from another plugin?

  • A better rephrased question is:

    What's the best way to detect a click that isn't on a sprite?

    Background:

    I have sprites that pop up and the user is supposed to click on them. I'm trying to determine when the user misses clicking on the sprite.

    Possible solutions:

    • Comparing every click with the left/top/right/bottom boundaries of every sprite displayed. But, this seems excessive and I feel that there is a better way. I just haven't found it yet.
    • I added a click detection for the background layer, but unfortunately, that is still triggered when the sprite is clicked.

    Other strategies tried:

    • Adding an inverse or else to an On Object Clicked trigger is not possible.
    • Tried adding a local variable to determine if the currently triggered click was on the sprite, but unfortunately doesn't appear to work well within triggers because they aren't called with the ticks.

    Notes:

    • Testing only in Chrome and with C2 r154.
    • After figuring this out, I will also have to do this for touch events, but that should be simple enough.
  • Actually, yeah, that's the link I used to enable proper back functionality on Windows Phone. On the first page, thehen mentions the Windows Phone plugin that has an easy event/condition for when the back button is pressed.

    And, here's a direct link to the page that talks about the plugin and how to use it: http://www.scirra.com/forum/topic62454.html

    Using that quick tutorial, I was able to make the back button: 1) Exit app on main apge; 2) Navigate to main menu when playing game, though I could have shown a pause menu instead.

  • The browser object is not made specifically for calling packaged app functions. It is for manipulating the browser which means it will have calls that do not always work in packaged apps for teh various stores. Since the game is not counting as a browser, it can't browse to the site. That specific call is to load the address into the current browser session. Your windows 8 app does not really allow this because though it is using the IE10/11 engine to render, it is not a browser, it is an app. At least that is what I have been lead to believe. Some of the browser objects calls are meant to actually run in a browser. Your app can't "Go" to the URL directly. It can call to it for an actual browser to open though using the Got to URL in a new window calls a separate instance of IE up which works fine as then you are not trying to load the page inside of your app.

    Great information!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I can vouch for 'Windows Phone Games with Construct 2' as not being dated. Everything should still be relevant.

    In terms of tips - test with different locales. We didn't and had some crashing in certain countries which gave us quite a damaging initial rating. Next, make sure you make a good first impression - overall ranking is very much dependent on initial downloads. Finally, I've noticed games that make regular requests for the user to rate get a lot more positive ratings.

    Thank you.

  • Well, instead of using the Browser plugin's "Go to URL" action, I decided to try the "Go to URL in a new window" action. And, it works fine.

    Still though, this is just one answer. Anybody else have any more ideas or knowledge surrounding using the "Go to URL" action in a Windows app?

  • Hi, I'm creating a Windows 8 app and I wondering if anybody has experienced this bug before? In my game, I have a Sprite and when clicked it is supposed to navigate to the Windows 8 Store. But, instead I get the following error:

    "APPHOST9624: The app can't use script to load the <URL_HERE> url because the url launches another app. Only direct user interaction can launch another app."

    My event is: onMouseClick OR onTouchedObject

    My action is using the Browser plugin's Go to URL action.

    Notes:

    • I do have the Internet capability enabled.

    Update: I posted one solution below, but I'd still like to leave this thread open in case anybody else would like to illuminate on this issue more.

  • For those who have published Windows Phone apps made from Construct 2, do you have any tips or advice how to get the apps published? Or, is there anything you wish you knew before you started publishing to the Windows Phone Store?

    So far, I've found the following two resource:

    1. Windows Phone Games with Construct 2

    2. How to make a Windows Phone 8 app

    Unfortunately, both may be a little dated. So, I'm looking for all the information I can get about this topic. Mostly, from the C2 side.

    ps - I've already made WP8 apps before from scratch (C#).

  • Link to .capx file (required!):

    dl.dropboxusercontent.com/u/554309/c2-bug-no-horizontal-for-windows-phone.capx

    Steps to reproduce:

    1. Create new project, leave everything at default, except set orientation to Landscape

    2. Export to Windows Phone 8

    3. Open project in Visual Studio (optional)

    4. Observe that MainPage.xaml has:

    SupportedOrientations="Portrait" Orientation="Portrait"

    when it should say:

    SupportedOrientations="Landscape" Orientation="Landscape"

    Observed result:

    Only portrait mode able for Windows Phone 8

    Expected result:

    Landscape mode enabled for Windows Phone 8

    Browsers affected:

    Chrome: N/A

    Firefox: N/A

    Internet Explorer: yes

    Operating system & service pack:

    Windows 8.1 Pro, 64-bit

    Construct 2 version:

    Tested on r152 (stable) and r154 (current).

  • Bump, because I am also experiencing this issue.

danialgoodwin's avatar

danialgoodwin

Member since 24 Dec, 2012

None one is following danialgoodwin yet!

Connect with danialgoodwin

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies