Skip to content

Instantly share code, notes, and snippets.

🎮
Gaming

Shreyas Iyer l0ftyWhizZ

🎮
Gaming
Block or report user

Report or block l0ftyWhizZ

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@l0ftyWhizZ
l0ftyWhizZ / GSoC 2018 Report.md
Last active Aug 11, 2018
Final report for GSoC 2018 under MovingBlocks organization.
View GSoC 2018 Report.md

GSoC 2018 Final Report - GooKeeper implementation

Organization: MovingBlocks
Project: GooKeeper Implementation

Terasology is an open-source voxel sandbox game with a really solid modular structure along with a well-maintained ECS architecture. There's plethora of modules to choose from and a lot of content to be cherished. My project was to develop a content/gameplay module for Terasology - "GooKeeper"

GooKeeper is a new gameplay module, designed by SuperSnark, which is closely related to the game "Slime Rancher". Here, the player is left in the GooWorld, and he has to earn a living by catching different gooeys, and building a GooZoo! He can also make the gooeys mate with one another to produce new and interesting gooeys and nurture all of them. Attract more customers, earn more profit and then spend it on upgrading the equipment/zoo.

Important links

@l0ftyWhizZ
l0ftyWhizZ / image_fade_out.cs
Created Sep 2, 2017
This Unity C# gist can be used to fade out any image, hance can be used as hitmarker, blood decals, etc to name a few.
View image_fade_out.cs
private void Fade (Image imageToFade, float fade_to_amount, float time) {
// Initialize a temporary local variable, here temp, to equate the alpha transparency of the image to be faded with this.
Color tempColor = Color.white;
tempColor.a = 1f;
imageToFade.color = tempColor;
// CrossFadeAlpha is a builtin function for CanvasRenderer component of the Image,
// and tweens the alpha from the current value to the given value in 'time' seconds, and it doesn't depend on the timeScale.
imageToFade.CrossFadeAlpha (fade_to_amount, time, true);
}
View obj-c-class.m
#import <Foundation/Foundation.h>
//Creating a class in Objective-C
@interface Fraction: NSObject {
int numerator; // These are instance variables.
int denominator;
}
-(void) Print; //Print the result.
You can’t perform that action at this time.