Bl4ckSh33p's Recent Forum Activity

  • Thank you, I will try this tomorrow. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Here is an example: http://youtu.be/qqtyGuV49rc?t=5m7s

    there are red triangles appearing around the circle in the middle if the current target is outside of it.

  • Thanks, this will point the object towards the object out of screen and works fine if you have some kind of compass or a fixed position for the pointer. But do you know a good way to position the pointer around the screen? So Object1 is in the upper right outside of the screen the Pointer Object should be in the upper right corner. And if I move right it begins to move to the middle because Object1 is now above me (but still out of screen).

  • Hi. I am working on a new game and want to use the scale feature to zoom in/out of the layout. There is a special object in the layout and if it is not in the current viewport (not visible) there should be a new Icon in the HUD pointing to the location where it is (in the upper right corner for example) and it should move when the player moves to always show the shortest way back. (like wing commander and other space shooters show the enemy ships with arrows which move around the screen edges)

    It found the "is on Screen" event and this should work with different scales of the layout. But did someone already make something like this and has some hints how to do it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nice.

    I had some issues with joining rooms and tabs. Sometimes when I open host and peer in a tab in Chrome connecting to a room does not work (peer stuck until I go back to other layout, come back and try to join the room again).

    I was told it should work on a dedicated server when I run the browser there (dont know how, yet).

    It "should" be easy on a windows server but Chrome runs on Linux too, right? (Linux Servers from 1&1 have php installed, Windows servers just have ASP/.Net)) But Linux will not run node webkit .exe exports so I think I will have to try a Windows Server (the current server stores data in a .txt with node webkit actions and cant run in browser tabs).

    But does anyone know how/if I can run multiple node-webkit exports? Launching the same file (or renamed .exe's) does not seem to work. Maybe I can create one export for each zone so every zone has its own project and folder when exported? But it would be easier to manage if it could be in one export.

  • Hi. I was told it "should" work if I get a Windows server to run a browser with multiple tabs on the Server (but I dont know how exactly to do it, yet).

    My local PC won't work as server because my upstream is too low to handle more than a few players.

    The German website from 1&1 says you have 30 days to test a server and get your money back. Dont know if this applies to 1and1.com, too.

  • Did anyone already try something like this? Maybe multiple tabs for the server could work?

    Like this: I launch it on my Server/PC and enter a Password or anything* that identifies me as "The Host". Now the game shows the Server Layout and there are Buttons or anything else to jump to the "Zones". Now I click on the first Zone and the Server now does all actions for this layout. Now I open the game in another tab or launch a second instance of Node-webkit (possible?**), log in as Server but this time select another Zone on the Server layout. So two layouts should be open and the Server can do thinks on both at the same time?

    *or maybe create a separate "Server App" which connects to the same instance/game IDs if you dont want anyone to be able to act as Host. (But I plan to allow user hosted servers so it should be in the game)

    **when I tried to run the .exe a second time nothing happened. and creating a second copy with another name did not work either. Is there a way to run a node-webkit export multiple times?

  • This may be possible but the file just contains shipclass, shipcolor and credits right now. (loaded at start, sent to player, saved when logging out). But the problem is how/if I can use multiple layouts to have different "zones" for the players. It seems the server just can work with one (the current) layout?

  • Hi. I started to work on a new small game and wanted to have a "dedicated server" running which stores player data in an array and saves it via nodewebkit to a textfile on the server. I created one Layout with all Server events and some other layouts for the players (login, 1. zone, 2. zone). But is it possible to manipulate items on multiple layouts at once on the Server? Or can the Server open multiple layouts at once to do this somehow?

    If a new player logs in can I create his entity in Zone1 even if the Server runs on another layout? (goto layout > create player > go back?)

    Did anyone already try something like this?

  • Oops. Thanks, I missed that one.

    I usually have the manual open everytime I open Construct.

  • Hi! I tried to use AJAX to load a local text/config file (node webkit export) but it returns no data (only a 404 not found error) if it runs in node webkit preview mode.

    When I export it it works. Is it possible to fix/change this somehow?

    Example:

  • Hi! Does anyone know whats the difference between Disconnecting from a room and leaving it?

    From the manual:

    [quote:2aegv5hr]Disconnect

    Disconnect from the room. If the room host, all players are kicked; otherwise the peer disconnects from the host. The room is also left on the signalling server, so another room can be joined afterwards.

    [quote:2aegv5hr]Leave room

    If in a room, leaves the room on the signalling server. On left room triggers upon the server acknowledging the request to leave. Note the room has not really been left until that trigger runs.

    If the host leaves a room its the same as disconnect?

    PS: There is no action to log out, right? You need to disconnect completely and reconnect to the signalling server?

  • I will try it, thanks. But it seems the current code above works if you set "Unbounded Scrolling" of the Layout to true and keep the player in the middle of the screen with the ScrollTo Behavior.

Bl4ckSh33p's avatar

Bl4ckSh33p

Early Adopter

Member since 20 Jul, 2013

Twitter
Bl4ckSh33p has 5 followers

Connect with Bl4ckSh33p

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x7
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x2
    Lightning Draw First person to up-vote a new Construct 3 release
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies