generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Creating a HUD out of bricks

Previous Thread :: Next Thread 
Raildex is not online. Raildex
Joined: 06 Dec 2009
Total Posts: 934
12 Oct 2016 09:34 AM
Does anyone have any idea how they did this? https://www.roblox.com/games/398104353/Run-Gun-Jetpack-Sim

The health and ammo are bricks that must be local to the player and strapped onto the player somehow I figure. Does anyone have any idea or know how they did this?
Report Abuse
Egzekiel is online. Egzekiel
Joined: 10 Jan 2011
Total Posts: 1079
12 Oct 2016 10:07 AM
They probably use the camera's CFrame and use a while loop to place the GUI elements.


Report Abuse
Naco88 is online. Naco88
Joined: 30 Oct 2009
Total Posts: 665
12 Oct 2016 10:22 AM
It seems kind of unnecessary.

You could just have an image of the 3D health bar in it's different stages maybe?
Report Abuse
Raildex is not online. Raildex
Joined: 06 Dec 2009
Total Posts: 934
12 Oct 2016 11:06 PM
ok I have this, now my question is how would I adjust its position to adjust with the size of the computer screen so that it is not always in 1 spot

local player = game.Players.LocalPlayer
local camera=workspace.CurrentCamera
local part= game.Workspace.Union--Instance.new("Part",camera) -- local parts
part.Parent = camera
part.Anchored = true


camera.Changed:connect(function()
part.CFrame=camera.CFrame
*CFrame.new(-4,-3,-6)
*CFrame.Angles(-.1,.6,-0.1)
end)
Report Abuse
Raildex is not online. Raildex
Joined: 06 Dec 2009
Total Posts: 934
13 Oct 2016 10:14 AM
Bump
Report Abuse
KreoBox is not online. KreoBox
Joined: 24 Aug 2016
Total Posts: 356
13 Oct 2016 10:16 AM
FE
Report Abuse
Raildex is not online. Raildex
Joined: 06 Dec 2009
Total Posts: 934
13 Oct 2016 11:35 AM
That didnt do anything, how would it even effect it?
Report Abuse
AutoCarrot is not online. AutoCarrot
Joined: 24 Oct 2013
Total Posts: 5588
13 Oct 2016 11:39 AM
KreoBlox is a tool.

CFramed tools in the camera is how they did that.

They stole assets from PF badly tho.


WolfgangVonPrinz // Private Drive - Residents Only
Report Abuse
Raildex is not online. Raildex
Joined: 06 Dec 2009
Total Posts: 934
13 Oct 2016 11:47 AM
could you elaborate on that?
Report Abuse
Bernkastel2727 is not online. Bernkastel2727
Joined: 23 Sep 2012
Total Posts: 2612
13 Oct 2016 11:52 AM
He put the bricks in CurrentCamera and CFramed them to the Camera's CFrame, simple as abc


Report Abuse
vectorGunner is not online. vectorGunner
Joined: 23 Mar 2014
Total Posts: 784
13 Oct 2016 12:11 PM
Creating a HUD out of parts isn't impossible, however, unless you're using an insanely low FoV you'll get unwanted warping.
Report Abuse
vectorGunner is not online. vectorGunner
Joined: 23 Mar 2014
Total Posts: 784
13 Oct 2016 12:21 PM
I went ahead and visited the place you linked. Not sure who's claiming to have scripted that but it's from this open sourced place: https://www.roblox.com/games/391889168/Weapon-System
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image