dop2000's Forum Posts

  • Construct can't play animations at speeds higher than the frame rate (which is a weird limitation in my opinion). So you will have to play the animation by changing frames with events. You can, for example, use Tween behavior - tween a value from 0 to 960 and while the tween is playing, set animation frame to Sprite.Tween("tag").value

  • You can remove the Brightness effect, try different colors in the mask sprite.. With effects it's all about experimenting.

  • This may be possible with some clever use of effects like Alpha Clamp:

    dropbox.com/s/lgv50twti2qyq6o/AlphaClampWater.c3p

    Also check out this post:

    construct.net/en/forum/construct-3/how-do-i-8/animate-type-water-150549

  • Yes, you need to parse it with JSON object and use something like JSON.Get("country_code").

    Check out "JSON" template in construct to see how to do it.

  • Does the pointer lock actually work? The cursor should disappear or stop moving.

  • Latitude and longitude are not very useful. If you need to know which country the player is currently in, you'll need to use some online services, for example:

    https://freegeoip.app/json/
    https://ipapi.co/json
    
  • If there are too many properties (columns) for each creature in the array, it will be difficult to work with them, because you'll have to reference them by index.

    I would probably choose a third option - JSON. JSON takes some time to learn, but if you organize the data structure correctly, it should be the easiest and most convenient option.

    Here is an example:

    {
     "ratata": 
     {
     "Name": "Ratata",
     "Element": "Earth",
     "Level": 4,
     "Strength": 3,
     "Speed": 3,
     "Armor": 2,
     "HP": 21,
     "Vulnerabilities": "Dark,Poison",
     "attacks": [{ "Kick": 3}, { "Punch": 1}]
     }, 
    
     "ekans": 
     {
     "Name": "Ekans",
     "Element": "Poison",
     .........
     }
    
    }
    
    
  • That's JavaScript, not Java. (they are completely different languages).

    Try changing "Use worker" setting in project properties.

  • You need to sort your objects on Z-axis.

    Check out this demo:

    howtoconstructdemos.com/z-sorting-in-an-isometric-view-game

  • Did you install any C3 themes or new browser addons?

    You can try running Construct in safe mode:

    https://editor.construct.net/?safe-mode
    

    If the bar is visible, then go to settings and switch to the default theme.

  • Don't use round with random, it will produce uneven results. Value 2 will be picked more often than 1 or 3.

    Use int(random(1,4)) instead, or choose(1,2,3)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are two tasks here - sending information to some server, and receiving information about player status (free coins, no ads etc.)

    If you need a proper solution, you will have to set up a database on your private server, or use some service like Firebase.

    If it's a simple game and you don't care much about people cheating, you can send their email to a Google spreadsheet and just immediately give them free coins for doing that.

  • When the timer starts, save the current system time in Local Storage. If player closed the game, next time it opens retrieve the value from Local Storage and you'll be able to calculate how much time has passed and whether to give the reward or not.

    If you are worried about people changing the time on their device to trick your game, you can retrieve the time from the Internet, there are plenty of free services.

  • It's not recommended to mix Physics with any other movement behaviors, especially if you are using joints.