emoticon's Recent Forum Activity

  • This is too advanced for me LOL. But why don't you use Platform Behaviour instead?

  • if I read correctly, player1=host, player2=peer?

    I don't think multiplayer works the way it does in your code. You only have to create 1 object, namely: player.

    then create event like this example apps:

  • I don't see events and actions when you sync these objects to the host.

    Like this:

  • You don't need to use pathfinding, if there are no obstacles between the objects.

    You can use the instance variable "src" to store the IID of the object that created it

  • Because I rarely think about changing references from master data.

    I prepared everything carefully from the start, then continued my journey

  • using script:

    window.open("https://www.construct.net/", "_blank", "popup");

  • Maybe you need to show us your event sheet here?

  • You should create an index number for each item, then use it to sort the items

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You should not use pathfinding in a hurry. This behavior takes time to perform the search process and is very CPU consuming. What you can do is change the properties to reduce the calculation process, but this will impact the accuracy and vice versa.

  • If I were given a case like this, I would separate the card objects as icon from the real objects themselves (weapons, potions, armor, etc.). For card objects, I will just create one sprite with icon images for all the real objects. I prefer playing with JSON for data processing which contains all the attributes of the real objects which are used as references for game logic (Data Driven). The sprite for the card is only used as an icon for the real object. Card sprites also do not store the attributes of the real object. It's all in JSON. I will name all animations according to the object ID in JSON and then group them with animation subfolders so that they are easy to organize, for example:

    subfolder1: weapon, subfolder2: warrior indicating that it is a weapon used by the warrior class and so on.

  • When I add new elements into hmtl elements, it sometimes forces to scroll to the top. Then I created a function inside HTML Element as follows:

    function GetScrollY()

    {

    return window.pageYOffset || document.documentElement.scrollTop;

    }

    But I don't know how to call it in C3 to get the return value of scroll Y position, to use it to set the HTML scroll position after 'Add new element' action.

    I use script:

    alert(runtime.callFunction(GetScrollY()))

    But it doesn't work

    Is there any way to solve this?

    Thanks

  • How do I kill them?

    WASD just seems to move me around.

    Owh I'm sorry.. I haven't made any info about this yet

    Keyboard Controls:

    Move: Up/Down/Left/Right Arrow, A,S,W,D

    Attack: Shift Button

    I just updated the front layout

    Thank you for reminding me

emoticon's avatar

emoticon

Member since 19 Jun, 2014

Twitter
emoticon has 1 followers

Connect with emoticon

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x6
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies

Blogs