Ecation's Forum Posts

  • Hi!

    I have a game with obstacles that use the solid behavior.

    I also have a game menu in which I use the tile movement to move the selection indicator around the menu options. The menu has a border that is set to solid to stop the indicator from moving off screen.

    The problem is that the menu indicator is colliding with the underlying solid obstacles from the game world.

    It sounds like collision filtering might be a solution. But I can't figure out how to use it with tile movement. Is it possible to make the tile movement only collide with certain solids (in my case only the solid borders of my menu)?

  • Thanks! Didn't realize that the tile selection affects the eraser size!

  • How can I delete all previous tiles from a new tilemap instance when starting a new level design?

    Tagged:

  • Hi!

    I made a duel game for Windows called Battle Breakout. It's available on Itch.io for free:

    ecation.itch.io/battle-breakout

    It's a combination of Pong and Breakout and you can play against your friend or against an AI opponent. There are tons of different bonus items to keep things interesting!

    It's most enjoyable with two game pads, but you can also play it with a shared keyboard or even with a touch screen.

    Have fun!

    Tagged:

  • I found that I can do this at least in the Play Store "Device catalog" settings by first filtering the supported device list by "device type: phone" and the excluding those manually. It's a bit tedious since there are roughly 14 000 devices and I can only select 500 at a time.

  • Hi!

    I'm about to publish an Android game that doesn't play well on small screens. How can I limit the target devices to Android devices with large screens (tablets and laptops)? I read about this from the Play store instructions and there they talked about the manifest.xml file. Should I look into editing that file or is there an easier way?

    Tagged:

  • Oh love the constant suggestion! Thanks!

  • oosyrag

    In general I tend to agree with your sentiment. But we seem to live in pretty curious times, in which just saying something politically incorrect can get you cancelled across a wide range of online platforms. For example stating certain obvious biological facts seem to nowadays be considered "hate speech" and can get you de-platformed. In such times we should pay a bit more attention to privacy, especially when it comes to the big tech behemoths.

  • Hi!

    I have published my game in the Play store. I'm using the "save game" feature to store the game state between plays. The problem is that I have a global variable called "readyLevels" that indicates how many levels I have finished for the game. I set that to 10 when there was only 10 levels in the game. Now I have created more levels, but I can't seem to push a new variable value through because the load feature always restores the "readyLevels" variable back to 10.

    I tried to create a new object, give it the "no save" behavior and give it an instance variable for the amount of ready levels that I have made. Then I load the saved game and "on load complete" I'm attempting to override the global variable with the value from the "no save" object's instance variable. For some reason this doesn't seem to be working though.

    What would be a good way for overriding a single global variable value when using the "save game" feature in Construct?

    Tagged:

  • I agree with the privacy issues regarding Google. They are everywhere: on our phones via Android and Chrome, on our desktops via Chrome, and on 90% of the internet pages we visit via Adsense, Analytics or Google Fonts etc.

    But can't Construct be used on other browser besides Chrome? There is for example Chromium, which is the open source (non-Google) version of Chrome.

  • I'm also missing kerning support in Construct. The distance between certain character pairs (like A V) should be complete different from say A X. In graphics programs there are kerning pairs to handle this. Programming it using events seems quite tedious as you would have to loop through all texts to find the pairs that you need to affect.. It would be really nice to get professional kerning support in Construct. Without that it's very hard to create nice looking Spritefont text.

  • I noticed the problem now: I'm resetting the values on every touch by mistake. The isScaled boolean should obviously be checked right where the original values are stored.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi!

    Thank you for a detailed response! Finally had the chance to test this today. I think your second method is suitable for me, but unfortunately the result still seems to be off. Here are the relevant events as text:

    [images]

    ----+ Touch: On touched images

    --------+ images: Pick Own parent feebackBGTiled

    ---------> images: Set angleToParent to angle(feebackBGTiled.X,feebackBGTiled.Y,Self.X,Self.Y)

    ---------> images: Set distanceToParent to distance(feebackBGTiled.X,feebackBGTiled.Y,Self.X,Self.Y)

    ------------+ images: [X] Is scaled

    -------------> images: Tween "" property Position to ScrollX, ScrollY in 0.5 seconds (In Out Sinusoidal, destroy: No, loop: No, ping pong: No)

    -------------> images: Tween "" property Size to images.Width×2, images.Height×2 in 0.5 seconds (In Out Sinusoidal, destroy: No, loop: No, ping pong: No)

    -------------> images: Set scaled to True

    ------------+ System: Else

    -------------> images: Tween "" property Size to images.Width÷2, images.Height÷2 in 0.5 seconds (Default, destroy: No, loop: No, ping pong: No)

    -------------> System: Wait 0.5 seconds

    -------------> [DISABLED] images: Tween "" property Position to images.origX, images.origY in 0.5 seconds (Default, destroy: No, loop: No, ping pong: No)

    -------------> images: Tween "" property Position to (feebackBGTiled.X+cos(Self.angleToParent)×Self.distanceToParent), (feebackBGTiled.Y+sin(Self.angleToParent)×Self.distanceToParent) in 0.5 seconds (Default, destroy: No, loop: No, ping pong: No)

    -------------> images: Set scaled to False

    A screenshot might look more clear:

  • Hi!

    My object is a child of another object. I want my object to move to a location and then return back to it's original location. I think I would need to store it's original location in order to do that. But it seems that the original location is relative to it's parent object. So the question is: how can I get the relative coordinates of a child object?

    Tagged: