camkau's Forum Posts

  • 5 posts
  • I'm getting a JSON string from the WebSocket object but I can't seem to parse it I've tried loading the JSON into an array but I can't seem to figure out what's wrong.

    Here is the text I get from the WebSocket Object:

    {"ChatUsernameString":"Camkau","ChatmessageString":"I like cookies"}

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • So my game includes an online leaderbaord and i've been using a text input for players to create a name and Im wondering how I can detect bad words from maby a list of words and then deny that name being set.

  • In terms of memory if i had lots of objects moving on a level toward the player, would it be cheaper to have 1x1 object move toward the player while off screen and when its on screen swap the 1x1 object with a bigger object with a texture.

    My only other thought is to somehow make a system that stores the cords in array and only creates the objects when the player is near those cords and destroys the objects when out of screen.

  • Thank you! got it to work!

  • So i have two sprites that both have scrollto behaviors, and im not sure how to scale the layout to always keep the two objects in the view port.

    my idea was to some how get the distance between the two objects and plug that value into the scale of the layer.

  • 5 posts