Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Tutorials
#1

Top-down Racer Tutorial

Archive: 20 posts


Hello all!

This is a nice little video from my channel showing how I would do a top down racer enjoy


http://www.youtube.com/watch?v=p8ZA50pe2Nw

Some of the features I have done are quite advanced but could still be simplified for easier creation :blush:
So I hope that helped and I am open for comments and other Tutorial suggestions!


If you need a little more in depth look then click here --------> here (https://lbpcentral.lbp-hub.com/index.php?t=47058-How-to-Make-a-Race&p=758725#post758725)
2011-02-01 23:42:00

Author:
AssassinatorRFC
Posts: 715


but.........but..........it's not there D:2011-02-02 01:05:00

Author:
wolverine_2008
Posts: 304


Would your logic for the laps still work if one player was a full lap ahead of another player?2011-02-02 01:25:00

Author:
Unknown User


With just one checkpoint to pass, it is fairly easy to cheat laps by moving back and forth over the finishing line. This is intended to be a basic tutorial, and in that it aces! But if you want to make it more sturdy, then multiple checkpoints along the track is one solution. There was a nice topic in the Help forum (https://lbpcentral.lbp-hub.com/index.php?t=47058-How-to-Make-a-Race) going on about this.2011-02-02 11:19:00

Author:
Antikris
Posts: 1340


@ wolverine_2008- What do you mean O.o whats not thar?

@IGIVEUP75- Yes even though this is a basic tutorial it can handle betwen 1-4 players with ease the counters are reset by the first tag before the finish/start line so the score givers will be reset allowing it to count each individual player that passes the gate.

@Antikris- O.O You again!! Hai thanks for your comment and I must emphasise that this course was pretty poor and hopefully the people that want to make their own from this tutorial will not make it as bad as me :blush: But yeah that help forum looks good so i may include the link in this thread

Thanks for your comments!
2011-02-02 12:01:00

Author:
AssassinatorRFC
Posts: 715


This may sound silly but I mostly had trouble with making the track lol. Every racing level except one extremly detailed one in Mm picks would only show you and the car, never letting you see the whole map of the track. This video gave me a general idea now. Make it simple and add landscape after the track has it's shape. I get it now. Also, the car tutorial was helpful.

If you know how to make booster or zippy pads that make you go fast, it would be awesome if you either made a video about it or whatever you like.
2011-02-02 12:33:00

Author:
siberian_ninja15
Posts: 444


@siberian_ninja15- Ok I'll go have a look if i can! and I'll make a powerup if I can

Keep a lookout for part 2 then :blush:
2011-02-02 12:50:00

Author:
AssassinatorRFC
Posts: 715


What were the gravity settings? I don't think I saw it.. 2011-02-02 13:25:00

Author:
wilkesy88
Posts: 73


I'll be curious about NPC A.I. in a racing level. Of course, your fellow players are your main competition in a Versus level, but adding hostile NPC's for good measure is always fun. What would be basis, you think? A recorded behavior of following an entire track, swirl back and forth a bit here and there and abruptly switch to other patterns when a player is near?

By the way, tip: control a sackboth, have it mount an inactive DCS, then dismount your own DCS and capture the bot in his DCS for future use. You can then stick that DCS'ed bot on top of your car and modify as you see fit. If it has a receiving DCS, you can set it to adopt the costume of the player who controls the car by giving it the same frequency color. Also, stick a behavior to its circuit and have it record: the bot will actually control the car now and you have your basis for unique car A.I.
2011-02-02 13:38:00

Author:
Antikris
Posts: 1340


@wilkesy88- For this car I had the gravity on:

Anti grav:100
Dampening:30
zero boyency: 0

@Antikris- yeah I recall someone doing something like that in the beta! I cant remember the level or creator at this time but i am sure there will be a video on Youtube
2011-02-02 14:02:00

Author:
AssassinatorRFC
Posts: 715


I'll be curious about NPC A.I. .... What would be basis, you think? A recorded behavior of following an entire track, swirl back and forth a bit here and there and abruptly switch to other patterns when a player is near?

I definitely wouldn't use a recorded behavior for a racer A.I. It would be thrown off by the littlest thing and then you'd have an enemy racer stuck in a corner somewhere trying furiously to drive through the wall. What I would do is set up a "racing line" of tags that tell the A.I. driver when to turn, and how hard to turn etc, and if he drifts off the racing line, he should detect it and attempt to compensate. Of course, I haven't actually tried doing this yet, so I have no idea how difficult it will be, but that's how I plan to try it when I get around to making A.I.
2011-02-02 14:17:00

Author:
Sehven
Posts: 2188


Yeah what sehven said! that sounds like a good idea on how to do it I may try it myself if i get enough time in my busy schedule:

00:00-23:59- play some lbp2

2011-02-02 15:09:00

Author:
AssassinatorRFC
Posts: 715


Awesome vid man , But it still looks more baffling to me I just cannot get my head around the logic lol2011-02-02 15:47:00

Author:
ghostrider135
Posts: 259


@Ghostride135- Well I have tried to simplify it slightly from what i would do but all you need to know is that:

-the counters count the players that cross the line
-the car logic is easy to do if you set it up like in the video
-mudkips liek you

if you are still a little confused give this thread (https://lbpcentral.lbp-hub.com/index.php?t=47058-How-to-Make-a-Race) a read !
2011-02-02 15:54:00

Author:
AssassinatorRFC
Posts: 715


Hello all!

This is a nice little video from my channel showing how I would do a top down racer enjoy


http://www.youtube.com/watch?v=p8ZA50pe2Nw

Some of the features I have done are quite advanced but could still be simplified for easier creation :blush:
So I hope that helped and I am open for comments and other Tutorial suggestions!


If you need a little more in depth look then click here --------> here (https://lbpcentral.lbp-hub.com/index.php?t=47058-How-to-Make-a-Race&p=758725#post758725)

good tutorial fellow sac
2011-02-03 04:07:00

Author:
mr_b_ram
Posts: 40


Great tutorial, and I was wondering if this would work to build in a boost pad??, it's only a guess right now but seems 'logical' enough assuming that the value of the more powerful battery is used over the medium powered one when activated by a tag on the track somewhere, look at my diagram below: (again it's only a very wild guess, I am not at home to test)2011-02-03 15:21:00

Author:
CloaknBlagger
Posts: 78


What I would do is set up a "racing line" of tags that tell the A.I. driver when to turn, and how hard to turn etc, and if he drifts off the racing line, he should detect it and attempt to compensate. Of course, I haven't actually tried doing this yet, so I have no idea how difficult it will be, but that's how I plan to try it when I get around to making A.I.

i'm working with this Tag method right now. it works, but the NPC's can still be thrown off line, resulting in the vehicle's getting stuck in corners.
also, lining-up the Tags is tricky . they can make the NPC zig-zag like a drunk driver, with no obvious cause
2011-02-12 04:35:00

Author:
sellfcon
Posts: 79


D: i cant make a normal looking car to go with logic lol, make a tutorial on that 2011-02-12 06:14:00

Author:
Distinct-Creator
Posts: 198


@cloakndagger- yes that could work well by the looks of it. I worked out this method: tag + 1/1 counter (A) (reset by B) > and > 1/1 counter (reset by B) + X button = reset (B) + timer 5secs > invert 1/1 counter (reset by A)

@sellfcon- that is what I found too. You may need to make them holographic so that they cant be nudged by players. Also you might want to make the tag sensor radius 50degrees-ish and just enough to see the tag in front.

@Distinct-creator- I personally think my subs cannot put up with anymore racing tutorials so I will give you some tips here:
- You can make a second thin layer which is so helpful for making compact cars. You can also pick this up in some community levels. I find that a 1-FAT car looks very bad unless it has a roof.

-You could make a base like i did here and use decorations to make a unique smooth shape which looks somewhat "alien" to LBP which will make the players be like

-do some research and search for some cool top down car shapes and just get inspired!

Hope that helps you all!!
2011-02-12 12:12:00

Author:
AssassinatorRFC
Posts: 715


Hey, thanks for the tutorial! Thanks to this, I can make my chocobo race =D2011-03-01 04:46:00

Author:
AdenRalumdan
Posts: 296


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.