Im new and I suck

0 favourites
  • 11 posts
From the Asset Store
Create your game with this complete pack of images and animations!
  • Hey , I love this construct 2 forums they have helped me a lot but I am trying to do some stuff in my game that I cant get around to.

    My game is a mix between battleship, air hockey and pinball. I have created most of the art but I am having trouble with a LOT of things since I am not a programmer.

    I will ask for a lot of help but I would like to start with:

    I need to add a score and when the ball hits a certain area in the game then the score will go 01 , 02 , 03... every time the ball hits that area.

    I have tried to find a tutorial or project like that but have not been able to.

    Hope someone can help me.

    Thanks !   <img src="smileys/smiley2.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" />

  • Just create a instance variable, maybe named Score. Then create an event

    • > Collision of BALL with certain area - Add 1 to Score

    You can even create a Family for the certain area, and each of them would have different scoring points that will add to score when collided.

    Hope that make sense

  • ok i get that but to make the score i should make a text box?

  • Well for simple prototype I usually just Text object and set it to

    • > every tick   - set Text to "Score : " & Score

    I guess the proper would be later to create a sprite animation, set to static, and just changes frame depending on the score.

  • thanks for all the help i will try it now.. do you know if there is a tutorial to do a sprite score?

  • Sadly none that I know of in Scirra, though I might have missed some. Try searching the forum, or you can Google for it, since Construct 2 is html5, some of the technique could be applied.

    Best of luck!

  • Have you tried the Beginner's Guide tutorial and How to make a Platform game tutorial? They may not be the same kind of game as you're making, but going through both will teach you a great deal about Construct 2 and help you solve problems in other games.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks for the help, I did read the beginners guide but I am still pretty bad connecting stuff.

    i did a global variable called score then I did:

    ball > on collision with > goal area right > system add 1 to score

    and I am stuck again because I can figure out what to do next. should I add an action on the goal area right?

    sorry for the newbieness <img src="smileys/smiley18.gif" border="0" align="middle" />

  • now create a textobject and every tick > set text to score

    this textobject will then display your score

  • maguilakindafunk

    My Building a platform game - a beginner's guide shows you how to set up and manage a scoring display.

    Have fun! (And never apologise for being a newbie - we were all newbies once :)

  • Velojet ,

    "never apologise for being a newbie - we were all newbies once"

    i liked this honesty words ^_^

    also i wanna say more learning less asking ^^ i don't know why most of newbie doesn't read or try tutorials and they are really useful i wish there is something like GM a beginner tutorial in the same program at the start or at least give them a link to tutorials ^^

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