PapitoMyKing's Forum Posts

  • For those curious, to fix it I had to double dip and on the event sheet put "Set diagonals enabled", even thought they are already enabled on the editor.

  • So, I'm using moveTo with pathfind(direct) to move an enemy, there are no obstacles, but instead of moving in a straight line, the path is in "L" shape all the time, like this:

    But I want it straight like this:

    Diagonal direction is checked and enabled on the pathfind behavior. Any ideas? Thanks!

  • Again you didn't explain what you're trying to do, if you need help with implementation of a design then we need to know the design. One array per skill, what is a skill? If you have certain things that happen per level increase of a player then you could fit them in one array.

    Sorry. So I want a level up system for the different skills of the player, critical chance, damage, etc. I want each skill to require certain points of experience:

    Level 1 critical chance = 10% chance to crit. 100 exp points required to unlock.

    Level 2 critical chance = 20% chance to crit. 300 exp points required to unlock.

    And so on.

  • It would make sense if the columns were levels, but not sure what you're trying to do here you didn't really explain it?

    If the columns were levels, then I would need one array per skill. If I have 30 skills in the game, would need 30 arrays hanging around, but maybe that is the best way.

  • Hi,

    So I'm doing a leveling system for my rpg/ farm sim. And I'm thinking in the following way of doing it:

    Explained Array:

    critical chance - 10% chance - 20% chance - 30% chance - 40% chance - 100 exp for lvl 2 - 300 exp for lvl 3 - 500 exp for lvl 4 - current exp

    And the picture of the array in-game:

    Is there a better way of handling this? My implementation rubs me the wrong way...

    Tagged:

  • I realize this post is rather old, but can you either of you walk through how you got this working?

    When I tried to follow this I get the same web3 error. I did double check the case.

    OK, I got it working pretty much. But I had to go into classic mode for script type. How do we get it working in module mode as classic will be removed at some point

    This is a question for Ashley

    A robust support for web3 and crypto would be a homerun for C3.

  • Ok, so for small games it is better to keep saving as single file, got it, thanks.

  • Hi,

    I though (and this was the case for C2), than saving as project folder was quicker than single file, but it is at least 10 times slower than saving single file with my small (7 megas) game. What reasons do I have to save as project folder then?

    Thanks!

    Tagged:

  • Hi,

    I have a basic enemy pathing system based on the MoveTo behavior.

    Every x seconds - Pick a random direction and move there.

    But if the enemy hits a solid, it will seldom get stuck. Which is the proper way of doing this?

    Thanks!

    Tagged:

  • Hi,

    I have a game and ios users players. They are all complaining about the same thing with various apple products with various ios versions. If their phone or tablet screens go to sleep, when they start playing the game again all the audio is gone, forcing the players to start over from the very beginning.

    Any ideas what to do here? Thanks!

    Tagged:

  • InDWrekt I'm not using Construct's multiplayer plugin, I'm using Photon's.

    I understand your reply, but if I were using the native plugin.

  • InDWrekt You are 100% correct the client is running the code, how do I run this function from the server?

  • Hi,

    I've been using the photon network plugin for a few days. I want to populate space with asteroids, I create them at random coordinates, I save it in the room cache, when another player enters, they get asteroids but in different places.

    How do I coordinate the positions of the asteroids between all the players?

  • I had it "http://pokeapi.co/..." and it needed to be "https://pokeapi.co/..."

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So, I'm trying to get values from the public pokemon api:

    pokeapi.co

    I'm using the ajax object with the request action but nothing happens. Also, is there a way of reading which ajax error has occurred? There is not an "Ajax.Error" expression to pass to a text object.

    Thanks!

    Tagged: