Quantcast
Channel: Latest Questions by Zargo
Browsing all 50 articles
Browse latest View live
↧

Script to GUI text

So I have a basic money script. So far, I have it so every ten seconds you get 1$ but there is no way I can see my money in game without out "Print" so how can I put the amount of money I have inside...

View Article


Wood Gathering problem

So i have a script where the player can chop down trees, But i want it so when the player chops down a tree, He gets wood. Heres the scripts. TREE CHOP-- var chopDistence = 10; var chopTime = 5; var...

View Article


Placing Buildings

has anyone here ever played Empire Earth? If so How would i go about making a script where i could place buildings on the ground with the mouse (Like Empire Earth)? If you haven't ever seen/Played it,...

View Article

Random Drops

OK, So i how would i go about making a random number drop for a palm tree? I want it so when i chop down the palm tree (a script i already have), it drops maybe 0-2 coconuts. But right now the script...

View Article

Changing 3D text through script

So basically, I want a script that shows the number of "players_knights" in a 3D text, but I've searched everywhere and have tried everything but haven't been able to get anything to work. so can...

View Article


Script not working

So I have made a script for a game that doesn't work and I have no idea why. can anyone spot anything that could be wrong with it? I'm trying to make it when I get a hoop with a basketball, it plays an...

View Article

3D Text Problem

So I've had this problem for awhile, but never have been able to figure it out. here is an example script of something that wont work on 3D text. ------------ var Money = 0; function Update(){...

View Article

Multiplayer Question before I get started

So, I have made a basic multiplayer. Nothing to it. Just 2 capsules walking around From different computers. But, I want to take this to the next level! Individuality: I want each Person to be...

View Article


How do other games fight the lag?

So I have been modeling lately (I am a Programmer, I am just practicing modelling) But I have run into a problem. I made a 2 story apartment building, not much detail. 2 windows, and no interior...

View Article


Displaying Z Rotation through script

So I have created a dandy Airplane script, while your flying it displays your Speed, Turning Speed, Rotating Speed, ect. But I also want to display the Z Rotation of the airplane to help players know...

View Article

Counting number of blocks in an area

Title sums it up. I have been working on random generation lately. I have made it so when water is generated, there is a chance that a "water checker" is spawned. What I want the water checker to do is...

View Article

Spreading Fire (Bullets)

So i currently have created a tank, but its Shell shots are bang on perfect everytime. What i want is to have them be a little off somtimes, not always perfect. How could i do somthing like this...

View Article

Setting an int through function update

Here is an example script: MinimumWage = MinimumWage - Poverty/10; So, what I want is function update constantly checking that "MinimumWage" equals Poverty/10. But, it constantly minus's the number...

View Article


Determining Loading time/Loading screen

Now, I just want to understand loading screens a bit more. How do you determine the wait time(Progress bars)/when to stop showing the loading screen? For example, I have a game, that a loading screen...

View Article

How to detect if player made building is air-tight(2D)

So, I am making a 2D block based game. I need to be able to tell if a custom, player made building is completely air-tight (So pretty much detecting if it is a completed house, with no holes outside)....

View Article


Running faster while flashlight is off

So I have created a flashlight where it can be turned on and off (pressing q) But I want my player to be able to run faster while the flashlight is turned off. any ideas?

View Article

Things Running away

So i know how to make things attack me and come after me, easy. But how would i go about making something like an animal that runs away a if you go close to it (and only run a few meters not forever)...

View Article


Cooler Mouse

Is there any way that i could change the old boring white little pointy cursor into something cooler in my game?

View Article

GUI Box Corner help

So I'm making GUI text but i want it to go up in the top left part of the screen. But the problem with GUI text or textures is for different sized screens or anything, it will be in different spots....

View Article

Earning Money

So i have created a script where every 10 seconds you should earn 1$. But there is a problem with the script and i don't know what it is. any solutions? Money Earning...

View Article
Browsing all 50 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>