wp2000's Forum Posts

  • Thank you for your advice. I know how to do everything except 1 and 5, and I don't see any tutorials for those. Number 6 I'm a little hazy on, but I have found a tutorial for a connect 3 game in the past, so I don't think I'll have too many issues with that.

  • I'm interested in making a game like Zuma, but I have no idea where to start programming the basic mechanics. Does anyone have a tutorial or suggestions?

  • I wondering how a game should be built and how it should flow in a very general sense. Suppose you have a game that has a hub location where you can then travel to procedurally generated levels. When the level is done, you return to the hub location.

    My thought is you would have one layout as the introductory menu screen with maybe an options screen on a layer above. Then when you start the game, you would go to a different layout and create the player object. When you select the level, you would go to a different level layout on which a level would be generated. When that level is done, the layout would be cleared, and the player would go back to the hub layout. When he selects a different layout, it would go back to the same level layout but a different level would be a generated.

    Is there a better way to do this? I originally had an inventory screen which would overlay the playing screen in a higher layer. If I used two layouts, I would have to make the same inventory screen, right? And how do you make the player persist through each layout to retain its stats?

  • Thanks for the input everyone!

  • Thank you!

  • The player will not be able to change characters during the game. It will be a Diablo-like system in which each character has different skills.

    My question is, is performance impacted if one object stores all that information? It just feels easier to make one object and switch animations based on a variable like characterChoice.

  • I have multiple computers that I use regularly, and I was hoping to swap files between them with dropbox. If I purchase a license on Steam, would I be able to use that license on any computer in which I have logged on with Steam? Or is it better to buy the license directly from Scirra and the license is share-able that way?

  • Should I make one object that has animations for all the different character types and change animations based on which character the player selects? Or should I make an object for each character and destroy the rest when the player chooses one of the characters? Or does it matter?

    Also, is it better to make character stats a global variable or incorporate it as an instance variable for that object?

  • So I am trying to make a cool down timer, and have set the variable customTimer to 0, and if customTimer >0, then add dt to customTimer every tick. As I understand it, if I do it this way, after every second, the value of customTimer should be pretty close to 1.0. However, sometimes, the timer is really slow and takes 1.5 seconds to reach 1.0. Why is it like this?

  • Thank you. At least I have a clear answer now!

  • Thanks for answering! How would I do that exactly? What is the syntax for an array on the y dimension?

    I know what doesn't work.

    For example, I want to push 5 numbers on x0 from y0 to y4:

    push on X [1,2,3,4,5]

    or

    push on X arrayExample.Y

    I've read all the tutorials and instruction manual and they just don't seem very clear.

  • I'm trying to make an inventory system. I came up with a system in which an object contains 5 stats, and in order to store them in a 10-slot inventory, I would just push those 5 stats into a 10x5 array. Is this possible?

  • Thanks so much guys. I was actually just wondering if C2 could handle thousands of events, and that question was answered. I know there are inefficiencies in programming that need to be fixed eventually, and I appreciate you guys helping me with it. My program was actually crashing before I added that aggro array stuff (everything south of "Debugging" is just testbed stuff that I throw in as I'm thinking about it so I don't forget, and I just added it).

    But while we're on the subject, I wanted to create a 2D array with names in one column (x0) and number values in the second column (x1), and I wanted it to be as dynamic as possible, meaning for each new object on the screen, I can push a name onto x0y1 and a corresponding number onto x1y1. Is there a way to do that? I can't get my head around the push action in the manual.

  • Thanks for the help! Aside from inefficiencies, which will need to be cleaned up later, I'm looking for memory leaks and sources of crashes.

    For instance, I have the opacity set to 100 whenever isCloaked is false, and set it to 50 when isCloaked is true. I know that is a bunch of actions that don't need to happen if I just set the opacity to every time it is toggled rather than running all the time. Will things like that crash my program?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Perhaps you should try a few of the beginner tutorials before getting too deep into things.

    There are a few telltale things you haven't thought about such as "50 frames of animation", and "several thousand lines of code".

    That's not going to work on any platform.

    You can't just pile things on and hope for the best.

    I'm not sure what you mean. Are you suggesting Super Ubie Land doesn't have more than 50 frames of animation in the entire game? Or at least several hundred lines of code? I'm also not sure how a beginner's tutorial would show me how to program efficiently.