franknitty2's Recent Forum Activity

  • Nubelite thanks for your insight. Right now I only have 5 items that can go into the store. Your correct it is a single player game. Sorry for the lack of information but this is my very first game design so a long with learning C2, I'm also learning how to be detailed with my questions because its so many ways to get the same results in C2.

    So, let me see if I understand what your instructions are: Are you saying create a shop layer on the main layout and copy that to other layouts as the player progress through the game? Then create a tab/buttom to set the layer visible or invisible. I'm going to explore this method more.

  • Hello everyone, I hope all of you are in good spirits. I stopped in to ask a question on something I've been working on for several months now. The game is developing very well and I have caught on to Construct 2 pretty fast. The problem that I'm having is how to create an in-game shop. I have reviewed the How to from 2013 and I have successfully built that example following the instructions. What it lacked was how to integrate it within the game itself instead of building a layout where buttons are pushed. No disrespect to that author but I need more details than that.

    Here is the scenario: A player collects coins all through the game trying to save up to buy an item from the in-game store or shop. The player buys that item of his or her choosing, and it deducts it from player's coins. As I stated earlier, I have the game built and I have to be honest it was brutal. I just need to see template or something on how to set this up. Nothing to complex because I am a beginner...lol

    Thanks,

    Frank

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AllanR I just can't seem to find the error...LOL! Seeing how I'm unable to share screenshots at the moment I guess I have to write the code here. Bare with me:

    Shield Configurations

    Add Event: System > On start of layout Add Action: Shield Object > Pin Pin to Player (Position & angle)

    Add Event: Enemy1 > On Collision with Shield object Add Action: Enemy1 > Destroy

    Add Action: Shield object > Flash 0.1 on 0.1 off for 1.0

    Add Action: Audio > Play FX file

    Add Action: Shield object > Subtract 10 from ShieldHealth

    Add Action: ShieldBar > Set width to PlayerShield.ShieldHealth

    There is multiple enemies and I have them all setup the same way. I did have them setup in a FAMILY but I got the same results. So I was force to remove the family object because of this same issue. Once I solve this issue, then I will be able to find out what I'm doing wrong in other areas of my project....whew! Do you think I this in the wrong order and if so, what is the best way to lay it out.

  • Dropbox is having issues so I can't show my screenshots of the code...smh!

  • I have been learning C2 for several months now and read a total of three books so far including C2 Manual. I don't know if this is a bug or I'm doing something wrong. I started on my first project 3 months ago which was a driving game and ran into a problem which I thought I could straight it out. After a month of reading through tons of tutorials and was unable to figure out the issue, I put the driving game on the back burner thinking I did something wrong in the programming part. Then after reading 2 more books on C2, I decided to give it another try only but this time I tried my hand at a Top Down spaceship shooter and ran into the same problem.

    Issue One: When I program the Player Ship on collision with the enemy or the enemy bullet, the health or the shield first initial contact is deducted around 40% which is not what I programmed. I programmed the deduction to be 10, not 40%. Why is this happening?

    Issue Two: I programmed the shield the same way, but after the on collision with powerup the shield doesn't automatically powerup until after the collision with the enemy. Why is this happening.

    This has been a pain trying to figure out...got me ready to throw in the towel...LOL! But I was always taught never give up...LOL!

  • After several a temps, I just gave up. This morning it hit me "Why not use triggers?" So I came up with this idea, when player gets to a certain point it triggers an object to be visible. If player is overlapping that object it deducts points else add points if not overlapped. Its still some bugs to workout. Thanks RayKi and LittleStain. Both of your suggestions helped me.

  • Ok, will try...LOL at this point I will try anything because this one little issue is holding up a project that I need to get done asap.

  • Hey guys!

    I've been here a total of two months now reading and more reading. You guys have some good tutorials, easy to follow and beginner friendly. Right now I just doing the projects that you guys have put together for the beginners until I get use to the coding. I tried a learning from a book not offered by the Scirra and let me tell you something. That book had me confused more than ever and it made want to give up. Until I said to myself go back to the website and learn from there. The book said it was for beginners, but they used the wrong word usage and then they had mistakes in the book. Codes were incomplete and what I mean by incomplete, they would describe a process on how to make the background scroll but no code to show you how its laid out. Scirra rocks boys and girls! I love you guys!

franknitty2's avatar

franknitty2

Member since 14 Apr, 2015

Twitter
franknitty2 has 2 followers

Trophy Case

  • 9-Year Club
  • Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

12/44
How to earn trophies