playMaker

Author Topic: breakout clone mobile sprite game[SOLVED]  (Read 1583 times)

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
breakout clone mobile sprite game[SOLVED]
« on: May 09, 2021, 04:39:59 PM »
In my breakout clone game, I was using destroy but have changed to using disable the game object instead.

So anywhere I can manage myself I have chosen to use disable rather than using the destroy option.

I am using this style on the bricks within the game as they will be all onscreen at the start of the level.

Currently, I use only one prefab for shooting, but at some point, I will have to include the ball.

Given that the nature of the project is so simple should I be using a pooling system?

I've been away from playmaker for quite a while so it's like starting over.

I appreciate your advice and help


« Last Edit: July 21, 2021, 04:07:05 PM by colpolstudios »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: breakout clone mobile sprite game
« Reply #1 on: May 13, 2021, 08:52:43 AM »
Hi.
If you would have a skill that shoots multiple 'bullets' and/or
If you would have a skill to split your balls into 3 balls and/or
If you have some particle effects on hitting bricks for example
Then its best to do these with pools.

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
Re: breakout clone mobile sprite game
« Reply #2 on: May 17, 2021, 09:13:59 AM »
The only object that I create and destroy is a bullet/laser.

This is a special ability and only available for a limited time with an option of picking up extra time.

I have a split balls skill, but I don't create the extra balls. I activate them!

I have a very basic particle effect it is not active, when a brick is hit I reposition it to the location of the brick and activate it.

The particle effect is set to disable when finished.

Tested and all working without pooling.

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
Re: breakout clone mobile sprite game
« Reply #3 on: May 17, 2021, 09:20:08 AM »
How viable is playing a video file on mobile?

What I'm thinking of is to screen record myself playing and show this video in the background with my UI "play" button.

If you press the button the video stops and the game begins.

Is this possible?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Re: breakout clone mobile sprite game
« Reply #4 on: May 17, 2021, 04:14:03 PM »
Hi.
If you are not Creating/Destroying that its good.

Pooling is like an 'Advanced Disabler/Enabler

I never used Video yet in a project, but theoretically it should be possible

colpolstudios

  • Sr. Member
  • ****
  • Posts: 370
Re: breakout clone mobile sprite game
« Reply #5 on: May 17, 2021, 04:37:13 PM »
On reflection now that I am working on the UI elements a video is overkill.

Your help and reply have been very helpful in this and other posts.

Thankyou :)