lamar's Forum Posts

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You can set gravity in platform behaviors to some extent but gravity is used with the physics behavior so you want to read the tutorials on using physics.

    A sprite with the physics behavior can have world gravity set so you can make it float around like a spaceman.

    You should also look at the Sine function tutorials as that is a cool effect that makes a spaceman move in different directions that would simulate the effects of space.

  • Thank you for reply!

    It is possible to copy sprite with variables to other layout? Or I must use global variables?

    You can set local variables to a sprite but global variables are set in events generally and they are global meaning they will change with any layout or event sheet as you play the game.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That is a problem if you use a second event sheet with your second layout.

    You can have multiple layouts running from a single event sheet and use a global variable to determine which events are run. That would keep all objects in place but you will have to set variables when you switch from one layout to another.

    If you use restart layout or reset global variables then sprites will go back to start.

    You can also set sprites to persist or not persist in the sprite behaviors.

  • [quote:1dmljdh9]Oh well that is totally different than what we thought you were asking.

    So you created an animation on C2 and you want to use it as an image on Ebay.

    How are you going to capture it- as a still picture, animated gif or video?

    You have a license so as far as I am aware whatever you produce using C2 is your property and you can use it any way you want.

    No need to capture or making gif.

    Just export as html5 project upload on server copy url of project and paste modified code to item description in html section in ebay

    Similiar to iframe

    i think its possible

    im not programmer but im trying do something like that:

    <SCRIPT LANGUAGE="JavaScript">

    <!--

    document.write('<' + 'I' + 'FR' + 'AM' + 'E ' + 'SRC' + '="' + 'https://igamedeveloper.github.io/allegro/" style="border:0px #FFFFFF none;" name="a" scrolling="no" frameborder="1" marginheight="0px" marginwidth="0px" height="60px" width="468px"' +'<' + '/' + 'i' +'fr'+ 'am'+ 'e'>')

    //-->

    </SCRIPT>

    i think code have errors

    SO if that code will work

    you will be able to play in game on ebay items

    OK I understand now what you are planning.

    As far as I know as long as you are a C2 license holder you can use your game/product any way you want but I would check with Tom at support scirra.com just to be sure.

    Sounds like a great way to advertise using your games!

  • Global Variable: SoundOff=0

    On sprite collision with wall: add 1 to SoundOff

    On SoundOff=2: Stop All Sounds. Set SoundOff=0

  • > But to be honest I don't see why you'd WANT to sell on ebay when you have Gamejolt, Itch, Kongregate, NG..

    >

    I dont want sell on Ebay Construct 2 projects, just want to add animation created in c2 to Item description

    Very similiar to adding iframe code to site (iframe dont work for me on ebay )

    Oh well that is totally different than what we thought you were asking.

    So you created an animation on C2 and you want to use it as an image on Ebay.

    How are you going to capture it- as a still picture, animated gif or video?

    You have a license so as far as I am aware whatever you produce using C2 is your property and you can use it any way you want.

  • I don't think it can be set to zero because other functions like sounds depend on that time scale but you couldprobably make it so insignificant it would be impossible to tell any time passed. Try 0.0000000001?

  • If you are not using integer or floor to read those you will get a long string of decimal places probably longer than your text is set for so it won't show up.

    You can resize the text box if you need the decimals or use int() or floor() with your variables to get just the whole number.

  • Thanks for your answer lamar

    I am "newbie adults" very interested in Construct 2 games and the way of working in this program.

    It seems to me that the Construct 2 very thankful easy to understand but we still need a little help with some games mechanisms.

    What I am particularly pleased that here in the forum all (almost) ready to help

    thanks again to all who unreservedly help us beginners with this program

    You are very welcome. We all start somewhere and I hope to see your makeup game when you get it finished.

    Sounds like something cosmetologists and hair dressers might be interested in as a learning tool.

    If you need more help as you progress come on back!

  • You should be able to but Ebay has some peculiar rules for any electronic media. They pretty much require it to be in hard form so on a disc and not a download.

    I used to sell ebooks on Ebay as a download to keep overhead low until they changed their rules.

    You also want to make sure it is encrypted and probably would want a key only that buyer can use otherwise you will see your game being copied and resold all over Ebay under someone elses name.

    That is why I stopped selling any electronic media on Ebay.

  • There's a known bug with the layout grid where you have to click into the grid width, and hit enter for the height value to be saved.

    Well that helped me out. I don't use snap to very often and couldn't figure out why I couldn't get a 16x16 grid and numbers kept going back to 32. Just have to remember to hit enter.

    Thanks!

  • Hmmm?

    You can create a global variable that reads max speed.

    MaxSpeed = player max speed

    Then add whatever speed you want to increase that to.

    On bullet collision with player: Set player max speed= Maxspeed+500

    Something like that but not sure if it is the effect you want. It would depend on if you want that a sustained change or just temporary effect.

    If temporary add in a wait for so many seconds and then reset the player speed to Maxspeed.

  • You do not have permission to view this post