AndreasR's Recent Forum Activity

  • i never succes to compiled with cocoon.io

    it always failed

    i had eksport the fil to cordova and compress it with zip.

    but it always android complication failed.

    You can follow my guide here: https://shatter-box.com/knowledgebase/c ... nstruct-2/

    Regards

    Andy

  • You haven't picked the Sprite to destroy though, so the default is that all are picked, and so all get destroyed. You could try picking the Sprite that overlaps AllMonsters, or store the UID of the Sprite when you create it, and pick the Sprite when you need to destroy.

    blackhornet is right.

    You can pass or save the UID of the touched object (object.UID). You can later use "Pick instance by UID".

    Hopes this helps.

    Regards

    Andy

  • Sorry for jumping into this topic, not fully aware of your issue Wishy but if you need to check if the game is updated I use following function.

    On start of layout

    --> LocalStorage - Check Item "version" exists //version is the current project version

    if key "version" is missing

    --> Set LocalStorage "Key" to "projectversion" // you can access the version with the system expression projectversion

    if key "version" exists && LocalStorage.ItemValue != projectversion

    --> Call your action you want to do if the version has been changed (on game update)

    --> Set LocalStorage Key "versions" to projectversion

    Hope this helps!

    Thanks VIKINGS for dragging me into this, I'm glad to help you out, just let me know!

    Regards

    Andy

  • So if I buy this will I be able to have ads and IAPs in an Android game?

    If you have at least the Personal License of Construct 2, yes

  • Nice tutorial, AndreasR! So far I've tried cranberrygames plugins like FlurryAnalytics and RevMob and they work perfectly. But I still can't launch facebook plugin. Will be waiting for your post with tests!

    CDogs1964, I've tried both ways and both time Intel XDK show "Build Failed"

    Thank you!

    Yes the facebook plugin needs a lot of stuff to be setup. I'll see if I get it running.

    I made a guide a year ago, but I'm not sure if this still works, but you can give it a try and let me know.

    https://shatter-box.com/knowledgebase/f ... phongegap/

    Regards

    Andy

  • AndresR - Thank you!!

    Geforio - how did you implement using XDK? Did you try to add using the plugin manager or through additions.xml?

    If you use the new Intel XDK Version and the latest beta of c2 (r226+) then select "Use new Intel XDK format" while exporting with Cordova.

    You find a guide here.

    How to build with Intel XDK 3088

    I'm about to test a most used Cordova Plugins made by cranberrygame and then I'll post it there. If you miss something, let me know.

    Regards

    Andy

  • You have the variable PlatformAngle and the expression LayerAngle("platforms") .

    At the same moment as PlatformAngle gets capped on 360 (not sure, events are a mess), the expression LayerAngle jumps from 360 to zero. 360° = 0 °. You cant read out the expression to turn, it goes a differend path then the variable. Thats one. On top you handle the right button with an else, and in this case even sunbaiting in Tinerife meets the else condition.

    Here you go:

    https://

    drive.google.com/open?id=0B1SSuCVV8v74Z0cwakw3OG0xU2c

    Thank you for your help! It's highly appreciated

    7Soul have fixed it already

    Thank you!

    Regards

    Andy

  • That problem happens because when something rotates to 360 degrees, C2 resets the angle to 0 (because 360º = 0º)

    My capx: https://dl.dropboxusercontent.com/u/395 ... 81%29.capx

    I fix this by saying "turn 90 degrees" instead of "turn until you reach the target angle" (because the target angle resets when it reaches 360)

    That's great! Thank you for your quick help!

    Regards

    Andy

  • Can't run your capx because of custom plugins

    I suggest you use the limiting expressions when increasing your variable

    Set variable "PlatformAngle" to min(PlatformAngle + 90, 360)

    Set variable "PlatformAngle" to max(PlatformAngle - 90, 0)

    Hi!

    Thank you for your comment. I removed the custom plugin, now you should be able to open it.

    I tried your suggestions, but still on 360° it doesn't stop turning.

    THank you!

  • Hi!

    This may sound like a stupid question, but I want to turn a layout (90 degrees per turn).

    It works fine, but when it hits 360° it doesn't stop turning.

    I guess it's pretty simple, but I stuck here.

    Here you can download a capx file

    https://www.dropbox.com/s/gco1eyam7gjqfjp/turnLayer.capx?dl=1

    If you click the left button, the layer should turn left (-90° of the current angle). On the other side, if you click the right button it should turn right (+90° of the current angle).

    For this I'm using a variable called "PlatformAngle" (platforms is the name of the layer).

    Thank you guys!

  • Hi!

    I'm looking for someone who can design the arts for my next game.

    Needed:

    • Level Elements (I provide drawings and examples)

    (Square blocks, stone, grass, ice in 64,64 px) with 3D effect

    • character with jump, 4-direction, die Animation
    • Game objects like coins, a portal, grass and bushes

    Further information if someone is interessted in this job.

    Style is up to the artist, but it must be made in Illustrator.

    Please send me

    • your complete price for that
    • some examples of your artwork
    • how long you will take and what Information you need

    Thank you.

    Regards

    Andy

  • Try Construct 3

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

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

    > can i make above 100 levels in this

    > is their any star system ( 1star, 2star, 3 star)

    This demo has already 60 levels. You can easily expand it to 100. Just increase the "levels" array and the "World" variable.

    I'll assist you if you have any questions.

    Yes, you can earn up to 3 stars, please see the demo.

    Regards

    Andy

AndreasR's avatar

AndreasR

Member since 21 Feb, 2013

Twitter
AndreasR has 6 followers

Connect with AndreasR

Trophy Case

  • 11-Year Club
  • x11
    Popular Game One of your games has over 1,000 players
  • x17
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies