Well, the title says it all. I need advice for making my games, how to plan it all out, and how to basically balance everything out and make stuff organized... thanks.
Oh! Hi there! I'm Chez_Guy I'm a developer who loves everything space, playing games, and making them! I currently have 1 game I made by myself, that game is called "Evolution." You can check my Roblox profile, click "Creations" and it should be the first game to pop up. So that's it about me! Thanks for coming by! :) -Chez_Guy
Posts made by Chez_Guy
How can i track when a CFrame lerp is finished?
This is what i want the script to do: I have a
forloop with a
CFrame lerpin it going to one part, when the lerp is finished, it'll go from the part it went to, to another part then end.
This is the problem: In the loop, i cant catch when its reached the first part, -or when the lerp finished- then tell the script to go to the other part. Instead of going to the other part, it just stops in place and does nothing. Help!?
(If you are confused with my question, go to my question before this)
local model = script.Parent local dest = workspace.Solar_System.ToChoosePlanet1.Position --tweak this when in real in-game script local reDirect = script.ReDirect --tweak this when in real in-game script local StartCF = CFrame.new(model.PrimaryPart.Position,dest) --point model to destination local EndCF = StartCF - StartCF.p + dest --keep direction for destination, but use new destination position local function getRedirect() --[[ The reDirect is when if a ship is going to another planet and it noclips throught the sun, it will go to one part to avoid the sun, then when it reaches the redirect part, it heds off to the planet of its choosen destination. --]] if dest == workspace.Solar_System.ToChoosePlanet1.Position then --Put in many more of these if then state.s in real script reDirect.Value = workspace.Solar_System.ShipReDirect4 local StartCF = CFrame.new(model.PrimaryPart.Position,reDirect.Value.Position) local EndCF = StartCF - StartCF.p + reDirect.Value.Position --keep direction for destination, but use new destination position end end getRedirect() for i = 0,1,0.001 do --adding more 0s infront of the 1 will make the ship travel slower wait(0.001) model:SetPrimaryPartCFrame(StartCF:lerp(EndCF,i)) if dest == workspace.Solar_System.ToChoosePlanet1.Position then --Put in an else if instead of end if its another planet reDirect.Value = workspace.Solar_System.ShipReDirect4 dest = reDirect.Value.Position StartCF = CFrame.new(model.PrimaryPart.Position,reDirect.Value.Position) EndCF = StartCF - StartCF.p + reDirect.Value.Position --keep direction for destination, but use new destination position end if i == 1 then dest = workspace.Solar_System.ToChoosePlanet1.Position --tweak this when in real in-game script StartCF = CFrame.new(model.PrimaryPart.Position,dest) EndCF = StartCF - StartCF.p + dest --keep direction for destination, but use new destination position for i = 0,1,0.001 do wait(0.001) model:SetPrimaryPartCFrame(StartCF:lerp(EndCF,i)) end break end end
That's the code! If you need help or need more information please do not hesitate to ask for it, I will definitely include some more! Thank you so much!
I need help with my question, which isn't getting any answers..
This was my question: (Please try to answer it if you know it and I really need a solution soon)
How Can I Keep A Model Rotated to Point At Another Part Until The For Loop Is Done
Is it possible to add a time to SetPrimaryPartCFrame?
I want to move a model from it's original position to the goal I set, but take time to get there. Let's say I want it to take 5 seconds (any time is fine) to get there. I would use tweening, but I'm moving a model if you noticed that I used a function from a Model. I would use tweening, but it doesn't work with models and I just want to stick with using SetPrimaryPartCFrame function. If you don't know what that is, SetPrimaryPartCFrame is a simple function that uses CFrame to move a model. (I know I could also use the :MoveTo function, but that's for moving the primary part and only the primary part) So my question is how could I possibly add a time that it takes for a model to get from the starting position to the end?
My WIP Space game, "Evolution Alpha"
Before You Play It, Notice:
The game is in HEAVY Alpha and is currently being upgraded. Notice as you play, bugs are common and are being fixed. Also, the game is not supper-duper fun, (yet) but there's at least something cool to do in it. The game also might be a little confusing so if you don't know how to play, please don't leave a negative response. If you have something bad to say about it, please refrain from saying it. I work hard on this game.
Evolution is a game where you are alone in your own little solar system and you need to build it up and bring it back to life! You are in charge of taking care of virtual human-like creatures on a planet. You can choose if a planet can be habitable or not, and build a solar system! (Before playing, please read the Notice on the top of the article, thank you and have fun!)
Evolution Alpha 🌎
Need a free WASD camera mover
Hi! I'm looking for a free camera mover. What I mean by a "free camera mover" is a camera not attached to the player and can be moved Forwards, Left, Right, and Back using the WASD keys. I've been trying to make one but can't figure out how to.
If you're still kinda confused, for example the camera in Build Mode in the game Welcome To Bloxburg and a little like the camera in studio.
I don't have much robux to pay someone if needed, but i think it's simple enough to be made for free. You can be credited in the games description if so needed, feel free to ask for credit if you got the job I want you to do done.
The game's called "Evolution". It's a space simulator/tycoon (not really a tycoon though) where you can make your own planets and solar system. It's in alpha so when playing it, please remember that. I'm a new developer, so my scripting skills aren't the best yet but I work hard on the game so please if you like it, like and and favorite it if you really like it! Link: Evolution Alpha 🌎