@sirbots can’t you just increase the canvas size?
Posts made by Tyller_
-
RE: Feature Suggestions: Integration of Scratch Addons
-
RE: Allow a category for posting project updates
@sirbots That works better, do you need to post project updates? if you really want to then the most you should ever do for a single project is reply, but yeah an edit would work
-
RE: Allow a category for posting project updates
@sirbots you control what unread notifications you get, plus project updates should go under your post in projects showcase, like this reply but you psot your update (and if you want changelog) here
-
RE: Position bugs near the edge on a larger box than normal
@011830-0a42ef84 idk what this exact issue is, but an issue to note with doing viewport stuff is when you’re near the edge the direction stuff is gong to stay relative to teh center of the screen (even if you do offset stuff, the viewport x and viewport y blocks report semi arbitrarily relative values, put simply they put values that are randomly but consistently offset from the actual x y of the viewport, divided/multiplied relative)
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 yeah so the issue is likely that multiple broadcasts are being sent per frame, which causes only some broadcasts to work,there is no way around this as far as I know, actually a really scuffed/creative way could be you have each thing add to a list the instructions, and then each clone looks for their clone id in the list and follows that instruction (actually I might do that in my cell game to prevent a bug I’ve found with my black holes)
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 Here it is
https://play.creaticode.com/projects/67a4fb9137d5f05663875c86
I was gonna combine (which I really should of cus there’s so much repitition in the blocks) but I did this, it was the easiest method to think of and I didn’t ant to drag costumes, instead dragging blocks and copy pasting alot -
RE: Infinite signature length?
@info-creaticode does it allow regex? You can probably make a regex that checks for more than like 4-5 new line characters, I think like .?\n.?\n.?\n.?\n.*?\n (There’s probably a less verbose way to do that but that was off the top of my head from what I remember about regex) would work
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 Sry, I had started doing some javascript stuff and using my laptop as a webpage host server for testing stuff, I currently can’t use vscode.dev because I had to give my charger to my brother so my laptop auto powered off, so for today I’m going to try to do some creaticode stuff
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 it always bugs like that, I don’t know how to fix that since yo can’t use viewport x/y because that is not relative to the real x y position of the viewport (its some weird shortened one)
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 oh yeah , I added stuff to fix that, you have to do
point in direction(direction from x (0) y (0) x(mouse x) y(mouse y))
in order to do it, its a weird bug, I think what it’s doing is pointing from player x y to the mouse (which makes sense) but the mouse x y is relative to the screen, so you could be 500 pixels right and if you click in the middle of the screen, instead of showing 500 mouse x 0 mouse y it shows 0 mouse x 0 mouse y, and if you want something that isn’t the player to look at hte mouse I can make an example if you really need i t
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 yeah, also if you have the tab still open click edit and try clicking restore sprite, if that isn’t there then try refreshing without saving
edit:https://play.creaticode.com/projects/67a4fb9137d5f05663875c86
edit 2: I touched some stuff so make sure everything is connected (I was going to disable some stuff to rework it)
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 you have to click edit in the top left of the screen then change the canvas size, put it at like 1000 1000, then in the player sprite get the “lock viewport to sprite” block and set it to Player, then you have it
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 I understand what you mean, I think I’ve thought of a way where you can make all the detectors one sprite, then have it spawn clones for each detector and on a when touching it gets the clone id of the one touching the player and broadcasts stuff based off that
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 I’m going to just go through and see how it works, I’ll probably try making it scalable (able to have multiple zombies/ai’s) and ig because you already have so many sprites I’ll try to make them all work in conjunction (it’s probably good practice to use multiple sprites, I just tend to for some reason unknown to me use very few sprites, though ig sometimes it’s okay but then sometimes I make an entire project in one sprite and don’t mean to) I increased the canvas size and locked the viewport to the player so stuff can be tested with that, now that I type this I kinda wanna try doing ray casting stuff but idk, sry Im rambling
TLDR: I might rework it or just make it compatible with clones
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 something to add, please try resharing it or un sharing and putting sharing back on, it shows a remix button but I can’t see inside and I tried just adding /editor?version=1 to the end and it showed hte editor for a second before kicking me bakc out (the version=1 is just something it adds, it did have that on the end when I got sent back to the main page)
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 you shouldn’t do anything different based on x and y, since i ts top down x and y should be pretty much treated the same as mechanics
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 sure, share it (I think Im friended so if you really don’t want it public you can share with friends) my idea would either be a custom block that adds data to a list and/or sends a broadcast with parameters, then the ai receives that and process it, so for the broadcast it would be (assuming you want a custom block to format the data and be repeatable easy)
PS: as I’m typing this out I realize it’s hard to understand if you don’t have experience reading script code or using broadcast blocks to put data in a string and using part number of string to get that data
The custom block:
define makeSound(x, y, loudness) /
broadcast (sound) with parameter (x, y, loudness) // use something like join text with separatorIn the ai sprite:
When I receive (sound) with parameter [inputs] /
if (distance between sound x sound y and x position y position < loudness) then
---- // do the stuffIF that was confusing I Think if you tell xo chat what I described it as they can make an example or just make it (so if you tell xo chat something like “make a custom block that takes an x and y position as well as a loudness value and broadcast it, then a receiving broadcast block to handle the sound” infact you might be able to ask it to implement the sound system as a whole
-
RE: Anything I can add/fix? - Bot Test
@011830-0a42ef84 You should add a sound hearing system (where certain actions make the ai hear something) you’d be able to make it very dynamic since you could just spawn a sound sprite with a variable/thing in the clone id to indicate how loud it is, and therefore how far the ai can notice it from
-
RE: Debug mode arrow??
@jd131111 I’m pretty sure it makes your program stop at each breakpoint (I think its just a break block) and wait for you to press the blue arrow (you have to press teh yellow start button to start it)
-
RE: How to remove old version of a game without deleting every version at once?
@sirbots why do you need to remove the old version
-
RE: Have clones point to other clones
@sirbots I can try, and updating to a table I believe does slightly lag, I have a project that I recreated here that uses this method, I have recreated it in 3 different places as a sort of benchmark (code.org, here, nad codeacademy) and I’m pretty sure I got decent fps at like 30 clones on creaticode, I’m fairly certain that 10-15 was no problem, though I can try to find the project (the project does have similar logic to this, checks distance from every other clone, then checks some values per clone to decide what to do)
-
RE: Feature Suggesion
@greeniwastakenyt I believe it exists in multiplayer, however it’s premium only
-
Issue with comments attached to blocks
I don’t remember if I’ve reported this before but comments attached to blocks on a mobile device show very weirdly
I don’t remember if I’ve reported it before (I was going to try a quiz and stuff)
-
RE: I'm back! (and I have a cool new gaem)
@011830-0a42ef84 I know you can climb the walls more, my issue is I seem to bounce off when I try to climb them, though ig the issue is I’m on an ipad (built in keyboard) so I have a big of frame/tick lag
-
RE: Packager for Projects
@auralunex Unlike Scratch, CreatiCode is not open source (and reverse engineering is not allowed), so a community made packager wouldn’t be allowed. But you should be able to use turbo warp for projects that don’t use any new blocks since it’s built off Scratch, you could suggest a packager but I don’t know if it would be allowed (also as i Think of this, what’s the difference between using iframes instead of a packager? I honestly have never used a packager and just want to know)
-
RE: I'm back! (and I have a cool new gaem)
@011830-0a42ef84 isi it meant to be so bouncy? I got to the second level and I’ve found the climbing walls but find it hard to do since the character bounces off the walls
-
RE: could simple HTML/styles be allowed in forum signatures?
@jeffreyrb03-gmail My siggy is actually just the html tags for my signature (in view source if you find the siggy it’s the tags that wrap it) plus what my “actual” siggy is inside those tags (telling ppl to not use forums as a chatroom)
-
Issue with add costume from url block
The add costume to url block seems to add to the currently selected sprite ONLY, instead of the actual sprite, this can be seen here
The Empty sprite is my blank sprite for me to be in while I have the project panel not full screen (and according to ppl on scratch it makes it helps stop lag when not in editor/in project main page) The issue is that when the add costume block gets triggered in the Main sprite, it adds the costume to the empty sprite instead, not letting my pfp be used
-
RE: Sprite Folders?
@info-creaticode IMO snippets would of been sprites with labeling and details on what they do (more than just a title an icon, like a short preview description and a longer description detailing what it does) and the sprite can be one stack or multiple, I just feel limiting it to one stack would limit it to certain functionalities (I’m thinking what if you have something like multiple custom blocks that work together and only work with each other, ex: custom blocks to use something like a key value table where you need blocks to set a value and retrieve a value), though lone code snippets could work depending on the full intent of it
Edit: Example for what I mean
(List/grid of sprite snippets)
/
Player Controller
Simple premade player handlerSimple Enemy
Basic chaser enemyOther Snippet
A random snippet
/\Then when you click on one
/
Player Controller
Simple premade player handler
A simple player controller for quickly setting up wasd and arrow key support
[Add to project]
/\THe name in the example is “Player Controller”, the short description is “Simple premade player handler”, and the full description is “A simple player controller for quickly setting up wasd and arrow key support”
Making it would be when they go to submit a snippet example it would have 3 input boxes for the name short description (short description could be labeled title or something like that) and the full description (The short description is optional, I now realize you can probably convey what’s in the short description in the sprite name, I just got inspiration for it from somewhere)
-
RE: Sprite Folders?
@info-creaticode another example could be if somebody makes a set of sprites that can be put into another project to do various stuff (sprites to help debug or test stuff, example snippets in sprites, sprites with code for common functions or an engine like thing, etc) so its quicker to import and doesn’t get mixed up with the rest of your project
-
RE: Sprite Folders?
@catty enemies items and walls should (most of the time and in my experience) be clones of a sprite (one enemy sprite or almost one sprite per enemy type, same with items and walls), I would say yeah for rigging since I typically am somewhat reluctant to make new sprites (I don’t really know why, I just tend to not make new sprites for a lot of stuff)
-
RE: Is it possible to code this?
@blujey1294-328b9bc4 https://play.creaticode.com/projects/67910a97ef88686bff922e9e
I have fixed it, I changed the clone player and Brain of Cthulhu sprites, the issues were first, you put the on green flag click script with teh comment “player sprite” in the brian of cthulhu sprite, it should be in the player sprite. I then changed some stuff so it uses the Clone sprite for stuff (that way the clones can’t damage the player) -
RE: Is it possible to code this?
@blujey1294-328b9bc4 Can you share it? If you want not everybody to see it you can friend me and share with friends (I was gonna send thee friend request but can’t find the button to do so)
-
RE: I need help with my chatting system
@info-creaticode ohhhhhhh that makes sense, Ig I’ll finally set a pfp
-
RE: I need help with my chatting system
@info-creaticode It isn’t returning anything, and you forgot labels for when the check mark thingy is clicked
-
RE: I need help with my chatting system
@info-creaticode I can do that, I was wanting to reduce the size of the broadcast message but if there’s no length limit I could. I would also store the user pfp in the google sheet so when loading messages pfps can be loaded
-
RE: How to use NN blocks?
@jd131111 you have to put data in the table, I have messed with them and could setup an example hypothetically.
-
RE: Is it possible to code this?
@blujey1294-328b9bc4 you have to do forever loops so the x and y variable places are set to the brains x and y, and the PlayerX and PlayerY are set to the x and y of the player in a forever loop. I can make an example if necessary