Jhonathan Ibanez's Forum Posts

  • I am having a problem to make a restful request with ajax plugin. I already added set header Access Control Allow Origin to * but the browser console kepps saying that the header is not present, would anyone know why?

  • Thank you man, it was quite easy to solve the problem using a system for loop backwards.

  • it sounds like it, however, I did a test with a smaller project and there all the elements were deleted without a problem, however, if what you posted is the problem, do you have any suggestion?, and yes, I am deleting the elements from the array at the same time a iterate through it.

  • Hi everyone,

    as the subject suggests, I am having trouble with the array object. I cannot report this as a bug since the problem only happens with a huge project I am working on, it has a lot of events, loops and some other stuff, however, the array loop and delete part is not tied to this stuff but I suppose the overall performance of this project, somehow, is affecting the delete part. I have and array of width 20 and height 2, depth 1. First, I fill the array with Infinity values, then I fill the the array with values depending on the activation of certain functions, lastly, when certain event occurs, I delete all the rows that have a the infinity value, when I do this, the rows containing Inifinity values are deleate but only partially. For example, 4 out of 40 of the array´s elements are filled with arbitrary values, the rest the values are filled with inifiny value, then the array deletes only 20 values o 10 rows that have the infinity value, so there are 8 rows with infinity value and 2 rows with the arbitrary values used before. I tried executing the delete loop 2 and 3 times in a row, and the elements were deleted successfully ,that way I could confirm is more of a performance problem more than a programming one (it is just a supposition), if I were having wrong code or something, the values in the array would never be deleted or would be a delete mess, but values are being deleted just that a slow pace if you will. I would really appreciate if you could help me with this one, thank you.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • had any luck with this?

  • Hi guyes,

    I wanna know, is there any way to add a canvas texture into a table cell?. I want to create a plugin that allows me to take an sprite texture and add it to a table cell in order to create a list of images for a scrollable window shop.

    Thank you

  • Hi IntelRobert, first of all thank you, now, I sent you a pm with my capx, I appreciate your help

  • Hi everybody.

    I was recommended to visit this post to look for help related to Intel XDK problems.

    I am trying to develop a game that will use accelerometer to move the player around, I already have the game finished and accelerometer is working (at least on the cocoonjs launcher), however, when I try to build the game using IntelXDK with the option "Crosswalk for Android" the game won´t work, I know that this is not an event related problem because, as I already said, the game works just fine when I test it on my android device using the cocoonjs launcher, also, I used the debug option from the intel XDK and it works when I simulate the accelerometer movement on it. I want to note that I am using this tutorial https://www.scirra.com/tutorials/809/ho ... -crosswalk so I am setting the corresponding plugin options accordingly (accelerometer ->YES). I have no idea why this is not working, I am a developer and I could try and fix it, the problem is, I don´t even know where I should start looking!!. I would really appreciate any help you could give me guys. I was also recommended to ask someone called In any case thank you everbody.

  • Hi cesisco, unfortunately no, I have asked for help several tiemes on various posts but I had no luck. I asked Ashley but I suppose he is busy or something because I didn´t get an answer, anyway, Ill do as you say, I wll ask IntelRober, I ll let you know if I manage to make this work, thank you.

  • could somebody, anybody lend me a hand on this? I´d really appreciate it

  • Ashley any luck with my .capx?

  • Rob2 thank you for trying my file on that device, since I only have an android device I had not tested it on an IOS-based device so I didnt know how it was behaving

  • Hi Ashley here it is:

    Danna On Ice capx

    Thank you for answering btw.

    I will take this opportunity (I dont often get help directly from a scirra founder <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz"> ) to ask for help about other issues with the same project. On a previous post I asked for help because I am being unable to use accelerometer on my mobile device on this project. As you will see this game is supposed to be played with mobile accelerometer, however, even following this tutorial https://www.scirra.com/tutorials/809/ho ... -crosswalk I was unable to make it work (it is worthy to note that I activated the corresponding plugin options on the app details when building my app in the Indel XDK app). Today I noticed something else: music wont pause/resume when the corresponding touch event triggers (I do know that the event is being triggered and the actions are ocurring somehow because I have tested it on cocoonjs and it works), so in conclusion, something is going on with the interaction between the intel XDK and the Construct events at some point (at least that would be my bet but I am not sure). By the way, if you test this game with cocoonjs launcher you will notice some kind of a white frame on the bottom of the screen, this wont happen if you build the game with Intel XDK (if I actually compile the game using ludei platform the frame will persist), this last issue is just for you to know supposing it is not actually my fault, thank you again ashley.

  • Hi guys

    Maybe this not the best place to post this but, is there a problem with the accelerometer when using the build option "Crosswalk for Android" in the Intel XDK?, I set accelerometer to Yes, and I am using the device motion from the Touch plugin but cant get this to work. I tested my game using the cocoonjs launcher and accelerometer is working fine.

  • any help? please??