dop2000's Forum Posts

  • Man, your code is soooo overcomplicated...

    Your error is in events 25-28.

    You need to move "Set QScount" action before "Call CheckAnswer function".

  • Your game is quite big. Please give more details about the issue - how to reproduce it? What is happening? How is it supposed to work? Which events should I look at?

  • You shared .caproj file, it's not enough to open your project.

    You should save your project as a single file (with .capx extension) and share it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's not.. Here is how I see it:

    http://www.dropbox.com/s/7mmbbo1mhz6fg3 ... aproj?dl=0 [/code:2rmnkike]
  • Your link is broken. Try posting it without the "https://www." part

  • Oh, wait, you mean Bucket tool to fill a shape with color?

    I thought about a "picker" tool to select color.

    I think Canvas plugin is your best option.

  • Thanks!

  • You may be able to do this with ShadowCaster. Here is a very crude example, I don't have much experience with it:

    https://www.dropbox.com/s/gz1rfzz171zpr ... .capx?dl=0

  • There is a Color Picker plugin, but I don't know how it works.

    If you have a small number of colors, you can just make them with sprites - red sprite, blue sprite etc.

    If you need a full palette, you might need to use Canvas plugin to read pixel color:

  • Yeah, after you export your project, open Images folder and sort images by size.

    When I did this with my game I found several huge sprites which I forgot to delete or resize and managed to reduce the size of my project by 30%.

    Also if you have very big images, you should enable compression for them, this will greatly reduce their size:

    https://www.scirra.com/tutorials/1154/d ... h-pngquant

  • You can define two image points on the player sprite on both sides, just above the ground level. (Blue line represents Player sprite)

    Like those little training wheels on kids' bicycles

    Then use these checks on every tick:

    System -> Pick Ground by overlapping point (player.ImagePointX(1), player.ImagePointY(1))

    ...Rotate player 0.5 degrees

    System -> Pick Ground by overlapping point (player.ImagePointX(2), player.ImagePointY(2))

    ...Rotate player -0.5 degrees

    You can use lerp or tween for smooth rotation.

    To detect ground angle when player is on top of the hill, you need to define two additional image points just below the ground level and perform similar checks for them..

    If you are good with math, instead of using 4 image points, you can do lots of overlapping checks around the player to determine ground angle with better precision. Overlapping tests in C2 are fast, even if you are doing a couple of hundreds of them every tick, they should not affect the performance.

  • It's easy:

    Sprite set angle to (Sprite.instanceVarAngle)

    Or did you mean something else?

  • No I meant in megabytes.

    I know my internet is slow, but it was loading at least 4-5 minutes...

  • Nice graphics!

    How large is this game? It was showing "Loading" screen for so long, that I thought it froze. You should add some kind progress indication.

  • Have you considered Car behavior? Here try this demo:

    https://www.dropbox.com/s/fzzpizs1k6lkdr2/car.capx?dl=0

    (I believe you can open C2 project in C3)

    It's not ideal, but you may be able to tweak the values and controls further.