chrisrc44's Forum Posts

  • 5 posts
  • Hi all,

    Before I start diving into the mechanics of making a plugin with Text and Sprite capabilities, is there one that already exists? I've done some searching and unable to find anything.

    During my C2 game development, many times I find myself placing a Text object on top of a Sprite object in order to "label" it. Buttons are a simple example in this case. Pre-rendering sprites is out of the question as I need to dynamically create buttons with server provided text on them.

    Thanks in advance for any help on this.

    Best, Chris

  • I confirmed by that is must be a cross domain issue. I had to installed the exported files into IIS7 using the same "domain", then it connected just fine.

    Not a big deal for now, but I intend to deploy these games in a CDN network and cross domain will become an issue. I will be researching this more....

    /ChrisR

  • Hi,

    I have a problem with my construct 2 game connecting to my Web Socket server.

    The server is listening on 192.168.1.128 (my lan PC IP) on port 80, using IIS7. My listener URL is "http://192.168.1.128:80/BJ/". The Client url is "ws://192.168.1.128:80/BJ/" (blank protocol)

    It works perfectly from within the C2 previewer and successfully connects, i.e. the application is loaded into Chrome via the localhost:50000 connection.

    When I export it to my public dropbox folder and run it (from my PC) using the Dropbox public url in Chrome, it does not connect and shows the error: "Unable to create WebSocket with the given address and protocol".

    Fiddler2 shows nothing.

    Is cross domain an issue here? I researched that WebSockets do not apply here.

    Please help! What am I doing wrong?

    Thanks,

    Chris

  • Yes, you're right... it was repeatedly doing creating instances.... Newbie mistake!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I am creating instances of a sprite and text at runtime, and the quality of the result compared to instances created at design-time are quite different.

    A screenshot of this:

    The top one is created at runtime, while the bottom created at design-time.

    Sorry, I'm a 3-day newbie. What am I doing wrong?

    Thanks for the help!

    Chris

  • 5 posts