I need to know how can I make rubber ball
Buy a box of rubberbands and start making a ball....!
You will have to be more specific in your request in order to get a proper answer.
For bouncing off solids, see the example map included with C2
See Bullet behavior and Bounce off solids
https://www.scirra.com/manual/90/bullet
See this manual page: https://www.scirra.com/manual/126/system-expressions
Here you find the expression replace(src, find, rep)
So in your case you should be able to do this ex. "Hello, Commander! Let's do businness blah-blah-blah. ###Good Luck, Commander!"
replace(yourstring, "###", "" &newline &"")
Develop games in your browser. Powerful, performant & highly capable.
Create a variable where you set Sprite.X value "On Drag Start".
Then check during "Is draggin" if Sprite.X is larger or smaller and set the Sprite to Flipped or not accordingly.
Shooting at you and targets you, should be easy enough to do with a Turret behavior.
Dodging bullets would take a bit more work. But i guess that it could be done with the Turret as well. If the turret has the "Bullet" as an enemy and when it see the bullet or targets it, it will then move.
More on turret behavior: https://www.scirra.com/manual/152/turret
You can also set the amount of transparency in the colorbox with a number.
This idea just comes from nowhere....and could work....although i dont think it will be very good.
As you can snap a screenshot, and display it in a sprite. When displayed in a sprite it replaces the current frame in the sprite. So if you have a sprite with XXX frames that you can replace, then you should be able to "record" as many frames as you have in the sprite. Then display it by playing the animation.
I wish there was a simple way to just "Install" a high-score. But there are several things you need for a high-score table.
You need somewhere online to store the scores, a database that you can talk to. My company has developed a plugin to use with Parse.com, you can buy the plugin at our homepage: https://www.frostyelk.se/products-page/ ... /parse-fe/
You can also use Facebook for it, but it is rather complicated to get everything working with facebook, especially if you want to have the game working on Android and iOS.
If you do not plan on making a phone app, just an online game, then there are several options for ya. Do a search under tutorials: https://www.scirra.com/tutorials/search?q=high%20score
This might be helpful? https://www.scirra.com/tutorials/70/off ... onstruct-2
Instead of using a "Healthbar" you should use a sprite with several frames or several animations, where each frame or animation has one heart less than the other. Then when the character gets hit you set the frame to correspond to the amount of lives left.
Another idea, would be to have one heart-sprite per life, and make it visible or non visible.
About the event sheets, you can include event sheets in another sheet. See more here: https://www.scirra.com/manual/121/event-sheets
If you save the project you will get the .xml files in folders. If you have saved as a .capx you can open it with WinRar or similar.
The first thing that comes to mind is to use variables to control if the player was moving or not before he fell.
ex. On Move left, set FALL_ANIMATION = 1. Player not moving set FALL_ANIMATION = 0
Thanks! The link works....
But i cant find any problem.
I am getting a 404 not found for cordova.js on that page you linked to!
The problem with Save´s is that they save everything and remembers where you where exactly when the SAVE was made.
So you need to use WebStorage instead of saves and just save the variables you need and not everything.
https://www.scirra.com/manual/120/webstorage