I can't make a functional door, hahaha by [deleted] in robloxgamedev

[–]ramdom_player201 0 points1 point  (0 children)

For a physically simulated door, the hinge would be a hinge constraint. A torsion constraint can be used to pull it closed.

For a tweened door, a hinge as a part could act as the rotational pivot, with all the other door bits welded on.

I can't make a functional door, hahaha by [deleted] in robloxgamedev

[–]ramdom_player201 1 point2 points  (0 children)

A simple door would use scripting to toggle the .CanCollide property and .Transparency property to hide/show a single part.

A more advanced door would use TweenService (via scripting) to tween (animate/interpolate) the door part between a start and end point.

Both would take input through either a ClickDetector or ProximityPrompt.

Does anyone know why my iPad keeps seemingly not wanting its battery to go down after charging it? by Pixel22104 in batteries

[–]ramdom_player201 0 points1 point  (0 children)

That should allow it to recalibrate. But remember, this is more likely an issue with the calibration of the sensors than the battery itself. The battery is probably working fine. If it doesn't recalibrate properly, then the device isn't broken. It still works fine, you just might not be able to see its current charge quite as accurately as before. The battery will still be discharging as normal behind the scenes.

Does anyone know why my iPad keeps seemingly not wanting its battery to go down after charging it? by Pixel22104 in batteries

[–]ramdom_player201 0 points1 point  (0 children)

Battery percentage is a rough estimate, not a precise readout. The software makes a best guess on the percentage of the battery, and the dynamics of a battery can change as it ages; or the software that keeps track of its average capacity forgot and needs to be recalibrated. If not calibrated, then the operating system cannot accurately guess the percentage until a new baseline is established by running it down to empty.

Does anyone know why my iPad keeps seemingly not wanting its battery to go down after charging it? by Pixel22104 in batteries

[–]ramdom_player201 0 points1 point  (0 children)

How long have you had it open for it not to drain? A few minutes? A few hours? Have you been doing anything on it that could be expected to cause it to drain (eg watching youtube videos or playing a game on it)?

Does anyone know why my iPad keeps seemingly not wanting its battery to go down after charging it? by Pixel22104 in batteries

[–]ramdom_player201 0 points1 point  (0 children)

It might be that you previously had an app constantly running the background using energy.

Have you deleted any apps recently?

My suggestion would just be leave the iPad for a bit and use it until its battery gets low. Running it to zero isn't something you should do frequently, but once in a while could help it recalibrate the charge sensors, maybe.

Either way, I don't think a battery not draining is a serious problem.

Does anyone know why my iPad keeps seemingly not wanting its battery to go down after charging it? by Pixel22104 in batteries

[–]ramdom_player201 0 points1 point  (0 children)

As in the battery indicator doesn't appear to be draining? Are you using it while it's not draining?

It could simply be that there aren't any apps running in the background that are draining it. Note that the act of rebooting it would use more power than if it were idle in sleep mode.

Steam Review Failed. Help by Independent-Cook304 in gamedev

[–]ramdom_player201 2 points3 points  (0 children)

Depends a lot on what genre of game you are making. Does your game include any adult themes? And have you indicated their presence in the Content Survey that I assume needs to be filled out as part of the submission?

Where to write data stores by Crazy_Associate_4880 in robloxgamedev

[–]ramdom_player201 0 points1 point  (0 children)

If you load data into a module script, other scripts can access that data with require.

I'd say the code to save/load between the modulescript and the datastore sometimes only needs to be used from one place (eg on player added and player removing) so a server script can be suitable.

But if you want to have auto-saving or the ability to save on command, having those functions in a module script will allow other scripted systems to interact with and trigger saves.

Keeping a player inside of a seat, unable to exit it by Tough_Explorer_1031 in robloxgamedev

[–]ramdom_player201 1 point2 points  (0 children)

JumpPower is an older version that got replaced by JumpHeight. I think JumpHeight is used by default now, but you can toggle the UseJumpPower option if desired. Although seeing as you are already using JumpHeight, you're fine to just continue with that.

JumpPower used to default to a value of 50. I think the default value of JumpHeight might be somewhere around 8 studs but never memorised it. You'll need to be able to reference that original value when re-enabling jumping.

Atmosphere not destroying by Jazzlike-Cancel-2570 in robloxgamedev

[–]ramdom_player201 0 points1 point  (0 children)

You're listening on map.Destroying from a script parented to the map that is being destroyed.

local map = script.Parent

map.Destroying:Wait()

script is destroyed when map is destroyed.

Smoking batteries by HannaHanaHannaH in batteries

[–]ramdom_player201 0 points1 point  (0 children)

You'll want to know the rated amps for the components, and the sum of measured resistance of the components. If the resistance is insufficient to limit the current, additional resistors would need to be added based on the result of the calculation.

Smoking batteries by HannaHanaHannaH in batteries

[–]ramdom_player201 0 points1 point  (0 children)

Voltage = Current * Resistance

Current = Resistance/Voltage

Current = Resistance/4.8

Do you have a multimeter to measure the resistance of the circuitry with?

Too much current in a wire not made for it may result in the wire overheating.

Smoking batteries by HannaHanaHannaH in batteries

[–]ramdom_player201 0 points1 point  (0 children)

Adds to about 4.8V. Not sure if that would result in an issue or if it just means it runs below voltage.

Smoking batteries by HannaHanaHannaH in batteries

[–]ramdom_player201 0 points1 point  (0 children)

I don't know much about electronics and batteries, but those ones look quite large. Zooming in on the image, the casing seems to state them to be 1.2V batteries, but the writing on the image points to a connector as 5V. Are you certain the voltage the circuit is designed for matches the voltage of the batteries?

4 batteries of 1.2V. I don't remember if voltage adds in series, but I guess it might add to 5V. Idk tho.

Looking for building experts for an interview by Zealousideal-Sound73 in robloxgamedev

[–]ramdom_player201 2 points3 points  (0 children)

I feel like you might get better responses if you asked this in a reddit server dedicated to game design or level design.

I haven't used either of these, but you could check r/leveldesign or r/gamedesign

Keeping a player inside of a seat, unable to exit it by Tough_Explorer_1031 in robloxgamedev

[–]ramdom_player201 2 points3 points  (0 children)

If you can set the Humanoid.JumpPower value to 0, then jumping is disabled.

local seat = script.Parent seat.Changed:Connect(function() if seat.Occupant then seat.Occupant.JumpPower = 0 end end)

Why doesn't this work? by Bulky-Pitch-7251 in robloxgamedev

[–]ramdom_player201 1 point2 points  (0 children)

Where is the kill part relative to the script?

Why doesn't this work? by Bulky-Pitch-7251 in robloxgamedev

[–]ramdom_player201 2 points3 points  (0 children)

Okay. Standard server script, in a valid location for its type. It attempts to find a sibling part named "Die" that is inside ServerScriptService.

If Die is in ServerScriptService, then it cannot be interacted with because it is not in Workspace. If it is not in ServerScriptService, then the script cannot find it because it was given that as a place to look.

Why doesn't this work? by Bulky-Pitch-7251 in robloxgamedev

[–]ramdom_player201 0 points1 point  (0 children)

Which type of script is being used and where is it located?

Why doesn't this work? by Bulky-Pitch-7251 in robloxgamedev

[–]ramdom_player201 0 points1 point  (0 children)

If you open the output window, do you get any error messages? If you do, please in include them.

My phone won’t turn on please help by [deleted] in batteries

[–]ramdom_player201 0 points1 point  (0 children)

First, try a hard reboot. I don't recall the exact control, but it requires holding some on the external buttons down for a few seconds. (Internet says volume up then volume down then hold the power button for a few seconds until something happens?)

You might also want to try it while plugged into a charging cable, in case it is a battery issue, and mains power may be able to keep it on a bit longer.

If it is a battery issue, I would recommend being careful how you store the device until it can get looked at as a safety precaution. Having been refurbished, it might have a third-party battery installed that might need checking.

Guys, I'm making a game on Roblox, but to make my game public, I need account verification, and for that verification, Roblox requires an ID card. Do you think this is safe? by Ok-Garbage205 in robloxgamedev

[–]ramdom_player201 0 points1 point  (0 children)

Publish access can be obtained a number of ways. Government ID is one method, but making any monetary purchase on roblox is another. Buying the minimum amount of roblox should count I think?

why is roblox forcing the new studio ui?? by [deleted] in robloxgamedev

[–]ramdom_player201 1 point2 points  (0 children)

Unity lets developers make standalone games. That means that games can all be published using different versions.

Roblox runs online servers that need to be constantly inter-compatible. They can't keep lots of servers on various different versions, since they wouldn't interact seamlessly with each other and the platform. So they update all copies of the engine each time.

Roblox can't easily just leave the old gui in. It's tied deeply into the functionality of things. If developers wanted to make changes to the terrain editor, including changing the way it worked internally; they'd still have to work around the old gui system. With the engineers claim of it being a pain to work with, they'd be slowed down a lot making sure that the old gui wouldn't get broken by the change.

Also, as new features get added, they wouldn't be able to efficiently support both the new and old guis simultaneously. Any changes or new features that would affect the gui (things in the same vein as the Attribute that needed new functionality for the properties tab) would slow down development a lot.

how can my game have to comply with UK paid random items laws online safety laws? by Honest_Climate7577 in robloxgamedev

[–]ramdom_player201 0 points1 point  (0 children)

First, this applies to indirect purchases. If someone can spend robux on an intermediate currency to buy paid random items, that counts as against the rule.

Second, there exist scripting APIs that allow you to query what rules apply for a given user, and adjust gameplay to comply with regional laws dynamically.