Topic: My List of Lua Functions:

My favorite software for making 2d games is Gamepress:
http://www.gamepressapp.com/

I just realized that that app has just about all of the features one would need to make any game of their choice, but it is in 2D.
So, I am going to try to emulate as many of the functions this app has in Maratis (I am going to start with the easiest and most useful). Here is a list of the functions I am going to work on:



CONTROLS:

joystickControlled(object,configuration)
jumpWithButton(button,animation)
dragAndDrop(object)

LEVEL:

gameOver()
loadLevel(level)
loadNextLevel()
restartLevel()
pause()

SOUND:

playMusic(sound)
stopMusic(sound)

MOTION:

moveToward(object)
moveAlongPath(path)
moveToPoint(point)

UI:

addToHealthBar(amount)
setHealthBar(value)
addToScore(text)
changeText(text)
addToLifeIndicator(indicator)
textInput()

SCREEN:

rotateScreen(angle)
shakeScreen(force)
wrapAroundScreen(object)
screenToObject(object)
screenToPoint(point)

FX:

playAnimation(animation)
stopAnimation(animation)
playSound(sound)
stopAllSoundEffects()
startParticles(particleSystem)

PHYSICS:

applyForce(object,direction)
propelObject(object,direction,speed)
setGravity(gravity)
makePhysical()
makeWall()
makeScenery()

LOGIC:

CUSTOM:

More to come...

Last edited by Tutorial Doctor (2014-03-26 01:24:48)