miguelromm's Recent Forum Activity

  • I'm not sure I understand the first one. But this file has one of the several ways of doing the second one.

    EDIT: Oh, f***! You're using C2, this forum confuses me sometimes, let me port it...

    EDIT 2: Here you go, a Construct 2 version.

    Hope this helps...

    Cheers!

    Thank you so much, brunopalermo! I will try it analyzing that file.

    The first scenario is basically an endless runner where the surface is a big circular platform which rotates counterclockwise and the character is “walking” clockwise above it using a radial/“planet-like” gravity.

    The idea is to create an animation rotating the sprite, because it only can jump and the advance of this character is an “illusion” (limited by an invisible zone where it’s locked) for the player.

    But the problem is how could I create that without bugs and control problems. Because I had numerous difficulties when I made a prototipe and tried to jump or when the character collisioned with different elements that appeared trough the travel.

    Maybe I’m not explaining or visualizing the idea correctly to create it in Construct in a proper way...

  • Hello, everyone.

    Which would be the best way to implement these two mechanics using Construct 2?

    1. Left-right movement of a sprite locked based on radial gravity

    The spherical structure would rotate counterclockwise and the green sprite would be limited to staying fixed in a region of its width approximately.

    This sprite would have its individual physical properties, such as its weight, and could jump when you press with your finger on a touch screen or a key, depending on the device.

    What would be the best way to implement this?

    How could I solve the problems with physics and response when jumping?

    Since some time ago I did tests and sometimes the green sprite response was good, but most of the times not... Due to the rotation of the circular platform and the sprite blocked in its limited region, or because I did not recognize the contact of the sprite of the green rectangle with that of the circular structure due to its different forms or produced by another reason that I don't know...

    2. Swipe gesture and gravity changing

    I want to make it by tracking the speed of the gesture depending on the finger movement (fast/abrupt or slow/smooth). It would be like a drag and drop only the Y-axis, but making the swipe on any region of the screen.

    Swipe up: Sprite above the rectangle.

    Swipe down: Sprite below the rectangle.

    And the idea is that the sprite would make a little jump on the start of the swipe and before it would go behind the rectangle (and the same but in reverse when swipping up).

    I hope you can help me with this doubts. Thank you in advance!

  • Yes global variables will be fine for a settings menu.

    Alright! Thank you, .

  • Global variables are saved between layouts so if you move to one it will keep that data. The number of cards would be one variable and the difficulty could be a text i.e."easy" or a number variable. Saving the game is a very different thing, you can use local storage (see manual) to save variable data and load it again next time, and Ashley's tutorial is linked on there about how to make save games.

    Thank you! Sorry, I made a mistake in my previous message. I don't need no save the game locally.

    My idea is to save the choices picked going to a new layout and the app be able to remember the adjustments applied previously and show them if you go back to those settings layout.

  • Based on the lack of info the only way of answering this is to agree and say yes use variables. What do you mean by save your settings, you mean save the game after it is closed or save the choices picked going to a new layout? If the latter you use a global variable.

    Hello, . Yes, I imagined I should have to use variables, but I wasn't sure enough.

    I was referring save the choices picked going to a new layout, yes.

    How I could create that global variable (or various) to make it work?

    Thank you so much for your time!

  • Hi! I am working on a mobile board game and I have a few questions.

    I have two important variables of difficult defined by number of cards and number of people playing. How do I program the game to save my settings (the level of difficult I choose and the number of people playing)?

    And also, depending on that, how do I program that the game shuffle certain number of cards depending of difficult? Should I use variables, and if It is a yes, how? Does it exist another option?

    Thank you in advance.

  • , have you been able to do tests to update the file with the concept I explained on the post?

    Or someone else have another idea that could work the way I described?

    Thank you!

  • 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

    Thank you so much for your attention, Hampo1986! I will try those things 😌

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

    Hampo1986 , which would be that fix?

    I created a post some days ago, but I didn’t receive any answer and I think your fix maybe could help me.

    Thank you!

  • Nobody knows how to solve this problem?

  • > , could you explain me how to do it in Construct 2? I'm very lost... :(

    il update my file on the post here give me a bit of time, just got home, was away for a few weeks.

    No problem, man. Take the time you need.

    Thank you so much for your attention and help. I appreciate it a lot 😌

  • 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!

miguelromm's avatar

miguelromm

Member since 13 Aug, 2018

None one is following miguelromm yet!

Connect with miguelromm