Import the information you'd like into an array inside the "Game" and make a function to display based on that array..
You could manually create a file with the information, but if it's movies and ratings I guess having a SQL-database and importing through php would be your best bet..
There are some tutorials about using a SQL-database in combination with C2, so you could start reading those..
I'd say yes, but it would take a lot of planning..
through Ajax and load image from url almost everything inside the game is replacable..
Of course it would depend on what kind of changes you would like to make..
Creating the framework on which to place the changes could become a hell of a job..
This could be an option:
If you have a list you could use the choose() expression to decide what place should be picked
set variable spawnplace to choose(1,2,3,4,5,6,7,8,9)
if spawnplace =1 spawn at x=whatever, y=whatever
From the manual
Physics Actions
Set stepping mode
Choose whether the Physics time step uses dt (delta time, for Framerate independent) or a fixed value. By default it uses a fixed time step to eliminate any randomness or instability coming from dt, ensuring simulations are exactly reproducible every time. Set to Framerate independent to adjust the time step according to the framerate, which can cause the same simulation to have different results if run twice. Note even when in this mode, the behavior clamps the maximum time step to 1/30 (about 33ms, equivalent to 30 FPS) to prevent the instability that can result from large time steps. For more information see Delta-time and framerate independence.
Set the origin of the sprite to the bottom and it will only stretch up..
Develop games in your browser. Powerful, performant & highly capable.
Something I made a long time ago:
All testing is done with collision-poly not with pixels..
Velocity is not speed?
Hmm, the Manual says it is:
VelocityX
VelocityY
The current speed of the physics object, in pixels per second.
So VelocityX is the speed in pixels per second in the horizontal direction
VelocityY is the speed in pixels per second in the vertical direction
Simply a matter of combining the two vectors to get your direction
If you are not sure yourself, I can't be sure either..
I haven't got a clue which databases and keys (foreign and or domestic) you are talking about..
As this doesn't seem to have a lot to do with getting things done in C2, it might be better to put this topic in general game design or something..
If there are no relationships, you can't make a diagram of it..
If there are, you can..
What are the relationships within a game you'd like to make a diagram of?
What would you need it for?
You can perform all actions on conditions you make yourself..
In the manual it says VelocityX and VelocityY, but maybe I read it wrong..
Yep you can check if ObjectA is overlapping ObjectB
Just add an event ObjectA is overlapping ObjectB
You should only trigger the animation when needed by adding conditions and variables..
You should also make events to stop the animation when needed..
You should only add to the score if game is not game over, so adding an extra condition would help..
so if player is alive - add to score
wouldn't adding actions to set variable and/or frame do that job?