Simcity Events by daeun

A city simulation game.

This game explores the functions of Quest, understanding the difference between variables and attributes.
Variables lasts only within a script, but attributes lasts throughout the whole game.
I had difficulty in programming the attributes, I will explain how to program attributes properly.
First, you have to have an object, there is a default object automatically created at start called game.
Second, place a dot after game and then write your attributes' names, e.g. game.money, game.population

Why not just write a variable money? Because when you move to another page, the variable disappears, because
variables only affects one script whereas attributes affects all scripts.

We also did a simple call function.
This is simple, make a new function page and write a long function.
During your pages, you can "call function", this basically creates the long function you have written in the function page.

You are not logged in.

If you log in before playing, you'll be able to save your progress - which means you can come back later and pick up where you left off.

Log in
Play online
Review by Babajim
09 Feb 2019
Nice job friend.
(4)

Log in to post a review or comment.
Similar Games

Night fall.


The Fateful Festival


Doge Quest


Sandwich Simulator 2017


Lyfe


Average rating
(4)
Written by
daeun

Plays
242
Downloads
34
Download file
Written for Quest 5.8
Published 31 Jan 2019

Share

Support

Forums