Skip to content

Help

311 Topics 1.7k Posts

Get help with coding questions or problems with the CreatiCode platform

  • Forever loop won't work for 2 clones in a single sprite:

    5
    0 Votes
    5 Posts
    1k Views
    Tyller_T
    @the_true_odst make it so if they touch it they say something or use print to console. This is how most programmers (allegedly people using languages other than JS dont do this but I still doubt that) debug stuff, you add a bunch of prints to ensure what is broken, like is it the touching detection or the cursor, you dont know becuase if one doesn’t work, the other won’t (if touching doesnt work then the cursor will never change, if the cursor changing doesnt work you wouldn’t know becuase the touching would be trying to use something that’s broken)
  • Measuring decimal places

    5
    1 Votes
    5 Posts
    1k Views
    JaecadeJnightJ
    @The_True_Odst I struggled to understand what you meant at first, but after some re-reading, I can help. So I understand you want to be able to find the decimal number AT any decimal place of any decimal number reliably. So, decimal places go like 0.0001 (whole number).tenths,hundredths,thousandths,ten-thousandths, hundred-thousandths, millions, etc. So we know the bold in 0.0001 is thousandths, but we need a program to do that. We’ll just be saying the number of its place instead, like that’s the third decimal place here (3). So we need to clean up the number by making it positive (incase its negative), and only focusing on the part after the decimal point, then returning the decimal place based on another input. Make a reporter custom block with two inputs then put this code into it: [image: de6ce170-4c13-4ca8-8fd6-ba7167265ae4.png] It should report the number that exists at a decimal place. So in 0.128456, if you wanted to know the number that resides at thousandths place (3), then you’d do (return decimal place (3) of decimal number (0.128456)) and it would report “8”.
  • Making a variable occur to each clone instead of all of them

    5
    0 Votes
    5 Posts
    2k Views
    Rhyder ByrdA
    @the_true_odst Ok
  • Drop game simulation

    6
    1 Votes
    6 Posts
    2k Views
    CreatiCodeI
    @flores-yorkshireacademy If you ask our AI assistant, you should be able to find out the issue: [image: 843ff6f3-5ead-4e5e-b9f0-d05be8a483a8.png] Our original example was using “body rotation speed limit”. I guess you picked the wrong block?
  • 1st person movement script

    4
    1 Votes
    4 Posts
    1k Views
    CreatiCodeI
    @coder0145 In that case, you can use a forever loop to turn the avatar towards the direction of the camera (its “H-Angle” like this: [image: b5450049-08f7-41e3-94af-880a7d62ecfa.png]
  • 0 Votes
    5 Posts
    1k Views
    SirBotsS
    @tyller_ Alr. I will backpack the scripts into a separate project and share it. (I do use the target x/y lists)
  • 0 Votes
    3 Posts
    918 Views
    SirBotsS
    @info-creaticode Here soon, at the doctor’s rn. I will provide an explanation: The project which I had shared where the sound blocks were not working, I had made a copy of the original version with all the old code from the main WOC game. The blocks worked just fine. HOWEVER: After making some edits, and, moving the song files around, the sound blocks did not work. Reloading the project yielded no Sucess, and making a copy didn’t work as well. Going towards the original copy of the project, it was working just fine. Even making different edits to make it look the same didn’t break the blocks. I made the code for the project, keeping the original code in the sprites holding the songs from the game, then deleted the original code once I had made all the new code. Doing this did not break the blocks EXCEPT in the Stage.
  • Maybe Creaticode knows the issue:

    7
    0 Votes
    7 Posts
    2k Views
    CreatiCodeI
    @the_true_odst said in Maybe Creaticode knows the issue:: point towards mouse-pointer” is a bit buggy We’ll look into that.
  • Design helper?

    5
    0 Votes
    5 Posts
    1k Views
    TheNicknameGovT
    @mod-squadacademy Here is the link for the game: https://forum.creaticode.com/topic/1902/sneak-peak-of-a-game-omg-this-is-so-laggy
  • What is this?

    7
    0 Votes
    7 Posts
    2k Views
    CreatiCodeI
    @tyller_ Please give it a try. I would love to hear your feedback. It is always a challenge to know when to give out the answer and when to hold it back, even for human teachers. Our current setting is to make the AI keep providing more hints when the user struggles. Hopefully, that will be good enough for most situations.
  • The bot is down

    2
    1 Votes
    2 Posts
    863 Views
    CreatiCodeI
    @sirbots That should be resolved now.
  • Problems with the cursor block?

    5
    3 Votes
    5 Posts
    2k Views
    JaecadeJnightJ
    @c That’s normal, and intended. If you change the cursor to “crosshair” then it will stay crosshair until you change it again. So it’s your responsibility to change the cursor back to the default.
  • So, There is a bug here. Can anyone fix it?

    16
    0 Votes
    16 Posts
    4k Views
    SirBotsS
    @tyller_ I used the wrong operators, and I didn’t have the proper distance variable in the movement scripts.
  • using the "pen" to create smoother lines

    6
    0 Votes
    6 Posts
    2k Views
    Tyller_T
    @jeffreyrb03-gmail yeah if you copy a block and edit its name to something invalid it’ll show that, pretty sure any block that actually renders means it does have a texture or something about it defined
  • application has crashed

    4
    1 Votes
    4 Posts
    958 Views
    CreatiCodeI
    Sorry to hear that. Can you try to reload the page? Is there a project link that we can look into?
  • adding "luck" to a game

    8
    1 Votes
    8 Posts
    2k Views
    TheNicknameGovT
    @sirbots I created 50 of something (let’s called it “thing1” bc the game I’m making is a secret), 25 of thing2, 12 of thing3, 6 of thing4, 3 of thing5, 1 of thing6, reshuffled the table a few times and pulled the first item out of that table. If that’s what you mean, would you make another table if you have a higher rarity with more rarer things added?
  • Last updates -- Bot Test

    6
    1 Votes
    6 Posts
    2k Views
    TheNicknameGovT
    @jeffreyrb03-gmail I realized that those blue boxes appear after playing tutorial, I will try to fix that
  • Highest score

    4
    1 Votes
    4 Posts
    1k Views
    silvloveS
    @the_true_odst He means project score. [image: 091bda95-e5cb-4649-91b6-ee31b8d59dde.png] and im clearly in last place on that list
  • How do I make a 2d game that's multiplayer?

    2d-blocks multiplayer question
    7
    1 Votes
    7 Posts
    2k Views
    ?
    hi my name is gennesis i love yuo
  • How does my project have 2 remixes yet I can't see them?

    3
    0 Votes
    3 Posts
    939 Views
    JaecadeJnightJ
    @info-creaticode Ah ok