gfigueroa's Forum Posts

  • Yann Thank you so much! this gave me a starting base... I will post the result if successful !!!!

  • Games What you are trying to determine is a Bayes decision tree, assuming that your probabilities are independent, Joannak is right, you should multiple them. You can't have a probability over 100% at anytime, because that would happen all the time. (So, no probabilities like 125%)

    Instead of checking for each probability, build a decision tree that gives you the path for each case. With that, you will be able to determine the probability for each scenario.

    Note that the sum of all the probabilities should be equal to 1 (or 100%).

    A quick google search for Bayes Decision tree should help you to understand the probabilities behind of what you are doing, look for an example with numbers... Once you get the idea of it, you should be able to implement it with a function that generates a result if your probability is between certain values.

    Edit: I didn't notice that the solution was already there. Yes a function will help you avoid that. Anyways, a decision tree always help in this scenario (I like graphics).

  • Yann How can I avoid the sprite getting collapse when the Touch.X, Touch.Y is the same spot as Collision.X, Collision.Y on the Diablo Like Movement? For example, if the character arrives to the place being touch, then the sprite alternates between up/down or left/right. I guess it does not know which one is the right direction. Is there a way to have it with an offset? I tried modifying the Set Position under Is Moving, but it didn't work.

    Thanks!

  • Aphixe the solution above is to teleport your character to wherever you tap/touch. If you want the character to move continuously, you will need something like:

    Touch | Is in touch

    System | distance(Player.X, Player.Y, Touch.X, Touch.Y) > 300*dt

    Then:

    Player | Move 300*dt pixels at angle angle(Player.X, Player.Y, Touch.X, Touch.Y)

  • Dousi96 juannn91 I haven't figure out how to make it work yet. If I do, I will post it here.

  • juannn91 Thanks! but looks like it is set for an App / Game for Facebook, not for a Game that was developed for Android/IPhone or Windows Phone and then you want to post your results on your fb page. Or am I reading this wrong?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley Yes, I do have permissions and I'm admin. Not sure how to not reproduce it. I believe everything started with the AAC issue.

  • Yes, I do have permissions and I'm admin. Not sure how to not reproduce it. I believe everything started with the AAC issue.

  • Link to .capx file (required! If link is blocked remove the http and www parts): Happens to any project being imported.

    Steps to reproduce:

    1. Open a project

    2. Import M4A*

    3. Save, close and open the project again.

    *Note, I'm still receiving an error "w7aacenc.exe has stopped working" whenever I import a WAV.

    Observed result:

    M4A files disappeared

    Expected result:

    M4A files will be still there the next time the project is opened.

    Browsers affected: N/A

    Chrome: yes/no

    Firefox: yes/no

    Internet Explorer: yes/no

    Operating system & service pack:

    Windows 8.1 Pro

    Construct 2 version:

    r161    

    <img src="https://dl.dropboxusercontent.com/u/19421237/BUG2.png" border="0" />

    <img src="https://dl.dropboxusercontent.com/u/19421237/BUG.png" border="0" />

  • Doc Ai it doesn't matter if you are not selling the game, that is also infringment, fan art and stories based on the character may be protected, but using the same logo and images, that would be considered infringment.

    For a game to play the music, you have 3 types of audio file: ACC, OGG and WAV. If you have those 3 imported into your C2 game, then the will probably work fine in every browser.

  • Hi AndreasR have you tried this link?

    Edit your index page

  • Hi,

    I looked around the forums and manuals, everything related to FB scores, posts, etc is for games made for FB. Is there anyway to integrate and post your score from a Windows Phone (or Android / iOS) game? I know that Azure allows you to make it happen with Windows 8 and thehen plugin, but I have not been able to find anything related to Windows Phone.

    Does anyone know anyway? Or it has to be hardcoded on the VS project?

    Thanks!

  • KonkorFour Without seeing the code, it is really hard to guess where the problem is. If you can post a .capx with placeholders, then it may be easier to find the issue.

    Just as a random possibility, if you have the events associated in groups and if you code "deactivate" the group when is game over, then you would face the issue of having the keyboard "not working"

  • BluePhaze / L3mon On Visual Studio, click on the Solution, you can rename the name there. Then click on the Actual Name -> Project Properties and you can also change the name there. With those 2 changes, you should notice that the name was changed from WindowsPhonePlugin to whatever you want.

    Please note, you also have to change the WMAppManifest.xml

    That should work. Do not replace all the WindowsPhonePlugin, because you will break the code (as you already know).

    Hope this helps. This plugin is great! :)

  • blackhornet thank you so much, that is really simple... I still have too much to learn!!!! Thanks!!!! Whenever I finish this game, I will place you as Special Thanks! :)