America: The Godfather of Game Development
Chapter 600

"Papa's Pizzeria"

1,792 words6 min read0 views9h ago
Next

So... all that fuss was just because of a video game?

"Yes! Hmm, it's a new game from Gamenova. An old man like you probably wouldn't understand."

Connie picked up a slice of pizza.

The cheese bent the pointed end, and the whole pizza drooped down.

"Hey, this is way too thin."

"This is the mark of a master; the thinner the crust, the more it tests the chef's pastry-making skills."

The degree of fermentation, the ratio of dough to bread, and the control of oven temperature are all things that part-time hourly workers cannot do.

Industrialized pizzas often use thick crusts, partly due to this consideration.

Because it is too easy to standardize.

Pauly picked up a piece, skillfully arranged it into a beautiful curve, and took a bite.

"That's amazing..."

It really is a standard Margherita pizza. To get a bite like this in the United States, you have to go to Chicago or New York.

Only in Little Italy can you find such authentic flavors.

"There wasn't enough cheese, and there was no sausage or Bacon."

Connie's tastes are completely different from Pauly's. She seriously tasted it and gave it a review that said it tasted good, but there were too few ingredients.

"Eh, United States."

Pauly curled his lip, ignoring her nonsense.

"Speaking of which, what's this game you mentioned? How does it relate to a pizza shop?"

"Papa's Pizzeria, a video game co-developed with Papa John's's, lets you run your own pizzeria in the game. My friends and I absolutely love it."

"Wait a minute, where did you get the money to buy the new game?"

Pauly glanced sideways at the game console plugged into the living room TV.

It looks like it wasn't disturbed today.

"Nah, that's outdated, their games are free!" "Okay."

His gaze returned to the collaborative toy on the table.

After the meal.

At Connie's reluctant request, Pauly followed her instructions and visited the gaming website.

[papa's]

[pizzeria]

Papa's Pizzeria.

The Activision logo is displayed in the top left corner.

"Then what?"

"Click the start button in the middle, then create a file... Hey! That's my save file! Don't touch it!"

The game has three built-in save slots and uses local storage implemented with NovaScript to persistently save data. This is to avoid the security issues caused by file permissions in later Flash games.

Novascript handles this aspect with great restraint.

Same-origin permission model.

A website can only access its own local storage and cannot access anything outside its own domain.

This core layer of protection, while making it seem less functional than Flash, elevates its security to a whole new level.

Even if it is truly necessary to read external data, it should be retrieved directly from the API via network requests, rather than directly accessing files.

More importantly, this thing cannot go beyond the browser's scope; it cannot directly access the hard drive and is a database specifically for the browser itself.

The sandbox design itself incorporates many advanced modern cybersecurity concepts.

"Click"

Pauly created a new save file in the second slot.

Three options then popped up.

[ Roy ][ Joy ][Create a custom character!] Is there even a question?

Pauly didn't hesitate and immediately chose the third option.

Gender, weight, height, head size, facial features position...

The entire creation interface is much more feature-rich than I expected.

It could even be described as frighteningly abundant.

In Pauly's memory, creating a character in video games was still in the old days when you just typed in a name.

How did such advanced character creation Kung-Fu Master emerge in the blink of an eye?

In fact, the implementation of the entire system is very simple.

Replace the texture, adjust the aspect ratio and scale, and apply a color scheme.

No additional processing is required.

All textures are reused directly from the library.

The same system is used by customers. In this way, without any extra cost for textures, and with only a small amount of code, an incredibly high degree of freedom in character creation can be achieved.

As for the code itself, it's much easier to optimize.

Lin Lixin compiler already has the ability to optimize with a single click.

For developers, readability is naturally the primary requirement when writing code.

If the code requires a lot of effort to understand, it is very detrimental to teamwork and long-term projects.

But this also raises a problem.

Novascript is an interpreted language.

This means it exists directly on the website and is compiled in real time as it runs.

Without compiler optimization, it contains a lot of unnecessary redundancy.

For example, a variable name.

For the convenience of developers, it might be given a long name.

[var hairlistformale = xxx] One instance is fine, but during development, the same variable will be used repeatedly countless times.

And newline characters, which are useless to the interpreter and are purely for the convenience of developers.

What looks beautiful to a human is actually very ugly to a machine.

Therefore, Lin Lixin wrote a one-click optimization function for the development tool.

Simply put, during the pre-compilation process, all these variables are simplified, and all formatting redundancy such as newlines is removed.

What was originally a long string of names may be reduced to a simple "a" after obfuscation and optimization.

In this way, the original tens of kilobytes of code can be folded into more than half after optimization.

For consumers in this era, this is equivalent to a loading speed optimization of a few seconds or even tens of seconds.

However, no matter how much brainpower Lin Lixin and his team had spent on this, Pauly and his daughter didn't understand any of those fancy tricks at the moment.

All he knew was that the game was far more amazing than he had imagined.

Thanks to the spatial optimization brought by vector graphics, even the beard game has dozens of preset versions.

As he scrolled, more and more options kept loading. After quickly selecting a few, he created a character that looked remarkably like himself.

"Uh, if I encountered a salesperson like that, I definitely wouldn't buy anything from their store."

Connie pouted.

"Nonsense, he's extremely handsome."

Ignoring Connie's incessant chatter, Pauly confirmed everything was in order before clicking the start button to officially begin.

The opening animation is very simple.

Because they could only use tween animation, Lin Lixin and his team were unable to create any truly exaggerated effects.

The only thing we can do is to move these textures across the screen to create a smooth effect.

Fortunately, the game itself has a cartoon style, so it doesn't feel too out of place.

Pauly, a delivery driver, arrived at the store one morning to find that the store manager, "Papa louie," was missing.

All that was left for him was a note.

[Keep an eye on the shop while I'm gone~] [--Old Papa Louie ]

Pauly didn't seem to notice this rapid entry into the market.

After all, the games he used to play were mostly arcade games.

Although it was running on a browser, the clean and fast-paced gameplay gave him the illusion of playing an arcade game.

The first guest was a chubby black guy named " Gerald ".

He strode over to the dining table with his large pregnant belly.

Following the game's instructions, Pauly pressed the order button.

You need to write down each customer's requests on the order form.

"Right, of course."

Pizza base, tomato sauce, sprinkle with cheese, add 8 slices of sausage, bake to the desired doneness, and finally cut into four pieces.

There wasn't a single word in the entire process; everything was conveyed through images.

However, it doesn't give people a confused or overwhelming feeling. Compared to text, images are easier to recognize, especially since many vector and bitmap images have simple lines and vibrant colors.

The game also deliberately uses completely different color schemes for different needs, as if afraid that players wouldn't be able to see clearly.

[Switch to the crafting table to start making a pizza]

The four buttons at the bottom of the screen have also been given color at this moment.

The color scheme and pattern design of each button are quite sophisticated.

The first green paper and pen button is obviously the ordering counter.

The second one consists of ingredients such as sliced mushrooms and sausages, complemented by blue tones.

The third one is orange, paired with a flame pattern, which naturally represents a baking oven.

Finally, there's the purple of the pizza cutter.

Pauly a certain feeling.

The entire game seems to avoid text as much as possible.

Throughout the main process, the role of text seemed very minor. He tried to simulate what it would be like if he didn't know English.

Even if you're just an Italy who doesn't speak English, you'll probably be able to quickly understand what to do when you start playing this game.

What you see is what you get.

Words are merely supplementary; the true narrative is entirely entrusted to color and images.

The customer wanted the sausage to be evenly distributed across the entire pizza.

[Make sure each piece contains the same number of sausages as much as possible]

"Oh... it actually looks quite convincing."

Pauly was taken aback.

He thought he only needed to order eight sausages.

I actually had to arrange each piece individually in its proper place.

Considering that it would eventually be cut into four pieces, Pauly estimated the distance and placed two slices of sausage on each slice of pizza.

Baking requires almost nothing. Just put the pizza on the oven and watch the timer.

Once the pointer aligns with the order, the food is ready to be taken out of the pot.

"It's surprisingly simple."

"This is nothing."

Connie clicked her tongue.

She played until the later stages and then realized what it felt like to be flustered and overwhelmed.

Ignoring my father's nonchalant attitude, I'm just waiting to see the show.

Yes, making a pizza isn't complicated.

But what if there are several people in line?

Making four pizzas at once, and there's still someone waiting at the counter to take orders?

Regardless of what Connie was thinking at that moment.

Pauly, on the other hand, remained remarkably calm. This game... surprisingly suits him very well.

Once it's out of the oven, the final cutting process is like a simple mouse usage tutorial.

Dragging the knife across the surface, make a horizontal and a vertical cut, and the beautiful pizza is divided into four even slices.

The pizza was placed in front of " Gerald " and slowly opened.

Intense drumbeats

"Clang clang!"

[100|95|100|99]

He raised his arms and cheered, his face beaming with joy.

At the same time, several coins fell into a glass jar labeled "tip" on the table.

"Hiss... Are you using your computer today?"

End of Chapter
Prev
NovelSummaries
Next

Explore the wiki

Comments