LittleBigPlanet Promotion Portal

Reply

Level 1

Level 1
M4GN4N1M0U51
Posts: 16
Registered: ‎26-01-2011
Message 1 of 15 (325 Views)

Classic game help?

I'm making a certain classic game in LBP 2 (Not giving away too many details, but lets just say it involves 2 sliding paddles) and I could use a little help with a few things

 

First is there a way to prevent an projected object from slowing down when it hits something?

 

On a ball, I've put  'anti grav=100%' 'dampening=0%' and a material changer  to make it frictionless and bouncy, but every time it hits a surface, it still slows slows down.

 

I want it to ricochet freely

 

Any ideas? 

(BTW surfaces are bouncy & frictionless too)

 

 

Secondly, is there any way to give a specific player points when an action happens? (i.e. a ball going into a goal)

 

The players are not going to be, technically, coming into contact with the ball and, as such, the only way I can find to distribute points is via impact switches w/tags.

 

However,because of this the only actions I seem to be able to find are give 'just you' points (I assume player 1) or give 'friends' points (I assume everyone gets points)

 

How can I give player 2 points directly?

 

And third can anyone tell me how to make a counter with numbers (i.e every time you hit it the number increases)

 

Or at least point me in the direction of someone that can tell me

 

Thanks

 

(Sorry for the long-ish post but I need a lot of help)

Please use plain text.

Level 1

Level 1
Darkwaxer
Posts: 140
Registered: ‎16-02-2008
Message 2 of 15 (321 Views)

Re: Classic game help?

________________________________________

 

 

 

l

l

                                _

                               l_l

 

 

                                                                                             l

________________________________________l

Please use plain text.

Level 1

Level 1
M4GN4N1M0U51
Posts: 16
Registered: ‎26-01-2011
Message 3 of 15 (318 Views)

Re: Classic game help?

*Gasp* who told you?

 

That information is classified

Nvm

Yeah its PONG

 

Still need help though

Please use plain text.

Level 1

Level 1
Darkwaxer
Posts: 140
Registered: ‎16-02-2008
Message 4 of 15 (308 Views)

Re: Classic game help?

I'm a code cracker :smileytongue:

I haven't opened my LBP 2 as I am waiting on one final heart for Platium...ONE HEART!!!!!!!! But when I do and if I discover something I'll let you know. Do a search for my barcode reader level, nothing to do with your problem but it's a good way for people to see your level in action if they get stuck on playing it.
Please use plain text.

Re: Classic game help?

I've seen a couple of threads that may help you. Here's one about a constant speed projectile, and here's one about allocating scores (which sounds rather broken, unfortunately).

 

Another option for the projectile is to put a mover on it with a rocket-rotator (so the mover pushes it in the direction it's heading). I did some tests a while ago and it got a pretty good bounce effect, because it would bounce off a wall, rotate to point in this new direction, then accelerate to the desired speed. But it looks kind of odd.

 

--
TekF

^click these, go on, you know you want to.
Please use plain text.

Level 1

Level 1
M4GN4N1M0U51
Posts: 16
Registered: ‎26-01-2011
Message 6 of 15 (272 Views)

Re: Classic game help?

Hmmm... tried the constant speed link and ended up with the projectile either going vertically in the air or bouncing back on itself... I think I messed it up

 

I was wondering if this would work...

4 different tags each on a different wall/paddle

and on the ball 4 impact sensors w/tags - connected to four 0.5 second count up timers that reset themselves and also activate a follower set to flee instead of follow

 

So then it hits the wall, which starts the timer. When the timer is full it activates the fleer which give it a kick. Would that work?

 

Might look something like this

 

{I}--[T]--(F)

{I}--[T]--(F)

{I}--[T]--(F)

{I}--[T]--(F)

 

I is impact sensor

T is timer

F is follower or flee-er

Please use plain text.

Re: Classic game help?

Interesting idea but I don't think the bounce direction will be right. Flee would make it move straight away from the tag, not in the reflected direction of it's velocity. Or maybe that would actually look ok, I'm not sure.

 

--
TekF

^click these, go on, you know you want to.
Please use plain text.

Level 1

Level 1
M4GN4N1M0U51
Posts: 16
Registered: ‎26-01-2011
Message 8 of 15 (259 Views)

Re: Classic game help?

Damn...

 

TekF, your right... Just went basically straight up (or left or right) for about a foot, then just stopped dead,

 

Maybe I'll just scrap the followers and impact sensors and just use a metal square/circle hooked up to a kill timer, so that if doesn't hit anything for about 10 seconds, it respawns... This would be much easier to make (Battery hooked up to a timer (10s), Impact hooked up to reset, Output to Destroyer) but would probably make the game much less fun

 

Worst case scenario, I'll use that, but I would really appreciate an alternative...

 

In the mean time I'll try to tweak the 'constant speed projectile' thing to see if I can get it to work

Please use plain text.

Level 1

Level 1
M4GN4N1M0U51
Posts: 16
Registered: ‎26-01-2011
Message 9 of 15 (247 Views)

Re: Classic game help?

Turns out I'm an idiot

 

Fixed the ball problem now, turns out I was bumping 'Decelleration' up to 100, so the ball kept stopping.

Still haven't got the scoring problem fixed but I'll deal with it later.

 

The Beta is out now (search PONG BETA)

Please use plain text.

Re: Classic game help?

I too am making pong in LBP (although it's only a small part of the rest of the level)

 

The problem I am having is the when the ball hits the paddles, it moves them backwards as the ball and both paddles are floating in free gravity.

 

I wondered how you were moving your paddles and if you have this problem.

Please use plain text.
This widget could not be displayed.
Announcements


Welcome to the LittleBigPlanet Create & Share Forum!

For the latest news and updates on what is happening in the PlayStation community, head over to our Announcements & Events forum. To post a message, you will need to Sign In to the Forums using your PLAYSTATION®Network Sign In ID and password. If you do not yet have a PSN account, just click here to register.

Recent News