Quantcast
Browsing all 49 articles
Browse latest View live

Power up not working

So I currently have a working 'Speed' power up that multiplies the speed of the player by 2. I'm trying to make a power up now that increases the score you get for picking up the GameObject 'Gem' by 2....

View Article


PowerUp timer not working when altering timeScale

I am so close to figuring this out! I am trying to make 2 powerups. One will slow down all objects on the screen and the other will speed up all objects. I am able to accomplish the slow down and speed...

View Article


PowerUp Timer

I have successfully created a slow motion power up and i thought this script would allow me to set the time scale at any speed I wanted, but if I set the timescale at 1.5 the timescale never returns...

View Article

Unity2D: Frost Effect Animation

Hi, I want to know is there a way of using Mathf.SmoothStep to control the float of a variable? You see I downloaded this [package][1] on unity assets store and created a IEnumerator OnTriggerEnter2D...

View Article

How do i make my player sprite change, when entering a powerup?

I am making a start 2d platformer, actually my first game i got the walking, jumping and collisions working But now when i've got to make powerups i wondered how i make a player sprite change to...

View Article


Magnet Power Up,moving the coins towards the player

I am making a 2D endless runner platformer sorta game where the player could collect Power Ups one of which is the Magnet,after collecting it the player has 5-15 seconds where all the coins that are...

View Article

Code structure for power ups

I'm struggling to create code for a game I'm working on that includes power ups. When the player picks up a power up, I need to start a new power up progress bar, and activate the power up. After the...

View Article

2D Player can not detect collectible / power up Game Object [Version 2019.5f.01]

I am trying to get a player to pick up an object in a 2D environment. The player can move onto the object, but the object is not registered as being picked up. The game runs without errors. The pickup...

View Article


I want to code a Power Up!

Hello, I coded a booster for my platform game the other day. Here is my code, but there is a problem; [code] public class PowerUpJump : MonoBehaviour { public int jumpPlus; public int duration; public...

View Article

Browsing all 49 articles
Browse latest View live