Hampo1986's Forum Posts

  • 10 posts
  • Hello, guys.

    I want to test some swipes and drag and drop controls in my game but I can't, because these gestures interferes with the "scrolling rebound effect" (like in an app or website) present in LAN preview. What could I do to remove that annoying effect from the preview?

    I'm using Construct 2 and an iPhone X (and by the way, I would like to know how to remove the black bar on the top of the screen too).

    Thank you for your help!

    If you want to use touch gestures with a Construct2 project using LAN preview, have you tried activating the "Use Mouse Input" property

    for the touch object? Sometimes I forget to check to see if it is turned on. For testing more advanced touch gestures, I would recommend exporting the project and testing on a touch device to get better feedback as opposed to using LAN preview as I have found some issues when designing more complex touch inputs.

    As for the black bar that appears when testing is most likely caused by the "Fullscreen in Browser" setting in the Project Properties section. Try changing from "Letterbox Scale" to "Scale Outer" or "Scale Inner" as Letterbox scale is used for browser based games and doesn't work so well for mobile devices.

    Hopefully this helps out

  • One way to fix this is to use the "Scale Outer" option instead. This will scale full screen to the outer border of the project's window size.

    If that doesn't work then I have a fix that uses Cordova when exporting/testing on devices as I had the same problem a few months back.

  • Is this what you were after WorkNow.capx? This is what I could get working using the path finding behavior. You can do this with a bullet behavior as previously mentioned but I've found there are pros and cons to each way.

    Path finding:

    + Can navigate obstacles

    + Has conditional event trigger [Is moving along path, On arrived]

    + Pretty straight forward to get working

    • Can chew up a fair chunk of memory for complex paths and multiple objects
    • Requires stopping and starting to find new paths

    Bullet:

    + can constantly chase the player by adjusting the trajectory angle

    + can move smoothly and is flexible

    • can't detect obstacles and adjust behavior
    • can take a fair bit to get working if you want to include obstacle dodging

    I hope this helps you out!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cool, here is a link to my discord [just created]Hampo on Discord. Unless you can send me a link to yours?

  • Yeah, I use cmd for building the APKs as it is free and only requires learning a bit of code. Pretty easy when you know how.

    I did some fiddling around with some of the files and got it to work for the most part. The issue seems to be the "cordova-plugin-statusbar" plugin for Cordova.

    I needed to re-add the status bar plugin in cordova and add "StausBar.hide();" to the "onDeviceReady()" condition in the index.html for the exported project. It's a bit weird that Construct2 doesn't add the StatusBar.hide() code automatically, but it doesn't take much to add it in.

    It seems that cordova needs you to re-add existing plugins in order to get it to work for some reason?

    Anyways, thanks for the help. If you need a hand with any projects let me know, I'm always happy to help.

  • Hello everyone!

    I was wondering if you could please help me with something I have been stuck on for the last few weeks. I am using Construct2 for Android game development and I am having an issue with getting the app to run in Full Screen on my phone[for testing purposes].

    When I use Cordova to run the app on my phone everything works fine save for a black border that appears on the bottom of the screen. The weird thing is when I tab out of the app and re-enter it, the border disappears and fixes it's self [example].

    I saw some tutorials for a possible fix in the tutorial section of the Scirra site, but most of the tutorials come up with "404 - Server Error" pages.

    I have tried as many variations on getting the app to display correctly but with no luck. one promising guide I found is:

    https://stackoverflow.com/questions/36385665/phonegap-cordova-black-status-bar-on-bottom-after-fullscreen?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

    but I am unsure where to add the required javascript, even after trying the various different .js/.json files located in the "\www\" folder of the exported project.

    Any help you could provide would be greatly appreciated

  • I've had the same problems with Firefox too, I find that using Internet Explorer or Chrome for Construct2 games is better. Still, my website friends say it's probably a HTML5 issue with Firefox. Still, I hear ya, it's a pain as I user Firefox most of the time.

  • Thanks for the feedback! The game was pretty much made up as I went along so a lot of things need to be fixed since the goal was for "rapid prototyping"

  • Hi there,

    I thought I'd introduce my self in this nifty Introduction thread. The name's Hampo and I am an animator from Western Australia. I am currently studying Games Art and Design at Murdoch University and I am approaching my final-ish year of study [it's complicated].

    For one of the units in my course, we had to make a playable game from start to finish in 14 weeks but through a twist of fate, I ended up using Construct2 to make a rapid prototype from a concept document provided from someone in the game's industry [not allowed to say who, but it is someone from an America game company].

    Schools out for the year and I thought I'd sign up here and absorb more information about Construct2 since it is such a versitile game creation tool that is fun to use.

  • Hi there everyone!

    I've been using Construct2 for a couple of weeks for a University course and I made a game. Since it took me ages to get working [still a WIP], I thought I'd share. You can find it at WaywardTribe.com and if you could complete a quick, anonymous survey after playing it, I would appreciate it as the feedback helps me find out what I can improve on. You can find the survey here.

    Enjoy!

  • 10 posts