im_pro_viz's Forum Posts

  • Hi! I made this simple example to show the problem.

    Logically, the white sprite (sprite2) should not move. But it is gradually moving down.

    It is very important to me that sprite2 remains physical, because I need its inertia at the moment of disconnecting the bundle to sprite3 ,

    drive.google.com/file/d/1ULfvBhLQQ124Eqx-00JvAhBfjUU25f2z/view

  • thank you very much! It helped me a lot

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thank you very much. but could you show me how to make such a fuction? I can't do it in any way

  • Hi there. How can I pick an instance by comparing string instance variable?

    for example, I want to set the position of sprite01 to sprite02 which has a string instance variable "right". Can I write this kind of expression instead of using "pick by comparison" event?

  • Here's an older example I made.

    https://www.dropbox.com/s/sujrkr4imdx6o59/quizanswersexample.c3p?dl=0

    Thank you very much. this is realy helpfull for me. I am a beginner and every example is very helpful to me. thanks again

  • I apologize for not correctly wording the problem. I have a very small English vocabulary. I think it's better to show the project. I would really appreciate it if you take a look. The question is, how can I simplify the process of picking two, or more wrong, random answers, which won't repeat the right one? I'm going to do a similar quize with words and a missing syllable.

    drive.google.com/file/d/1yVRPqOeO0jyse13aB5CwmATwE565xk40/view

  • it doesn't really solve my problem. eg

    "first number" is 6.

    "second number" should be (10 - "first number"). = 4

    "third number" is ("first number" + "second number") = 10 (right answer)

    "fourth number" should be int(random(1,11)) but not 10

    "fifth number" should be int(random(1,11)) but not 10 and "fourth number"

  • Hello everyone! I have 5 text objects. I need to generate randomly 5 numbers in the range from 1 to (eg)10. But none of these numbers should be repeated. I found a way through an array. I set the values in the array from 1 to 10. Then I randomly generate the first number, then I remove it from the array, and from the remaining numbers I generate the second number. etc. It Works with numbers. But with letters, this method works a little more complicated. Can you suggest a simpler way? Thank you!

  • Here is a small project demonstrating the issue:

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

    Thank a lot. it's realy interesting

  • random(5,10) or round(random(5,10)) if it needs to be an integer

    Thank you. I tought, in this case i will get 5 or 10. But it works the way i want.

  • Hi. How can i set a range of numbers for random expession? for example, i want to get a random number between 5 and 10.

  • Could anyone help me to understand, whow can i set up my google chrome browser for preview my project?

    It gives this problems every single time when i press the Preview button.

    Error report information

    Type: unhandled rejection

    Reason: Event 'error': [object Event]

    Construct 3 version: r241

    URL: editor.construct.net

    Date: Thu Apr 08 2021 20:20:24 GMT+0300 (Москва, стандартное время)

    Uptime: 2159.3 s

    Platform information

    Browser: Chrome

    Browser version: 89.0.4389.114

    Browser engine: Chromium

    Browser architecture: 64-bit

    Context: browser

    Operating system: Windows

    Operating system version: 10

    Operating system architecture: 64-bit

    Device type: desktop

    Device pixel ratio: 1.25

    Logical CPU cores: 12

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36

    C3 release: r241 (stable)

    Language setting: en-US

    WebGL information

    Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)

    Numeric version: 2

    Supports NPOT textures: yes

    Supports GPU profiling: yes

    Supports highp precision: yes

    Vendor: Google Inc.

    Renderer: ANGLE (NVIDIA GeForce GTX 1080 Direct3D11 vs_5_0 ps_5_0)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 1024

    Extensions: EXT_color_buffer_float, EXT_color_buffer_half_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_compression_bptc, EXT_texture_compression_rgtc, EXT_texture_filter_anisotropic, EXT_texture_norm16, KHR_parallel_shader_compile, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context, WEBGL_multi_draw, OVR_multiview2