0 Favourites

Almost done with my first game, but I need help

  • Hey everyone, I have few questions and my first game will be complete.

    -How do I collect the ruby's and have an indicator above saying how many you collected?

    -How do I make it to where to screen will fit any screen size being the largest it can be (eg. 800x600, 1440x900, 1920x1080).?

    -I have some enemies across the map and I copied them, but I noticed that the copies (not clones I was just holding Ctrl and pressed left click to drag a copy) will not move until I kill the original.

    -How do I make the level end once I reach the end?

    Last question is what is the difference between a capx and caproj

    I am thankful for any help

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Hey everyone, I have few questions and my first game will be complete.

    -How do I collect the ruby's and have an indicator above saying how many you collected?

    I haven't downloaded your project (20 mo, I'm not up for it right now on my slow connexion).

    Have a global number variable "Collected"

    But the idea is to have an event that checks the collision between the player character and the "ruby".

    As actions: destroy the ruby, add 1 to "Collected" (the global variable).

    For the indicator, check the page 7 of the beginner's guide, it will show you how to make such a HUD.

    -How do I make it to where to screen will fit any screen size being the largest it can be (eg. 800x600, 1440x900, 1920x1080).?

    Tutorial: supporting multiple screen sizes

    Basically it's the "Full screen" property of your project.

    Manual entry: Project (with an overview of its properties)

    -I have some enemies across the map and I copied them, but I noticed that the copies (not clones I was just holding Ctrl and pressed left click to drag a copy) will not move until I kill the original.

    -How do I make the level end once I reach the end?

    You can find an answer and examples to those questions listed in the how do I FAQ.

    ast question is what is the difference between a capx and caproj

    Manual entry: Saving and sharing projects

    Be sure to check the tutorials and read the manual most of the answers to your questions are already there.

  • Hi there Maverick

    I?m not having too much time for now to answer you, but at least I will try to answer few of them now.

    • I?ve done a global variable called "Rubys", and have added two events each time you collide with on eof the rubys (or emeralds in your code): it add 1 to the global variable, and set text to rubys var (I?ve added a new layer without parallax and a textbox in there). You can do the same with your player "emerald" var, simply update the textbox every tick (or every time you collect an emerald, I think this is a better idea) and set the textbox text to player?s emerald var value.
    • In project properties, change the fullscreen to "scale" (for example) and you are done. Check this article to learn more about this: Supporting multiple screen sizes.
    • I think the unique difference between capx and caproj is that, in the first one, everything is stored in one single file, between, in caproj format, there are folders and files.

    I?ve uploaded your capx (modified) here with this little changes, not sure they are the best way, but ey, they work and everybody will learn in this post :): Capx download (r99).

  • Woops, Kyatric has been faster than me (and surely, more helpfull <img src="smileys/smiley1.gif" border="0" align="middle" />).

    I think I got the same idea for the first of your questions so you can download the capx I�ve posted and take a look at it :).

  • Thanks to both of you. When I return to my home I will get all of this done.

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