thatserafimkid's Forum Posts

  • ludei

    Are 'On Overlap' and Ajax requests not supported with Canvas+? I haven't had any luck getting either to work. I wanted to see if I can get a definitive answer before I try work arounds.

    Edit:

    I'm posting this here in case any one has any similar issues.

    -The Ajax request I found out was something I was doing wrong on my end. I must've accidentally made a change that broke the code right before I exported. So that is working.

    -The "On Overlap' seems to only work while using Box2D web. I'm going to assume Canvas doesn't fully support asm.js

  • After a couple days the build for Android just started working. I didn't do anything different. I still haven't been able to get it to work with the developer app however. I still get the same error for some reason. But if I choose regular build it works.

  • What you are looking for is Angle of Gravity. Set it to 270degrees to go up. Then set it to 90 to go down. You'll also have to flip your sprite as well.

  • I was able to get my game to export correctly using the new c2runtime.js change. The only issue I seem to have at this point is collisions don't work. Any ideas how to fix that?

  • This is the error i get in the developer app.

    -I've exported with cordova,

    -set minify off

    -deleted the config and intel addition files

    -put everything in a www folder and zipped it(ive also tried it without putting it in a folder)

    -I uploaded to the cocoon site, selected canvas +

    -removed the whitelist plugin(I also deleted all cranberry plugins from my project)

    I don't know where else to go from here. I keep getting a black screen and that error in the debugger.

    Any suggestions

  • That will most likely be agaisnt the terms of any Ad provider you are using for your games. Do not do this. You could and most likely will get your account banned with whatever service you are using.

  • After sharing a tweet and facebook post, it shows the extra 20 brains in the add brains page, but once you go back to menu the brains goes back down as if you hadn't share. So there's some issue there with the value not saving correctly.

    Also the very second puzzle had the ad appear right over the question to the puzzle. I couldn't read it and there's no way to get rid of it. Had to stop playing.

  • Those are behaviors. They need to go in the behaviors folders. It seems like you may have put them into your plugins folder.

  • The reason you are experiencing this problem is because the moment you click the left button its going through all the instances of manual before you get to release the left button. So its setting manual to 1 then 2 than 3 really fast. That's why you end up at the title screen. This is also why linkman2004's solution works. Because it gives you enough time for the left button trigger to become false before the code comes back around to check the condition for manual again.

  • ...

    And you need to fix your json file. You are missing quotation marks between your fruit names.

    It will work once you fix those two things.

    ...

    I already told you why it's not working. You can't expect people to just fix your issues for you. You need to learn why there's an issue and be able to correct it.

    Find your json file inside your project open it in notepad and add the missing quotation marks.

  • That is the index of you text you are comparing. codecombination is your text. The number after that tells tokenat where to look inside the text to compare that character.

    So codeCimbination is a variable that equals "201"

    The first character in that text is at index 0. So index 0 of the text "201" is eaul to "2", Index 1 would equal "0"

    So what the code is doing is checking to make sure the frame of group A is the same as index 0 in this case "2", the frame in group B is the same as index 1 which is "0", and frame of group C is the same as index 2 which is "1"

    You can read back on a post I wrote before in this thread that explains how tokenat works.

  • Hunter

    Here try this. Instead of using different animations you can just use different frames of one animation. That way your animation will match your code number and you can compare it that way. You'll see I added the code groups into a family that way you can control the animation for any of the groups in one event. All it does is add one to the frame one you click on it, and it will revert back to 0 if you click on it and it already equals 2.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • JeffreyT

    I put together an example for you. Its not the most elegant thing in the world and it has its limitation but I figured it might give you some inspiration. I have a circle that has 4 frames of animations, one for each quadrant, then I have a mask that rotates around revealing the circle a bit at a time. The mask only works if its the same color as the background. So if you are planning on putting your clock on top of a solid color this could work for you.

  • Are you referring to the app ID?

    You should do com.yourname.yourappname

    you can use a company name or any other name instead of your own name of course.

  • If you are using it to set gravity to a constant number then you don't need to set it every tick. Key is down and else will run every tick. That's why I suggested using key pressed key released. that way gravity is only set once when true. You could have gravity at 5 default to start the game that way its already 5 before your user has to press and release a key. Then on key press it will change to 0.