usbtypec's Forum Posts

  • I'll get the screenshot soon, but the main idea I'm thinking of (it's likely not the cause) is that the data is loaded on start of layout, and maybe that doesn't trigger when opening the game, causing the data to then not load and then being saved at 0

    Probably wrong, but I have no idea what else the problem would be.

  • Add the Touch object, then For each button sprite, add: Touch > On tap object (or holding for left/right) > Button. Then the action for that event would be Player > Simulate Control > Jump (or whatever you need)

    For ducking, you would need to check if duck is being held and make a player animation for ducking with a smaller hitbox, since ducking isn't built in to the Platform behavior (I think),

    For interacting, you would maybe need the button to spawn a hitbox object in front of the player, and if it hits an object, run events for what happens when you interact with it.

    Hope this helped

  • Yeah, it's an unnecessarily long process. It took me a while, but one video that helped me a lot was youtu.be/CSCDkQ3jNfE . It takes a while but most of it is just checking boxes and telling them about what content it has for age rating. Really the most frustrating part was the fact that they require a privacy policy for the game, which I just used Termly.

    Tl;Dr Google play is a long process to upload a game, it just requires time and patience, especially the first time.

  • So a week ago I made a game to put on Google Play as a sort of "test" game so I can get used to the process and so there aren't any things I overlook so that for future games they don't have the same problems.

    However, there is one problem: closing the app erases all save data, and I have no idea why. If I close it while in a round, the data is fine. Does anyone know why this isn't working??

    If anyone needs the link to the game: play.google.com/store/apps/details

  • It works for the most part, but not always. It's not a big deal, I was just curious

  • So I'm using the Line of Sight behavior and want to know if it is possible to check if the object is seeing the hitbox of the other object rather than a image point. Is there any way to do this, or is that how it already works, or did I just not see something?

  • If I were to put a game onto the Google Play Store and then update it later, would everyone still have their LocalStorage data or is it wiped/cleared when they update?

  • To change the viewport size, go to the Project bar (The one that lists all your objects) and press the topmost object, which should be the name of the project. After you press that, go to the Display section of the Properties Bar and you should find a text box to change viewport size. Note that this changes it for the entire project, not just for the layout.

    Tell me if this doesn't work or if I need to clarify something.

  • One thing I have noticed in Construct is that when using the "Set enabled" action, the next option will sometimes be a checkmark box to enable/disable, but for other behaviors it's a dropdown menu. Is there any reason for this, or is this just an inconsistency in Construct?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I made a game using the joystick from this video: youtube.com/watch (I did not add the 8-Dir Movement alternative)

    But there is one issue. The player goes straight through walls (Using a Tilemap). I tried adding Solid behavior to both, but that didn't work. Does anyone know how to make the player not phase through the wall?

  • I am making a small roguelite game and between runs the player can buy permanent upgrades. However, I am debating between how the player should get these upgrades, coins or Skill Points. Coins are earned when the player dies, based on how they did. SP is earned by leveling up, with one SP per lvl up .Each has pros and cons

    Coins

    + Are more common and easier to scale the cost of upgrades to a more precise amount (ex. 300 vs 500 coins)

    + Could be implemented with other reward systems such as challenges, etc

    - If skill points are not in the game, the level up system has basically no use.

    Skill Points

    +Gives lvl up system a purpose

    +Could make a system to exchange coins for SP

    -since all costs would be similar, I can't make better upgrades cost a whole lot more

    -if the price went up by 1 DP each time, it could reach 10 or more SP which would take a large amount of time to get

    Which should I choose?

    Also sorry if this was the wrong forum or a lot of reading

  • Angle is different to the bullet Angle of motion

    I know, I meant angle of motion instead of set angle. I do have the set angle of motion action right after the spawn bullet action, so I still don't know.

    It could potentially be because the enemies spawn multiple of the splitting bullets at once, so maybe one is triggering all of them?

  • So I may making a bullet-dodging game and I have enemies that are supposed to shoot bullets that after about a second split into more bullets, but there is an issue.

    So my code summed up is that when the enemy spawns the bullet instance, it then sets the bullets angle and a instance variable called splitTimer. When splitTimer reaches 0, the bullet slows down and then spawns smaller normal bullets in 6 directions (0, 60, 120, etc).

    The issue is that when the bullets split, all of them go the same direction, and that direction is always the same as the splitting Bullet, and I have no idea why. My guess is that when I am using Bullet > Set Angle > X degrees, it's changing all bullets and not one, so how can I fix this?

    Thanks

  • Okay, I found the issue. It works just fine, but it just slowly goes back to normal position if my finger is outside the joystick outline.

  • Hmm. Maybe it is just the mobile touch? I've only been testing the game on my phone. I looked back at the video and have no idea what I missed.

    Guess I'll keep looking.