Log In  


Cart #mot_taxi-7 | 2024-01-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
193

UPDATE: Fixed suspension to lean towards the outside of turns, not the inside.

Welcome to the Whiplash Taxi Company, where our motto is "The slower you're there, the lower the fare!"

As a valued employee and taxi driver, your job is to pick up passengers and deliver them to their destination as fast as possible, by any means necessary.

Passengers are easy to spot, just look for the big red arrows over their heads.

Simply stop next to them so they can jump in!
Then follow the red destination indicator to the destination and stop when it says "stop!".

Repeat this as many times as possible in 5 minutes, and see how much $$$ you can bring in.

But beware, sometimes the direct route isn't the quickest.
To make it easier we have provide this giant map of Motsville. You may want to spend some time in "Free Explore" to get the layout. Or try some of the fully legitimate and not just driving-around-random-streets-way-too-fast street circuits, and maybe set a few lap records.

Remember, at Whiplash Taxis when we say "Break neck speeds", we mean it!
(Hopefully not literally. Hopefully.)

193


8

This is wonderful. Cant wait for the next step which logically has to be Grand Theft Auto :)


4

Amazing! It's like Crazy Taxi but from the SNES era. The driving controls and drifting feel fantastic.


1

😲 Phenomenal!
About the controls: not sure if it's just me but I often find myself pushing up to accelerate (typically after a short reverse) and it does nothing until I release and push up again.
Edit: nevermind I understand it's by design to allow a complete stop.


2

@Heracleum Thanks. Yeah, being able to stop completely is necessary for the gameplay. And I wanted to make switching into reverse and back feel more deliberate.


2

This is awesome!
@Minion Picotron will probably (hopefully) have a mini grand theft auto considering that this can be done with pico-8...
(also, maybe turning off the stopping at 0 speed when going from reverse to drive and vice versa could be turned off in race mode? But then that makes crashing less impactful, I'm not sure actually)


1

Really fun game! I really enjoyed driving around and the music was slapping as well!


6

me hits building at 100 mph

customer: "i'd like to change my destination to the hospital"


1

Amazing work, I love this. The race mode is great, sliding around corners feels awesome, really fun. I am in awe 🙌


2

i love the passengers reactions to me just bumbling around, i love the car wobbling and the feeling of swerving at corners, i love the two cars that got into a car crash in front of me and made me go all "get out of my way!!!"... it is so much fun to live in the world of whiplash taxi co!!


2

@quewon I had plans that the AI cars would obey the road rules. It even had the give way rules defined in the data at one point.
But there was always a more important feature to implement, until eventually there were no more tokens. So it turns out it wasn't as important as I thought 🙂.


Quick question, how many customers are in Free Explore?


@Andrew_Is_Funny

I just checked the code and there's 36 customers.


2

next can you make GTA


Okay this is a technical wonder, how the shit were you able to do this. That's not rhetorical; how did you draw all the 3d objects? Did you do anything specific to fit it into 64kb? Most importantly, how????


4

@KoboldKing OK, I'll try :)

First, if you look at the top right area of the Pico-8 map it contains the layout of the city.

It's drawn with specific sprites from tab 3. The left ones are for the ground. The bottom ones are for buildings (which also include hedges and walls).

(Btw, if you feel like editing the game world you can just draw on the map and run the game.)

If you look at the top left of the map, you'll notice it looks a lot like the tab-3 sprites. Here's it zoomed out:

Each of the tab-3 ground sprites correspond to an 8x8 region of the map at the top left.
Zoomed back in again, you can see the full "textures" (if you want to call them that):

So, we have a 64x32 map where each tile expands out to an 8x8 "texture" of tiles, giving us a 512x256 tile play area. Which is big enough to make a (hopefully) interesting town to drive around in, and all fits inside the Pico-8 map with some tiles left over for other gfx.

So the actual rendering is essentially a Wolfenstein 3D style ray caster, and borrows some code from Trial of the Sorcerer. With some changes.

  • There's no ceiling.
  • "Walls" (i.e. the buildings) can have different heights
  • When a ray hits a "wall" it draws it, then continues casting outwards to see if there's a taller "wall" behind it that also needs to be drawn.

To draw the ground it actually uses a modified ray cast. Instead of going outwards from the camera, it traces the ray across the ground from left to right for each scanline. Instead of looking for walls, it looks at where the ray enters and exits each grid cell, looks up the ground type from the map, and draws a tline of the corresponding 8x8 map "texture".

The full render process is basically:

  1. Draw the ground from top to bottom.
  2. Draw the buildings from left to right, by ray casting for each column of the screen (like a regular Wolfenstein 3D engine).
  3. Draw the sprite objects from back to front.

That's basically the gist of it :)

EDIT:
There's also a twitter development thread here.


1

I've never tried raycasting, this is so cool! Thanks for sharing this, I'm definitely going to be poking around the code of this and trying to do whatever. Do you think it would be possible to make this 3rd person? This isn't a suggestion btw, i'm asking about literal possibility! i have some f-zero related ideas


The camera has to stay below the tops of the buildings/hedges/walls, but otherwise I don't see why not.


2

This cart is awesome! Great job! Have you ever thought about a total conversion in a mech themed game, with cockpit and weapons? Please think about it!


2

I love running people down. Great gleeful mayhem.


@Mot What's the max speed?


1

@Hell_Cat about 100


1

This game is amazing! I love the feeling of drifting! I shot you a message on Twitter regarding the game if you have a chance to check it.


1

I actually came here to say the exact same thing tcarlton said, anyway you can tell us the tutorials you followed or make a blog post?


1

Very good game. I like the driving mechanic. The only thing that I don't like is hit box. Many times I thought that I've avoided the obstacles, but I have still hit them.


How have we not been arrested, or at the very least chased by the cops, for reckless driving, driving over the speed limit, reckless endangerment, vehicular assault, vehicular manslaughter, and destruction of property?


If there were police it would be better because I crash into everything so if there were police chasing you it would be much better good game. Haha I just realized that the comment above said something about the same topic



[Please log in to post a comment]