Difference between revisions of "GSDP:GAM100/CProcessing"
From Inside
>J.thiel |
>J.thiel |
||
Line 38: | Line 38: | ||
--> | --> | ||
* [[GSDP:GAM100/CProcessing/canvasWidth |canvasWidth ]] | * [[GSDP:GAM100/CProcessing/canvasWidth |canvasWidth ]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetCanvasWidth()|CP_System_GetCanvasWidth()]] | ||
* [[GSDP:GAM100/CProcessing/canvasHeight |canvasHeight ]] | * [[GSDP:GAM100/CProcessing/canvasHeight |canvasHeight ]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetCanvasHeight()|CP_System_GetCanvasHeight()]] | ||
=== Types === | === Types === |
Revision as of 15:47, 22 June 2020
Reference
Structure
- Run()
- CP_System_Run()
- Terminate()
- CP_System_Terminate()
- SetNextGameState()
- CP_System_SetNextGameState()
- SetNextGameStateForced()
- CP_System_SetNextGameStateForced()
- GetWindowHandle()
- CP_System_GetWindowHandle()
- CP_main
Globals
- mouseX
- CP_Input_GetMouseX()
- mouseY
- CP_Input_GetMouseY()
- pmouseX
- CP_Input_GetMousePreviousX()
- pmouseY
- CP_Input_GetMousePreviousY()
- worldMouseX
- CP_Input_GetMouseWorldX()
- worldMouseY
- CP_Input_GetMouseWorldY()
- canvasWidth
- CP_System_GetCanvasWidth()
- canvasHeight
- CP_System_GetCanvasHeight()
Types
Math
Color
Input
Enums
Functions
- keyPressed()
- keyReleased()
- keyIsDown()
- mousePressed()
- mouseReleased()
- mouseDragged()
- mouseIsDown()
- mouseMoved()
- mouseClicked()
- doubleClicked()
- mouseWheel()
- setExitOnEscape()
Math
Constants
Utility
Matrix
- mat3()
- mat3_identity()
- mat3_set()
- mat3_from_vector()
- mat3_scale()
- mat3_translate()
- mat3_rotate()
- mat3_rotate_rad()
- mat3_transpose()
- mat3_inverse()
- mat3_concat()
- mat3_mult_vec2()
Vector
- vec2()
- vec2_zero()
- vec2_set()
- vec2_neg()
- vec2_add()
- vec2_sub()
- vec2_norm()
- vec2_scale()
- vec2_length()
- vec2_distance()
- vec2_dot()
- vec2_cross()
- vec2_angle()
Random
- randomSeed()
- randomFloat()
- randomRangeFloat()
- randomInt()
- randomRangeInt()
- randomGaussian()
- noise()
- noiseSeed()
Setting
- setWindowTitle()
- background()
- fill()
- noFill()
- stroke()
- noStroke()
- strokeWeight()
- size()
- fullscreen()
- fullscreenAdvanced()
- blendMode()
- cursor()
- noCursor()
- translate()
- scale()
- scaleX()
- scaleY()
- rotate()
- applyMatrix()
- resetMatrix()
- save()
- restore()
- worldToScreen()
- screenToWorld()
Draw Calls
Shape
- rect()
- ellipse()
- circle()
- line()
- point()
- triangle()
- quad()
- rectRotated()
- ellipseRotated()
- lineRotated()
- triangleRotated()
- quadRotated()
- rectRounded()
- beginShape()
- vertex()
- endShape()
- rectMode()
- ellipseMode()
Image
- loadImage()
- loadImageAdvanced()
- image()
- imageRotated()
- imageSize()
- imageMode()
- createImage()
- createImageAdvanced()
- freeImage()
- imageWidth()
- imageHeight()
- imagePixel()
- imageCreateSubimage()
- imageCreateSubimageAdvanced()
- imageCreateTint()
- imageCreateTintAdvanced()
- imageData()
- imageUpdate()
- readFrameBuffer()
- readFrameBufferAdvanced()
Text
Sound
- soundLoad()
- soundFree()
- soundPlay()
- soundPlayAdvanced()
- soundPauseAll()
- soundResumeAll()
- soundStopAll()