PixelPower's Recent Forum Activity

  • Great work very original!!

  • I just uploaded a couple of screenshots I'am probably around %75 done with building the engine for the game, the grunt work. As for the project in total I'am around %30 done in 2 weeks of work. Progress should be faster once I finish the grunt work.

    I did run into of course small coding problems here and there but nothing too major.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes if its made with Construct2 of course. Thats how most project gain a solid enough number of votes. But you should post some photos 2-4 of them here to further tempt people to go vote.

  • So you deleted all refrences to physic's objects and deleted the physic's behavior and this still shows up?

  • >

    > Well the OP wanted a method so he doesn't have to repeat the same code over and over. Because a global variable isn't encapsulated , then he can just call it easily whenever he needs to without having to repeat code over and over.

    > The only thing in my opinion that brings a mess to a large project is not writing down want you want 1st. Before I take on a larger game I write down in notepad the different scenarios and things I want in the game. That way I don't get stuck in the middle because I calculated what I was going to do.

    >

    Actually, the OP did not want anything, it was more of a rant.

    FYI, Regular global variables have rather huge security issues.

    Writing down anything related to your project is fine ... but .. what happens if you have 5k events ? or even more ...

    Exactly, a notepad will do near nothing to assist in readability or maintainability on that front; Groups and Structured sheets is the clue there.

    I was answering the 3rd point he had because alot of people have that same issue not just OP. I doupt he is worried about security issue's.

    Now I don't think you understood the purpose of writing down what you want in your game before making it. Its to greatly reduce the amount of code your going to use and it helps you know what to group together before you start. If you just jump in and make changes on the fly , that will increase your workload by a ton. Also it will lead to fustrations and then rants.......Then the developer opens up a thread on Construct2 saying how badly it sucks LOL!!

  • Ok I found the problem you did

    On Key Pressed

    I did

    On Key Down

    Change your On Key Pressed to On Key Down.

  • Do you mean like this game I made, try it and if thats what your talking about I can help.

    https://www.scirra.com/arcade/action-ga ... ights-7569

  • >

    > 1) Make a global variable =0

    >

    > 2) make a function or multiple functions

    >

    > 3) When the global variable =1, then trigger the functions to be true.

    >

    > 4) Dont forget to include the event sheet with other events sheets.

    >

    > Easy as cake!!

    >

    I strongly suggest to avoid global variables as much as you can if you plan to do a big project. Global variables bring mess to the project and block the possibility of encapsulation. It is already a pain in C2 that all functions are global.

    Well the OP wanted a method so he doesn't have to repeat the same code over and over. Because a global variable isn't encapsulated , then he can just call it easily whenever he needs to without having to repeat code over and over.

    The only thing in my opinion that brings a mess to a large project is not writing down want you want 1st. Before I take on a larger game I write down in notepad the different scenarios and things I want in the game. That way I don't get stuck in the middle because I calculated what I was going to do.

  • How can I check it out , I don't have your file?

  • Try inner scale that what I use.

  • Ok here press spacebar to punch and right arrow on keyboard to move forward. Hold down spacebar to have the man punch while walking.

    http://www19.zippyshare.com/v/GVI741qX/file.html

  • yes but it would take some tedious work

    1) Make a global variable for each character with its own localstorage key.

    2) When you buy the character, make sure to update the global variable and the key so it saves you buying the character.

    3) Update your code if your global variable is the right value, then you don't get charged for the charater.

PixelPower's avatar

PixelPower

Member since 31 Jul, 2014

Twitter
PixelPower has 4 followers

Trophy Case

  • 10-Year Club
  • x4
    Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

13/44
How to earn trophies