IronRick's Forum Posts

  • zatyka Thanks for the info, that is very useful information.

    I am working on a similar game type mechanic for a regular playing card game, such as a standard 5 card draw.

    For the server side, I will be using the SignalR library for Microsoft .NET. I am still in the early prototyping but my goal is to integrate the SignalR library for server side events with C2. The client side for SignalR can be coded JavaScript.

    The big advantage of SignalR is it will use the best available transport method for the user browser. It can use WebSocket or Long Polling without any different coding.

    I will do a new posting when I will have a completed prototype.

  • It all depend on what you want to achieve. It can probably be done with events, functions and lots of variable.

    If you know some JavaScript coding, I would suggest looking at building your own plug-in if you would like more sophisticated AI.

  • Entry

  • I have found some algorithm already coded in JavaScript.

    I will be writing a Poker Hand type plug-in and post a version in the plug-in section if anyone is interested.

  • Does anyone have done some experimentation by developing a poker like game with Construct 2?

    I would be interested in algorithms used for the hand evaluation (flush, straight, 3 of kinds, 2 pairs, etc.). I am still not sure if it would be easier to build a plug-in or if the hand evaluation can be done with the C2 events.

    I am using right now the data representation used in this thread but open to change if there is an easier way for hand evaluation.

    http://www.scirra.com/forum/randomized-an-array-for-a-deck-of-cards_topic45833.html

  • Nice art, I like it. Keep up the good work!

  • I like the concept, it's fun to play. Nice work!

  • Hi,

    Here is a small bug I have found in the editor.

    I do have a Text instance variable that already contains a initial value of "testing". I would like to reset the value to empty but it does not save when I empty the box.

    Here are 3 screenshots steps:

    <img src="https://dl.dropbox.com/u/80240197/CAPX/var1.png" border="0" />

    <img src="https://dl.dropbox.com/u/80240197/CAPX/var2.png" border="0" />

    <img src="https://dl.dropbox.com/u/80240197/CAPX/var3.png" border="0" />

  • Here is a capx I have created to reproduce.

    Just rename one instance variable of the sprite and click on the function call event.

    dl.dropbox.com/u/80240197/CAPX/Function_bug.capx

  • The reason why the project file was corrupted (I have edited the XML to fix it) is I did a save between step 3 and 4.

    The event sheet XML was still referring to the old sprite variable but that variable was not existing anymore since I have renamed it.

  • Hi,

    Construct 2 keeps crashing when I try to click on a function call event. It did corrupt my project file. I did the following steps.

    1) I have created a common event sheet with a function called "action"

    2) I am calling that function from another event sheet with parameters values coming from a sprite attribute

    3) I have renamed the sprite attribute

    4) Crash when accessing the function call event

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am also interested in the AJAX plug-in. Hopefully I will be able to get the iOS update soon to test it.

  • Hi,

    I am also looking at AJAX support from CocoonJS. Any updates?

    Thank you!

  • Is it possible to make AJAX call with other Content Type than the default application/x-www-form-urlencoded?

    Would it be possible to make AJAX calls with Construct 2 directly in JSON or XML format?

    The reason I am asking is I would like to connect to a WFC service developed in .NET C# and it is expecting XML or JSON.

  • Thank you for your response. I will make sure to export my C2 game and my web services on the same domain when testing for Internet Explorer.