mikewalton206's Forum Posts

  • The best way to start is with the multiplayer example that construct 2 has. You might have to change browser types if it's not working. Hope that helps and good luck! multiplayer is a pain!!! LOL

  • Hello everyone, I just wanted to share my space shooter(shmup) game that I'm working on. the demo is so close to be ready for testing so enjoy the images below and follow my Kickstarter for this game if you would like to support. thanks!

    https://www.kickstarter.com/projects/auragames/galaxy-patrol

  • Here's one of the bosses that will be in my game. I'm really liking how it came out looking (No i didn't make this boss lol) but i have all input on how i want them to look so yes my ideas are amazing! haha anyways... now i just gotta wait for a few more animations so i can test out attack patterns and stuff like that but nice tease for now :P

    Kickstarter Preview page you can follow to get notified of campaign launch.

    https://www.kickstarter.com/projects/auragames/galaxy-patrol

    Facebook page for my game Galaxy Patrol

    https://www.facebook.com/Galaxy-Patrol-107440104318553/

    Video clip of boss test

    https://media.giphy.com/media/YTQkYD0fRomIesaPnm/giphy.gif

  • Just from a quick look that should work but maybe should one be clockwise and the other counter clockwise? That's the only thing I could see that might be the problem

  • I don't know if this will help but look at this.

    Subscribe to Construct videos now
  • I'm not really good with multiplayer online so like you I'm trying to learn as I go lol but only fee things I can think of is either you have the default controls set to yes or you need to go into the peer and host events to update something. Other than that... I'm not really sure

  • Yup! Here you go! Even though the video is in Japanese... they still have a file link to download the sample game. It's for c2 but it should give you an idea of how it works

    Subscribe to Construct videos now
  • Well I'm glad I was able to help with both issues! Good luck on your project!

  • Well unfortunately Arrays isn't something I'm good at haha so I can't help with this part but I did make a tutorial a about spawning stuff randomly so I'm not sure if this will help but you can update it and have enemies spawn at certain locations on your layout or whatever. Other than that... at least you are not stuck on that other part anymore.

    Subscribe to Construct videos now
  • I'm not completely sure what you wanna accomplish but if it's anything close to what I'm thinking then maybe this will work. Do something like if green is on screen set red and blue collision disabled. That should let the bullets pass through them and only hit enemies that are red.

  • Yeah I realized the explanation was off. I wanna click on Monsters, they get added to the Array then lastly I click on a different button and a random Monster gets spawned from that Array.

    The problem is I not sure if that's possible to do with an Array or if I need to take a different approach

  • Ok so I believe I'm really close to figuring this out! Maybe haha but what I have set up and want to do is this. Let's say I have 6 objects on the screen and I click on each one. They all get added to the Array and have an variable associated to them from the family variable which is shown in the pick. Next I want it so each one is spawned on to the layout by index number/variable they got set to when put into the Array. Example if I clicked on object 3 which it's variable would be 3 and I click on like the button spawn or something I want that object to spawn onto the layout and if this can be done randomly that would be even better. Also I'm not sure if this can be done from families. Either way so help would be greatly appreciated, thanks everyone!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • "On key pressed" and select which key.

    Or you can use "On any key pressed" and compare Keyboard.StringFromKeyCode(Keyboard.LastKeyCode)

    ok, i'll try this as well and see which works best, thanks!

  • Well technically you do still use 'on key pressed' to determine if it was pressed, because something will action if that key was pressed meaning it's true. There are loads of approaches. You could do it with 2 variables, one which changes whenever you press a key so on A pressed, set it to A. You check this against another variable which is the "correct key", so if the correct key variable is "A" and you press the A key then both of those variables would be the same and feedback you pressed the right one.

    As for spamming again you could use those 2 variables in a different way. Set the "correct key" to be spammed to "A" and ensure this time that it always matches the other variable when a key is pressed. If it differs then they pressed another key.

    ahh... ok! Yeah i'll have to try that out, thanks a lot!