uyu34's Recent Forum Activity

  • I think it is worth the purchase even if you don't make a cent off it. I personally have been using construct 2 for around 2 Years now and have deployed a few games to iOS and Google Play. Very rewarding and you will always learn something new.

    IF you ever wanna decide to make large scale projects again, Construct 2 is perfect for prototyping as well.

  • Yeah kinda vague.

    But you can use a variable for page number and just do

    On click | Page number +1

    and then you set the pages to change based on what number the page number variable is set to.

    FOR EXAMPLE :

    if Page number = 1 | set visible "Page 1" visible

    | set visible "Page 2" invisible

    | set visible "Page 3" invisible

    | set visible "Page 4" invisible

    | set visible "Page 5" invisible

  • You have to improve the AI.

    One thing you can do is add an invisible colider that always has its position set to an image point in front of the NPC. (This can be done by making a new sprite just fill in the square with any color and then hit okay. Set the viability to invisible).

    Next go to your NPC and add another Image point and set it a bit infront of the direction that the NPC is facing.

    In your code say;

    --Everytick // "WhateverYouNamedCollider" | Set position to "TheNPCYouAreFixing" (Image point 1)

    Now you just need to program the colider to check if it is overlapping something else that the NPC shouldn't and then tell the NPC to turn a different direction.

    Another alternative is to have the solid object cause the NPC's x or y position to change based on its location to the solid object.

    For example :

    --IF NPC.x < object.x // Npc.x = npc.x -1

    --IF NPC is overlapping Object

    --IF NPC.x > object.x // Npc.x = npc.x +1

    --IF NPC is overlapping Object

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • just need to add another condition so for example.

    --If animation "YourAnimation" isPlaying

    --If animation frame = "The frame you wanna use"

    and for setting up the animation you need to say

    -- On Tap

    Play animation "Your animation"

  • You are very vague with the explanation of what you want to do here so I will do my best to try and help you.

    You could put like a barrel or something on the ground and underneath it you could put "1234". Then you can have the player able to push the barrel and reveal the code.

    HOW TO DO THIS:

    . First add text to your layout (Double click white area and press add text)

    . Next set the text to what you want it to say. (Click on the text and under properties in the side menus type in "1234")

    . Create a sprite for the object that you want to hide the text behind and place it on top of the text.

    . Now you need to do the code to move the barrel.

    - If Player.x < Barrel.x

    If Player is overlapping Barrel

    Barrel.x = Barrel.x + 1

    - If Player.x > Barrel.x

    If Player is overlapping Barrel

    Barrel.x = Barrel.x - 1

    This will cause the barrel to move over by 1 pixel everytime the player is overlapping it.

  • Hey, You can out a sprite on the screen and make sure that you have added "Touch" to your project.

    The next step is to go to your coding and say "On Tap Object (Select the object)" and then for the action you can do "Simulate Control" (For example "Pressing left").

  • Are you certain you are running it with administrator permissions?

    Yes, I am, Have tried right click and "Run as admin" I just always get the same result with everything I try.

  • Are you using your external IP or the computers internal IP address?

    192.168.1.??

    or

    235.64.215.43 something like this

    I am not using the 192.168.x.x address, How ever i did also try that at one point. I am using my actually IP Address

  • I don't think this is anything to do with the signalling server. It's probably just to do with your network configuration. The "address not available" suggests that you do not have permission to run a server. You might need admin permission, you might need to change your firewall settings to allow server hosting on ports 80/443, or something else like that. You might also have the wrong IP!

    or sure it is the right IP Address, Like I said I have been troubleshooting a lot, Even for a few days now. And I have also made adjustments in my firewall to allow more rules with port 80 and things like that. I have tried things like closing skype and other software that might be using that port as well. If I am able to host my own website off my PC as well as other game servers, why am I not able to run a signalling server?

  • Bump, Still haven't solved

  • Hey, I just bought the Signalling Server package from the Scirra Store, and I haven't been able to get it working quite how I'd like to yet.

    After much troubleshooting on my own I have decided to come here for further help. Basically my problem is that if I run the server with my localhost IP (127.0.0.1), it works fine!

    It is when I try to use my actual IP (xx.xxx.xxx.xx), that I run into problems. First of all it doesn't seem to be starting properly. Here is what I get:

    Your environment has been set up for using Node.js 0.12.7 (x64) and npm.

    C:\Users\XXXXXX>node sigserv

    *****************************************************

    Construct 2 multiplayer signalling server v1.0

    *****************************************************

    Loaded settings from config.js

    Unable to find SSL key file 'ssl.key'. Reverting to insecure server.

    Server name: XXXXXXXXXXXX

    Operated by: XXXXXX

    Starting signalling server on ws://XX.XXX.XXX.XX:80...

    Server running

    events.js:85

    throw er; // Unhandled 'error' event

    ^

    Error: listen EADDRNOTAVAIL

    at exports._errnoException (util.js:746:11)

    at Server._listen2 (net.js:1139:19)

    at listen (net.js:1182:10)

    at net.js:1280:9

    at dns.js:85:18

    at process._tickCallback (node.js:355:11)

    at Function.Module.runMain (module.js:503:11)

    at startup (node.js:129:16)

    at node.js:814:3

    ** I have replaced some information with XX's for privacy reasons.

    Any help on this would be greatly appreciated! Thanks!

  • Quick Intro

    Hi everyone, just real quick A little bit about my self. I have been using Construct 2 for over a year now and I have made TONS of games with is for different platforms. 3 of the games I have made are currently available on Google Play and in the past I used CocoonJS to export and compile through Ludei.

    Now on to my problem

    I have made a new game that I would like to deploy to Google play and here is a quick list of things I have done in order to get to where I am now:

    • Make a game using Construct 2 (Latest Stable Version)
    • Add the CocoonJS plugin to my .capx

    -Setup my Project : window (960,640), Fullscreen in browser(Scale inner), Orientations(Any), Enable WebGL(On)

    • Exported to CocoonJS
    • Uploaded the .Zip to Ludei's Cloud Compiler (I have tried to run using Canvas+ as well as WebView+)
    • Downloaded the unsigned .Apk off of Ludei
    • Signed and Zip aligned .Apk
    • Uploaded to Google Play and Downloaded on Device

    The Problem is:

    If I try to run the app on any device it will show the Ludei Splash and then go to a black screen if its Canvas+ and a Whitescreen on WebView+

    Does anyone have any idea on how I can fix this? If you need anymore information just ask for it and I will gladly post it here.

uyu34's avatar

uyu34

Member since 20 May, 2014

None one is following uyu34 yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies