oosyrag's Forum Posts

  • Upon selecting a car, set a global variable to a value that represents the selected car.

    When starting the game, spawn the correct car for the player by referencing what is stored in the global variable.

  • There are a lot of options including arrays (reference by index), dictionaries (reference by key), or JSON or XML project files (reference by path).

    Instead of referring to the instance variable when setting the text, you would refer to the data storage format of your choice instead.

  • Disable it and see the difference.

  • Gave it a shot, it wasn't too bad actually.

    dropbox.com/s/3j5efgcnvv1kfwt/dissolve.c3p

  • A. Draw it out as animation frames.

    B. Export the sprite as many pieces/objects. Scatter each piece like particles the way you want them to.

    C. Use stacked, 1px tall canvas objects on top of the sprite. Paste to the canvas object, and manipulate them for the desired result.

    Whichever way you choose, there is a fair amount of work involved for a custom effect like this. There isn't a premade one as far as I know.

  • You can tween (value) anything that is a number. The tween behavior needs to be on an object though, you can use an invisible helper object if there are no other suitable ones.

    Here's an example.

    dropbox.com/s/yphcbehsh9bwcjn/tweenandsineexample.c3p

    I also added a second layout using sine - another way to do it in case you want a cyclical change. Of course you can also just add an event to play the tween again when the first one completes. Up to you!

  • If you used the mouse object's on object clicked condition, it should only affect the object you clicked.

    If your blocks are overlapping and you are clicking multiple at a time, you can add an additional condition. Add the sprite object - pick highest/lowest condition.

  • Mouse/On clicked object - destroy object.

    You should try following and completing the beginners tutorials before trying to make your own game.

    construct.net/en/tutorials/beginners-guide-construct-1

    construct.net/en/tutorials/platformer-game-2329

  • I don't think 3d means what you think it means... But anyways see if this thread has what you are looking for. construct.net/en/forum/construct-2/beginners-questions-19/endless-loop-scrolling-wrap-107617

  • On event -> System - create sprite at mouse.x, mouse.y.

  • You probably want to use tween instead of lerp.

    The final value in lerp is a percentage point between a and b. If a and b don't change and you use a fixed number for the lerp value, it's going to give you a fixed value in return.

    Example: set position lerp(currentposition,targetposition,0.5) means halfway to the target position. The next tick it is run, go halfway again. Note the second time it is smaller, since you're closer. The amount will get less and less, and you never actually get to the target, only halfway closer each tick.

    In your case, lerp(80, 98, 0.1) means 10% of the way from 80 to 98, which is 81.8. If nothing in the inputs change, it will always be 81.8.

  • Use a global variable. They persist across layouts.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm afraid I won't be much help here, I use Construct for fun. Here's a resource I found that might be of use. It addresses a few of your questions.

    google.com/amp/s/assets.codementor.io/ultimate-guide-for-hiring-freelance-developers-1o92072302.html

  • Appreciate the advice!

    The concept is a mix between the old arcade game Rampart by Atari and 2d artillery type games, except slinging varying types of missiles through space, also with a variety of obstacles that affect the projectiles on the field.

    Although mostly I just like fooling around making different types of game mechanics. I've been loitering around here for years and have yet to actually finish any projects haha. Do not expect this to be different.

  • Well originally I had thought that the built in speed limit was causing issues resulting in unnatural paths if either the x or y vectors were already near or at the speed limit when attempting a turn, and prevent acceleration on the other axis when setting the vectors manually.

    Eventually I was aiming for variable speed limits to allow for slingshotting and more responsive obstacle avoidance. But then when I tried to add a simple clamp for the max speed I already ran into more issues.

    Seems like (I think?) clamping the vector with the sin and cos functions were not symmetrical, causing irregularities. Guess that's why all the articles I read normalize the vector first.

    Regarding gravity and decay of orbit, that could be done with adding either an overall deceleration force, or a local one when near the target.

    Thanks for the help!