How do I start this kind of Pizza Creator Game?

0 favourites
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • So I am trying to make a game where you can build your own custom pizza from any elements you desire, from the list ( type of Crust, Sauce, Toppings ) I want the menu with these three compartments on the Right of the screen and when you press on Toppings, for example, a list of all them appears where you can select any, one by one. When you select any type of object, it overlays on the Crust, on on another. And you build you pizza like that.

    What object types do i need to use for them to overlay one on another? And how do I create a menu on the right of the screen which will add these objects? Please, advice how I start it. I know it is different from usual games you create with this program, but I am sure it is much simpler. I have read the full manual, but I have no idea how to start...

  • Basically you can start with the main mechanic of picking and placing items. For the placement you can make the base of the pizza z index 0 then have a global to keep the current zindex as a variable and increment as they are placing toppings making the next topping they place on top of the current items. Being that you have to have one of each it you going to use somewhere in you project I usually make a dummy layout for holding all my spirited I will use. And you just spawn a copy when the person choose their topping.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • sounds rather complicated for me, you know? ))) I am a total beginner... I only know about object types at the moment, behaviors and what events do. but not yet figured out what z index is about and variables and many others. what parts of the manual should I read to gather knowledge for this kind of game?

    The very first time I asked this question someone responded like this:

    You will need:

    1) Use layers and z-index

    2) Use array for storage and calculation

    But I still have no idea what to start with? Afterwards it would be simple for me to progress, but what to start with? As a total noob in this soft?

  • If you are a total beginner, wouldn't it make more sense to start off doing a few simple tutorials that will teach you the fundamentals of the event system, etc. After that, making a few prototypes of what you want should then be within your grasp.

    Jumping straight into trying to make a game isn't really the best way of learning, as it can lead to more frustration.

    Small steps, as they say....

  • yes, that is obvious, but what I want to create is a couple of times simplier and different from the games created mostly by C2. I just need menu commands place objects , a menu itself and things around these ...

    that is why I am asking what parts of the programm should I learn and which tutorials are nearest to what I am planning? as I dont need to know the whole functionality of this, at least now... later I will use my time for it for sure...

  • I would like to advice you to do the Beginner's guide to C2

    https://www.scirra.com/tutorials/37/beg ... e-1#tuttop

    It cover's pretty much the tools you need to build your pizza game.

    For example

    In the tutorial, you learn how to create monsters every x seconds on position x. This is what you need to know how to place toppings on your pizza. Instead of spawning monsters on the map on position x every x seconds. You make something like this. Spawn pizza topping on position Y on click button (sprite).

    Good luck <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Thank you with this answers! I started this guide few days ago but paused for looking to other materials as I was thinking none of these functions I will need. But I will continue then..

    If someone has also other ideas and suggestions, please leave them here.

    Thanks!

  • It's all about breaking everything down to bite size pieces so you don't panic or feel overwelmed.

    I will give you your first task. Once you achieve that I will suggest your next.

    Task number one get selection working. Don't work on nothing else but that. Post your capx to be reviewed.

  • It's all about breaking everything down to bite size pieces so you don't panic or feel overwelmed.

    I will give you your first task. Once you achieve that I will suggest your next.

    Task number one get selection working. Don't work on nothing else but that. Post your capx to be reviewed.

    by selection you mean create a menu and assign to each element a function?

  • Yes don't have to be anything visual grand right now. A rough draft of visuals is fine.

  • Yes don't have to be anything visual grand right now. A rough draft of visuals is fine.

    Thanks for replying and for your spent time!

    Now I have two questions:

    1. How do I make that when you press on menu Toppings, all the elements appear under it? And also there will be the menu Crust type and Sauce type. So each time I choose one of these 3 itmes, the others close back, and open their own elements.

    2. How do I make when you press again on Pizza sauce or Olives, for example, after you touched one time already, to make the sprite go back to it's position out of the window? If the player wants to cancel and choose something else, like a Tick/Untick thing.

  • Look over and study this to see if you understand what is going on. I gave you a start try to go from that.

    https://www.dropbox.com/s/ua7ymx1c5tm9s ... .capx?dl=0

    Edit::

    Fixed File

  • Look over and study this to see if you understand what is going on. I gave you a start try to go from that.Edit::

    Fixed File

    The Controller object type seems something new for me. I see it is a Sprite, but could not figure it out how it was created? It is totally different than how I started , even if it has the same elements. I will try to look deeper and understand what it consists of.. But at the same time, I cannot make any change and cannot edit anything as my version is free, and it does not allow me.

    I am very thankful to you!

    So, anyway, what event should I create to make a topping go back out of window after I touch it again? This is for cases when we want to cancel one.

  • In the Controller object there is an instance variable which would hold the pizza options. So you don't have to create multi text options as your pizza options expand. The Controller opacity is set to 0 so it can't be seen but is over each option.

    You mean something like this??

    below

  • I opened it

Jump to:
Active Users
There are 2 visitors browsing this topic (0 users and 2 guests)