Cybergod's Forum Posts

  • Hrm, do you guys mean local instances variables? I was thinking down the line might have issues trying to call local instance variables. If you have other objects traversing my little 2D universe if you dont have a "planet" visiable you can not collide or discover that object unless you add a lot of invisible collision objects.

    It all takes time moving from a programming language to a visual design, but it can get Soooooooo frustrating haha.

    Thx for the info, will look into the instance variables some more see if I cant figure out how to access them globally etc.

  • Ok I am going completely nuts here. Construct 2 is not easy coming from a C oriented language and trying to work without objective thinking. For 2 days I have searched and tried to figure out how to make something as simple as 2 planets that have either and x,y and a name or id of some sort.

    In C we would implement a class

    class planets

    {

    planets planet;

    planet.name={"Planet1","Planet2"};

    planet.x={235,14};

    planet.y={45,398};

    };

    etc, etc. You could call these and for ex. print a sprite at planet.x and planet.y locations etc.

    I want these to be saved values. I was thinking of a array such as planet[name_char][x_int][y_int] but I can not figure out how to do this in Construct 2.

    1. How do I store values in a 3 dimensional array maybe?

    2. How would I go about puting a sprite on the screen with that arrays data?

    3. Can you do this with a 3 dimensional array or should you do it some other way?

    Like I said for 2 days this simple little stupid function and I cant figure it out. I much have read through 200 forum posts or more and 40 tutorials!

    Please help!

  • Time for the Introduction post.

    I programmed ASM, C and C++ in the past, mostly just as a hobby. Began learning JAVA but somehow it really did not make much sense to me. I played around with Game Maker but it lacked a lot of functions. Played around with Unity but was a tad bit complicated for my expertise. Found Construct 2 and love how easy everything falls into place.

    Coming from the world of C++ I see myself constantly trying to implement functions like in C++ and forget this is not a programming environment like C++ and stumble on some minor issues. But with the simplicity of design Construct 2 really makes it easy to stumble right back in the drivers seat.

    I am now a hobbyist / Indie game programmer / designer. I would like to get more into this as I have always loved programming games but never really released anything. I hope Construct 2 will help me there!

    Anyways, like everyone else that gets into game design I have a ton of ideas on how I can make a game Soooo much better, that is the whole reason why I got into this in from the start.

    I am going to post a lot of questions so bare with me

    Thx.

  • Just to help someone else out that may be stuck on this.

    Download Node.js from http://nodejs.org/

    After you have done this, check C:\Users\YOURCOMPUTERNAME\AppData\Roaming for a directory called npm

    If it does NOT exist, make the directory and call it npm

    Then start a command prompt, see to it that you use RUN AS ADMINISTRATOR, go into the directory whereever you uncompressed the socket.io file and go to the server directory

    Now type npm install. It should find all the dependencies correctly.

    If you get npm ERR! or ENOENT, open xxxxxx this means usually that the directory npm is not created. Also check your PATH and see that the npm is in your path.

  • Hello community.

    First of all, I suggest a Multiplayer only discussion implemented, there is a ton of questions out there all over the place.

    Ok I dont think the multiplayer with it's signal server is correct for my usage. What I want to do is this.,

    Have a server that stores information such as players login, password, players life, location in game, players inventory such as money and items.

    Player logs on, server retrieves info, player has a fun time playing game.

    Game client connects to game server basically.

    I dont see this possible connecting to a "Signaling Server" ?

    Any suggestions, someone out there has had to run into this problem before but when you search, I come up empty. Maybe Im using wrong search wording???

    Thx.

  • The website gamep.co is registered to the guy on the bottom of the page but it is not up. I think it might be ok but would still be careful.

    His facebook page https://www.facebook.com/people/Aris-Ko ... 6095805405 is pretty lifeless.

    His other businesses like Swift Ebook Studio seams to be a no go.

    It could just be a startup thingy. Unless they start asking for money I would say sign up with a spam account.

    Just my 2 cents.

  • Thx going to try snipping tool, free and comes with windows. I used Faststone Capture, very nice program can even scroll capture but its not freeware.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can a feature to print the events and such out be implemented? Sometimes I like to just print out the events and read them on the side or compare to other sheets etc. etc. Was just thinking if there is a way or if you can save the files somehow and print them out?

  • Welcome Home I say I think C2 will prove itself quite a good software package and with all the user add-ons and such, you'll never run out of cool effects.

  • https://www.scirra.com/tutorials/594/bu ... terface-ui

    This one here might be of some help to understand the whole thing about layers and global and such. Glad to heart you fixed the problem.

  • When you select the buttons on the properties bar have you set them to global in the operating layer? Probably a given but still may be missed.

  • The best thing is these forums for help. Posting your .capx many forumers here will and can help you. I have noticed Construct 2 is especially hard if you come from a C++ background where you want to make all your functions when C2 already has most of them built in, just a matter of finding them.

    I have posted many "idiot" questions just because I didnt know C2's name for the function. What I have learnt as a beginner is when you are working on your main project, have another C2 project up where you can test small functions such as character sprite fade on impact etc. etc. Then you can add the perfected function to your game/project.

    The hardest part is Frustration getting to ya, just hang in there, eventually you'll get it.

    Practice makes perfect! Boy would I love to kill whoever made that up

    GL Too ya.

  • Yes, I added persist behavior to the sand32x32 tile and that fixed the problem.

    I had to add the check for CheckLevelPaint because if I did not the program kept repainting the background tile constantly. Once I added a check if != 1 then run the array loop it worked good.

    Thx once again for the persist information. Its hard to go from C++ to this because you constantly want to 'write' the functions when they actually already exist hehe.

  • So does anyone have the slightest of clues as to why the main layout looses all information and resets it on return from another layout?

  • Oh and yes I have searched game layouts, save states, layout disappearing etc etc with no luck Is there maybe other resources for information or is this it, Tutorials, This Forum. Is there another community with more information?