The inline comment block, (/* (text) /), should have a second input to the left or right of it, making it ( (text) / (text) */), the text outside the comment indicators would be returned, and the text inside would be ignored, this would make it so you can actually add inline comments, since right now they’re just a comment block you can’t really put it anywhere useful because it just returns what’s inside the comment indicators
Posts made by Tyller_
-
The inline comment block should have a second input
-
RE: ChatGPT feature only works when logged in
@ldelabruere-gmail likely not as that would allow students in classes to easily sign out and use the chatGPT blocks when it’s disabled for their class
-
RE: Why can't CreatiCode keep up?
@shrukin many blocks lags the website like with scratch, CreatiCode will refresh if it freezes for too long though
-
RE: Notes Attached to Blocks break the view area
- Open any project on an iPad
- Add a comment attached to a block or go to a sprite with a comment on a block in it
- If the comment is not closed/shortened (shrunk to just the header of the comment), this will show
there is part of a visible, I’ve seen that it is indeed a on another project I can’t remember the project, this happens wether or not text is inside the comment
-
Notes Attached to Blocks break the view area
there is a white box here from the note attached to the block, pressing the up arrow makes it stop showing the massive white box over everything, the text in the note shows in the broken display, I saw a in place of where an enter should be when I had pressed the hide arrow on another note, though this happens without typing anything in the note, I should of reported this earlier as this has been happening for a while
TLDR: making a attached to a block or viewing one on an iPad (I know this happens on iPad, I’ve seen it not broken on computer) seemingly has the text area escape
-
RE: Rate limit on load data & cloud broadcast
@tyller_ I am [censored]ping this post because an answer to it would be really helpful
-
RE: 3-D Building
@shrukin most games will only make the client (the player’s system) render the side of the object they should be able to see, this is how you see through walls into the map when you clip out of bounds in games, draw back face makes it so the back of this object is shown, I’m assuming you used planes in parts of the roof, the bottom of planes aren’t drawn because they’re used for floors, draw back face makes it so the bottom of planes are rendered
-
RE: 3-D Building
@shrukin You have to turn on draw back face with the block because the roof is only drawing one side of itself, also the player floating can be fixed by adjusting the z position of the player’s body
-
RE: Ummmmmmmmmmmm....
@shrukin See https://forum.creaticode.com/topic/1068/inable-to-see-my-projects it’s probably the same issue
-
RE: Battlefront II (3-D)
@shrukin look for the tutorial on raycasts in the 3D blocks section
-
RE: Battlefront II (3-D)
@shrukin for the lasers you can use a ray cast to “shoot” a projectile that doesn’t have bullet lag, you can check what object the ray cast is touching each time the player tries to shoot
-
RE: Battlefront II (3-D)
@shrukin the raycasting blocks let you draw lines in directions from a 3D object, they detect collision in that direction, they can be used to do some math with their distance to make a particle at the impact site, I could try making a demo if you want one
-
RE: Battlefront II (3-D)
@shrukin the laser distance one is the actual perfect job for raycasts, when they shoot you can have them deal damage to the touched object, shields can be another 3D object with the ship set as parent, and apply some effects to it, costumes you can import community models (with proper credits) and upload your own models
-
RE: Halo ODST
@011830-0a42ef84 It’s a good amount of recoil, I’m working on a 3D multiplayer system right now, you can test it as I work on it, though you have to refresh every time I change something, I’m going to make an update checker for it so you know when you refresh if you want to test it.
https://play.creaticode.com/projects/65fb35e512caa07f9f906ea0
-
RE: Halo ODST
@011830-0a42ef84 I forgot to share it, you can see what I mean with the example text I put on the screen
-
RE: Halo ODST
@011830-0a42ef84 I have answers to both your questions
-
I was making a project to attach 2D stuff to the camera, I’m on a computer right now (technically a laptop) and there’s some issue with the 3D scenes, when you go in full screen with a 3D scene active and not hidden, it makes the cameras width and height fill the screen, changing proportions but not affecting the actual game (except the map screen x y to xyz block seems to break some when in fullscreen), so you can’t have the player hold the gun fully on the right side of the screen without it not showing for non-full screen or people on other devices (for example iPads have different aspect ratios so the 3D scene doesn’t widen as much), I have positioned it at what should be an ideal position, the green and red are placeholders I used to help fit the placeholder gun, you should be able to use the gun costume in it and it’ll work just fine.
-
You can’t directly have text on the sprite, you have to use the print (text) block, I have also found out again (I already knew but forgot) that text is forcefully stretched when in full screen with a 3D scene, and you can’t just make costumes for each number and change which is shown and positioned on the gun, because extruding a costume lags for a few seconds
Edit: Forgot to add the project link https://play.creaticode.com/projects/65fb155d12caa07f9f9053f8
Edit 2: I’m fixxing some stuff I found out broke after removing the green placeholder, it centers the costume and that messes up some stuff, it also doesn’t like transparency, I’m going to add a placeholder box with only a border to fix this
-
-
RE: Halo ODST
@011830-0a42ef84 making it be in front of the camera as a flat wad object is possible, but it has a quite noticeable movement lag behind, which would be the same with a 3D object doing the same thing, actually there is a way, you can attach the camera to objects which is how you make it be the head of the player smoothly, you could merge the player controller into the 3Dified 2D object (because merging an object with more than one color on it into one which only has one overrides it) and hope it doesn’t try wrapping the texture around the player collider
Edit: Nvm you can just set the camera as it’s parent, I forgot that exists
Second edit was properly wording my stuff
-
RE: Halo ODST
@011830-0a42ef84 the tutorials already available should be able to help you enough, they should be easy to find
-
RE: Halo ODST
@011830-0a42ef84 okay so I’m on my iPad right now and can’t press them, from what it looks like you aren’t actively using the 3D scenes which would help you a lot, but wouldn’t allow for the gun, I can start to make the 3D multiplayer system as I have experience with making multiplayer systems in CreatiCode, and the multiplayer blocks could work with 3D, possibly even allowing setting speed of 3D objects, however I’d recommend cloud blocks, because they’re much more consistent and multiplayer blocks only work best when it’s one player controls one Sprite, which makes game sizes very limited
TLDR: I’m on my iPad and can’t press keys rn, I can help make the 3D scene part of the project and multiplayer part, cloud blocks would likely be best for the multiplayer also
-
RE: Halo ODST
@011830-0a42ef84 The project was a demonstration of what trying to recreate the 3D scene looks like and how slow it is, my health bar project is https://play.creaticode.com/projects/65e76d5d20c83bb0cab8b76e
-
RE: Halo ODST
@shrukin I can help! My health bar should work in the project and I can make the shield effect when we get there, also an issue with a costume for the first person camera is 1, you can’t display a costume over the camera, and 2, if you make it a 3D object (with whatever it’s called that makes it a flat thing in the 3D scene), putting it in front do and turning it to the camera in a forever loop still has a bit of delay, which would also apply to a 3D object.
To fix the issue, 1, suggest the ability to display a costume over the 3D scene, 2, construct the gun with draw shape blocks, it’d take much longer but work, though 1 is the best option because it’d make it semi-animatable and easier.TLDR: You can use the health bar I sent you for health and rework it for shield, I can make shield fx, costumes and 3D objects can’t display over or on the 3D scene locked to camera, the best way around this is suggesting a way to have costumes display over the 3D scene’s camera.
Edit: Also, while it is possible to recreate every thing inside the 3D scene with it hidden (I’ve done this in my project https://play.creaticode.com/projects/657c92b578d336c6272c53ec
), it’s laggy at even small scales, and draw blocks draw over costumes -
Inable to see my projects
My projects have seemingly disappeared, I made a new project and it appears just fine, I am slightly concerned
-
RE: I'm making a game and am so confused.
@shrukin you can just make a big costume for the entire scene, and move it to make the scroll, for infinite scroll just set the position to the start whenever it loops, big costumes can move off the viewport and won’t get stuck on it, you can do infinite scroll without the same exact patterns but that’s a bit harder, for looping infinite scroll you can just do this (for right to left, scroll speed should be negative):
Repeat until (stop scrolling = 1) {
change x by (scroll speed)
//adjust the number to wherever there’s a seamless loop in the costume
if (x position < -1000) {
set x to (0)
}
}Something like what’s above would work with adjustment, you just need one costume for the entire background
-
RE: I'm making a game and am so confused.
@shrukin a money variable, it changes when they earn money, and if it’s greater or equal to the cost of something they try to buy, reduce by the cost and give them the reward
-
RE: Ability to Release Focus from Chat Windows
@info-creaticode that’d work, I was planning on using it to not let users send messages before my project is loaded for them, but still have the chat window up so I can have stuff log to it & let the user know the project is starting (the project has to check if a world exists, then create or join it before chat works)
-
RE: How to use multiplayer blocks
@shrukin You can use cloud blocks to achieve unlimited user multiplayer, with the only issue being constant broadcasting can cause the when I receive message from user block to not read all the data that clients are sending, but it works, I use it for my chat game where you talk with other people, but since it has a ~half second lag it’d be a bit unreliable for what you’re trying, though it’s you’re only method you can use, also importing from a downloaded scratch project will let you use the cloud variables in that project.
-
RE: How to use multiplayer blocks
@mathew139616-georgiacyber they’re not fully working, I messed around with them and the add sprite to game block, remove sprite from game, reset game world, set speed syncrhiously, and block that has a broadcast input don’t work, also how it works (I tested in two tabs and know from cloud) is one client (project in tab with a unique account signed in, not same across tabs/devices, a client is just a user) makes the world, and another joins it, all clients can make worlds and join each others, but as of my testing <1 hour ago, only create, join, list games, and list in game blocks work.
TLDR: You need to use another device/incognito tab/different browser, signed into a different account (I went straight to different account, there’s a chance you can use the same account) to test and use multiplayer blocks.
-
Ability to Release Focus from Chat Windows
The release focus for (text box widget) block should also allow releasing focus for chat windows, this could be used to not have a user type while an AI is thinking, along with some of the reasons you’d want to release focus for a text box
-
Project Crashing
My project (linked at end) is repeatedly crashing, shortly before this I noticed that CreatiCode was having a bit of a hard time saving it, saving would take long and sometimes fail, try again would then quickly fail, I had refreshed the page, tried to redo my work, and then save to avoid it, but now it’s straight up crashing. Also when I click back from the project’s page (editor or public page) and the page that it should go to is my stuff, it goes to the not found page, but directly clicking on the my stuff page (the folder icon) brings me there and it works fine
https://play.creaticode.com/projects/65b13b0482fb7ddfe47c9bf6
-
Pen drawing clears when switching screen sizes
I have tested this on a computer and iPad, when you switch between full screen, normal, or minimized it will remove all pen drawings and stop any attempts to draw more (except the draw rectangle block which sticks to viewport like looks draw shape blocks), it fixes when you press the green flag again, but doesn’t show anything there was before you changed screen sizes
-
RE: AI Blocks.
@106809-mygccs which blocks are confusing you? I can try to help by providing more examples. I can probably clear up any confusion from the help page.
-
Regex blocks are very strict
I have been messing with regex blocks and have found that they’re very strict without error catchers. If you enter an invalid regex (in the actual regex input or the flag input) and run it, it will soft crash your project, I also have found that regex
I was making a regex to help separate markdown results, and after entering the regex “^(?=[).*?]$” (I’m fairly certain this was the last regex I used, it was this or a modified version of it) with the flags “gm” (neither in quotes inside the actual block) inside a regex () flag () search [list] block, it soft crashed, I reloaded and the project is hard crashed (reload button green screen of death), the project link is https://play.creaticode.com/projects/657b3d790919ac1fadb53337
-
Issue With Cloud Broadcast Block
Cloud broadcast blocks appear to only work within the same device, the cloud join and leave blocks work across devices as they alert properly when joining and leaving the world, but the broadcast only appears to send messages to other sessions within the same device, I have tested this on the project linked below, if any session leaves or joins the game it alerts all other signed in sessions properly which you can test across devices, but when you send a message it only sends to sessions on your own device (this was tested with chrome and incognito mode on a phone, and safari and private browsing mode on an iPad, it didn’t work when tested on both devices without incognito or private browsing mode)
TLDR: Only cloud join and leave blocks work across devices, cloud broadcast only works across sessions within the same device.
Project tested in: https://play.creaticode.com/projects/65496321518b6463b18e09d9
-
RE: Control report test and set global parameter
@info-creaticode oh okay, good to know that they’re not intended for use by everyone
-
Control report test and set global parameter
I have been wondering what the report test result and set global parameter key value blocks do, since there is no get key value (in control, there’s the game extension one technically and loadable data is also technically key value storage), and there’s no way to define a “test” (it would probably be reported in console I assume so that’s covered)
-
RE: What does the convert to sps from xyz list block do?
@info-creaticode that would be useful
-
RE: What does the convert to sps from xyz list block do?
@info-creaticode I’m making world generation and for a limited size world I make smaller chunks with the convert sps due to list size limits, and then merge them for loading efficiency, this would allow me to just add to the sps and make the chunks be connected into larger chunks, (I read from another help post that too large objects, at least planes, can add a lot of lag), so I could add to the sps instead of merging (which also forces color to whatever the merged object is)
-
RE: What does the convert to sps from xyz list block do?
@info-creaticode what does the updatable mean? Can I select a sps object and use the convert again to add onto the same object without merging
-
RE: 3d Scene Suggestion
@ek43680-wdmcs use the create orbit camera block and disable input keys option
-
RE: What does the convert to sps from xyz list block do?
@info-creaticode thanks, this is extremely useful to know that it can do this much without nearly any lag this fast, I am making a procedural generation and before I add a transformer moving and doing calculations to place blocks and then merge them into one shape
-
What does the convert to sps from xyz list block do?
I am trying to make a complex shape with custom points (the point coordinates change each run so I can’t just make a model on another website) but don’t know what I’d need to calculate to make all the connecting triangles for the points, I found this block and after a bit of research found it could possibly help with making a surface for it, but I can’t figure out how to use it.
So far I have tried filling the list with the point names and having the list name be a transformer that’s the parent of all the points (making sure to have the parent object (the transformer) be selected when running it)
-
RE: Key pressed bug
@ek43680-wdmcs recreating it and dissecting, the issues appears to be the change variable by block sets the variable to a number value, the set makes it a string, the change var by block works with turning numbers that are currently a string to a number and increasing (a string is what a program lets be any text incase somebody reading doesn’t know), but it turns the variable output into a number, so any string inputs (I tried fixing it with uppercase/lowercase of text and it froze it running that alone) just freeze when given a forced number value (the variable after a change by block is ran is turned from a string into a number)
As of typing I have found that the join block fixes this, so replace the lone # in the key # pressed block with a join (#) () block and it’ll work the exact way as it would of without the join but without freezing
-
RE: Key pressed bug
@ek43680-wdmcs can you send a picture of the blocks? The get scripts for sprite is useful but doesn’t include stuff like parentheses for ordering
-
Rate limit on load data & cloud broadcast
Is there any rate limit/data limit on load data and/or cloud broadcast? I’ve also noticed cloud broadcast may not work across devices, works in separate tabs on my iPad, phone, cross tabs on computer, but not on iPad and computer or iPad and phone when sending messages between (separate accounts every time, for different tabs I just used incognito on the device to allow different sign ins), I haven’t really tested the multiplayer blocks (other than create world which does work now)
Related question: If I were making a simple multiplayer game where you could move around and see other players, would it be best for me to use data storage loading (probably not), cloud broadcast, or multiplayer blocks, and do the multiplayer blocks work with cloud world creating and joining? (they probably do because they log in the same style)
-
RE: Attempting to load data named nothing waits forever inside blocks
@info-creaticode it’s now shared, had forgot to share