Quantcast
Channel: Questions in topic: "die"
Browsing index pages (115 articles)

Play animation only if its standing on the ground

I am creating a melee game, 1vs1 mode. When the player has <= 0 health, he gets disabled and a death animation gets played. But the problem is: If my player jumps, then gets a deadly hit, he dies...

View Article


Character don't die

![alt text][1] [1]: /storage/temp/191312-capturar.png

View Article


I am making a 3d puzzle game and I need help

I have a die script and a teleport and a leaderboard script I have not tested yet so I need to make sure they will work and my kill and teleport scripts are very simalar so here is my kill script...

View Article

how to take health/hearth from player when colliding with an object?

I'm working on a 2d sidescrolling shooter, but I can't figure out how to take damage from the player when hitting something (a projectile or an enemy). I have a 4 heart health system and if the player...

View Article

When I start my fps game , get killed immediately without an enemy being around.

Hello! When I start my fps game ,I get killed immediately without an enemy being around. The enemy is in a direction and I am in another one . I have made 2 levels for the game , I copied level 1 to be...

View Article


How do I get my character to collide with an object, he dies, and respawnee...

I'm making a 2d game but I can't get my character to die, help

View Article

Scene not restarting after player death

In my game I would like to restart the scene once my player loses his health, so far he dies and the particle effects show but the scene doesn't restart. Could someone show me what I am doing wrong,...

View Article

When more than 1 enemy they cant die

So I'm trying to make an enemy but when there are 2 enemies when the first one dies the second one just go in minus in health and I just can't seem to fix it can anyone help me? using...

View Article


Why will my enemy not die?

In my simple game, I have two enemies. One has a health value of 1, and the other a health value of 2. When a collision is detected a take damage function is called which takes 1 away from the health...

View Article


How to make death messages show at random?

I have a deathScript and need to know how to create different messages show at random once dead. Right now they go to console which is fine for now. What I need is a bit of script that will cause...

View Article

Returning to main menu

After i die in my game, I return to main menu BUT the cursor doesn't appear. I have added a hide cursor script that hides the cursor during game play but it seems to be applied to the menu as well Hide...

View Article

My GameObject refrence in my script keeps resetting if i die

If i die in my game i reload the scene to retry but my refrence in my script keeps resetting if i compete the level and i dont die then it works how do i fix this?

View Article

Asset spit fire but is no longer working, but when i check the backups it...

I have an enemy that spits fire but it's not killing the player. ive checked my backups and it is working perfectly on them. I have compared the backups to the current version and everything is in the...

View Article


How to make the player die when health = 0?

How to make the player die when health = 0?

View Article

multiplayer die and respawn

i am trying to make a multiplayer team deathmatch game but i have a problem. when player other then host died the the player still can use the playercontrol and player shoot that i disable . but it...

View Article


Restricted area for objects

Hi there peeps :) Kind of stuck on a script / activity ... the 2D game I am working on has good and bad Footballs flying about where if good one hits you ... you get a point but if the bad one hits you...

View Article

code so if 1 enemy isnt killed every 4 seconds player dies?

how do I code it so if 1 enemy isn't killed at least every 4 seconds the player dies? not sure if this is right code to put here but this script is on all the enemies enemies are instantiated every...

View Article


code so if 1 enemy isnt killed every 4 seconds player dies?

how do I code it so if 1 enemy isn't killed at least every 4 seconds the player dies? not sure if this is right code to put here but this script is on all the enemies enemies are instantiated every...

View Article

Position Calculation after player dies

I got Stuck Help me . In game player Car has weapons . When it destroys opponent vehicle is no more position calculation using WayPionts occur . I get error of reference execption . (...

View Article

How do I disable enemy ai the script after enemy ai dies

I need to disable the script when the enemy ai die.Because what is going on is the enemy ai is follow the player after and before it dies . Here is the enemy ai attack, idle , and move script : using...

View Article
Browsing index pages (115 articles)


Latest Images