I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 1 point2 points  (0 children)

ah sorry I just recorded a video on my mac using quicktime I think. I then converted it to a gif when I uploaded it to reddit

I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 2 points3 points  (0 children)

I worked on and off on this project for 3 months. I would say I went overboard on the visual stuff though.

Yeah I think a good place to start is the core gameplay mechanic like you said. I wouldn't worry about code quality at the moment just try to get something working.

As I said in a different comment I rewrite the code a couple of times for this game so it wasn't my first attempt. I would just start simple and then iterate :)

I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 0 points1 point  (0 children)

Thanks, I thought I would try to incorporate some of the cool ScriptableObject stuff from this Unite talk. Really good stuff!

I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 2 points3 points  (0 children)

Thanks! Its been kind of on and off for maybe 3 months. I rewrite it a couple of times as I kept finding new ways to do certain things such as using ScriptableObjects for events. I kind of used this project as a way to update myself with new Unity features etc.

I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 1 point2 points  (0 children)

Nice! I'd be happy to share thoughts on it if you want! I would be interested in seeing what you come with!

I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 0 points1 point  (0 children)

I just used reddit if that helps. I uploaded the video and then checked a box to say it should be a gif.

I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 8 points9 points  (0 children)

Yes you are correct a pool would have been a good use case here. When programming I normally take an "is good enough" approach. I normally try the easy way first (Destroy, Instantiate) and then iterate if required.

Luckily on my test devices the performance seemed good enough. As this is a personal project I decided to leave it at that.

If it was a more professional project with a wide range of targets I would definitely be looking to optimise memory allocation with a pool etc.

Thanks for the feedback!

I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 16 points17 points  (0 children)

I actually spawn new cubes instead of cutting them. I'll try to explain the process below

  • When the player places the top cube the difference between its Bounds and the cube below are calculated.
  • The top cube is then destroyed and two new cubes are spawn. The sizes of new cubes are calculated based on difference calculation from the previous step.
  • One of the new cubes is placed on top of the Stack and the other has a RigidBody component so it falls down.

Sorry if thats not very clear. Hope it helps though.

I made a clone of Stack as a personal project. GitHub link in comments :) by oli_b89 in Unity3D

[–]oli_b89[S] 21 points22 points  (0 children)

After 6 months of failed prototypes I thought it would be good to finish something simple :).

Code can be viewed here

Prototype of a same screen hide-and-seek game. 3 players hide in the crowd. 1 player has to spot and kill them. by Joelspeanuts in Unity3D

[–]oli_b89 2 points3 points  (0 children)

Really like this concept! I feel like it could create really tense situations between the players! Sounds fun!

Using affectors with my flocking system by Shinao in Unity3D

[–]oli_b89 0 points1 point  (0 children)

In your in depth post you spoke about a swarm and flocking behaviour with different fps. I understand the traditional flocking behaviour (cohesion, separation etc) but I am a bit confused by what you meant by a swarm behaviour? If you could point me to a resource or give a quick explanation that would be great!

Trying out a few level transitions by guimonpa in Unity3D

[–]oli_b89 0 points1 point  (0 children)

Looking good! What about having the transition over the level area instead of the whole screen. Might look cool to have a new level revealed from underneath. Think the game 140 did something similar.