How do I script with R15? - roblox

I am trying to make the game with R15, but I don't know how to script with it. For example: if I wanted to pick up a item, it will pick it up when I press a key or something like that.

The only difference R15 would make in scripting is if you used CFrame Animations for your characters. If this is what's bothering you, then I HIGHLY recommend that you switch to ROBLOX's animation editor system. It is much more efficient, and easier to script. If it is something else, then perhaps you've made a mistake in your code.

Related

When is it better to use Resources.Load in Unity?

Hello everyone I recently learned how to use Resources.Load, but I have a question, when should I use it?
For example, I have a button that has 2 different sprites. What is the best way to do, load these two sprites in advance in the editor and turn one on and off the other? Or at the Start, load it Resources.Load<Sprite> and replace the sprite in the Source Image?
Please explain when and how best to use Resources.Load. Examples will be useful
Resources.Load is useful for loading prefabs common to many scenes. And for editor scripts.
Nevertheless, the devs will be deprecating Resources.Load at one point, but backed off from it, because there are good reasons to keep it around until/if they replace it with something better.
If you have some Resource not use it at all time. you can use Resources.Load
when you use before. it's about your memory.

Unity playground patrol path of my fish not working

I'm back so uh I don't know if this is gonna be clear to read.
Anyway my fish go pretty dang fast on a patrol path but then they just start vibrating in the wall or outside the wall whatever my lightspeed fish feel like, anyway speed isn't the issue cause it first was 123 speed then it was 100 that worked (temporarily) then i tried 55 speed that seemed to work a lot like i thought hay this is working, then unity went nah fish wont work no more.
It might be the patrol path but i doubt that so if possible can someone explain how to fix this please. This is stupidly confusing.
Its not the length of the patrol i know that for sure (the length they go is pretty much them going to another planet.
I hope this is easy to read i'm sorry if it isn't, I hate doing grammar.
Edit: the fish with the curly looking red whisker things are not vibrating in place only the ones with the straight whiskers and no whiskers.

How to create structure destruction like Fortnite in Unity?

I'm trying to make a fan remake of Fortnite. I already made a construction system and editing, but I don’t know how destruction can be done. https://www.youtube.com/watch?v=hwuvoOXL2vw
This how it looks in Fortnite - https://youtu.be/EGXYWceVUPU
Do you have any ideas how to do this? I tried through checking neighboring cells, but this is not optimized or I did something wrong.
I will be glad to any advice!
Using raycasts, you can send out a raycast whenever the player wants to hit something, then if the object has the script that means it can take damage (maybe just use a tag for this), then it will take damage from the object. You could use Brackeys' FPS Shooting tutorial, and adapt that to suit your needs.

How can I make my code control the keyboard to play another game?

There's a puzzle game called Zen Puzzle Garden, and I just wrote a program that solves the puzzles in the game. Right now, it does a brute force search for a solution, then spits out the necessary moves to solve the puzzle: up, down, left, and right.
But what I want is to run the game on my computer, and feed those moves from my program into the game, so I watch the game being solved automatically.
What is the easiest way to do this?
I should mention probably that my code is written in C.
System.Windows.Forms.SendKeys.SendWait("String you want");
Or
System.Windows.Forms.SendKeys.SendWait(Keys.Up.ToString());
Note that if you enter a string it will send the whole string. So you should probably make a switch/case to see what Key you want to compute.

Correct terminology for animated characters for iPhone game

I have a guy on freelancer.com that is doing my art for me for my iphone game. Well, I need a 3d character similar to temple run (but does a bunch of other stuff) for my game. I know this guy is really good at 2d and 3d animation, but whenever i try to explain what i need, he says things like, "thats cool, could you please show me the game, that way it would be easier for me to make your video." Im just a little nervous that he doesnt understand what i need. I need a character with several short animation loops, not a 'video'. The guy is also from india, so I think is english is kind of bad and he may not fully understand me. What can i say in terminology to get him to understand what i need. Im pretty sure what im looking for is a 'sprite'? but what is this, can someone just please give me some terms to explain my project.
The terminology you could be looking for might be "sprite", like in the game "Donkey Kong" where pre-rendered 3D animations are converted to 2D animations.
Sprite is probably a safe bet. Even if it isn't the iOS standard, people will understand you because it's a widely-used convention.