Difference between revisions of "GSDP:GAM100/CProcessing"
From Inside
>J.thiel |
>J.thiel |
||
Line 4: | Line 4: | ||
=== Structure === | === Structure === | ||
− | * [[GSDP:GAM100/CProcessing/Run()|Run()]] | + | * [[GSDP:GAM100/CProcessing/Run() |Run() ]] |
− | * [[GSDP:GAM100/CProcessing/CP_System_Run()|CP_System_Run()]] | + | * [[GSDP:GAM100/CProcessing/CP_System_Run() |CP_System_Run() ]] |
− | * [[GSDP:GAM100/CProcessing/Terminate()|Terminate()]] | + | * [[GSDP:GAM100/CProcessing/Terminate() |Terminate() ]] |
− | * [[GSDP:GAM100/CProcessing/CP_System_Terminate()|CP_System_Terminate()]] | + | * [[GSDP:GAM100/CProcessing/CP_System_Terminate() |CP_System_Terminate() ]] |
− | * [[GSDP:GAM100/CProcessing/SetNextGameState()|SetNextGameState()]] | + | * [[GSDP:GAM100/CProcessing/SetNextGameState() |SetNextGameState() ]] |
− | * [[GSDP:GAM100/CProcessing/CP_System_SetNextGameState()|CP_System_SetNextGameState()]] | + | * [[GSDP:GAM100/CProcessing/CP_System_SetNextGameState() |CP_System_SetNextGameState() ]] |
− | * [[GSDP:GAM100/CProcessing/SetNextGameStateForced()|SetNextGameStateForced()]] | + | * [[GSDP:GAM100/CProcessing/SetNextGameStateForced() |SetNextGameStateForced() ]] |
* [[GSDP:GAM100/CProcessing/CP_System_SetNextGameStateForced()|CP_System_SetNextGameStateForced()]] | * [[GSDP:GAM100/CProcessing/CP_System_SetNextGameStateForced()|CP_System_SetNextGameStateForced()]] | ||
− | * [[GSDP:GAM100/CProcessing/GetWindowHandle()|GetWindowHandle()]] | + | * [[GSDP:GAM100/CProcessing/GetWindowHandle() |GetWindowHandle() ]] |
− | * [[GSDP:GAM100/CProcessing/CP_System_GetWindowHandle()|CP_System_GetWindowHandle()]] | + | * [[GSDP:GAM100/CProcessing/CP_System_GetWindowHandle() |CP_System_GetWindowHandle() ]] |
− | * [[GSDP:GAM100/CProcessing/CP_main|CP_main]] | + | * [[GSDP:GAM100/CProcessing/CP_main |CP_main ]] |
===== Globals ===== | ===== Globals ===== | ||
Line 20: | Line 20: | ||
* [[GSDP:GAM100/CProcessing/CP_Input_GetMouseX() |CP_Input_GetMouseX() ]] | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseX() |CP_Input_GetMouseX() ]] | ||
* [[GSDP:GAM100/CProcessing/mouseY |mouseY ]] | * [[GSDP:GAM100/CProcessing/mouseY |mouseY ]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseY()|CP_Input_GetMouseY()]] | ||
* [[GSDP:GAM100/CProcessing/pmouseX |pmouseX ]] | * [[GSDP:GAM100/CProcessing/pmouseX |pmouseX ]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMousePreviousX()|CP_Input_GetMousePreviousX()]] | ||
* [[GSDP:GAM100/CProcessing/pmouseY |pmouseY ]] | * [[GSDP:GAM100/CProcessing/pmouseY |pmouseY ]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMousePreviousY()|CP_Input_GetMousePreviousY()]] | ||
* [[GSDP:GAM100/CProcessing/worldMouseX |worldMouseX ]] | * [[GSDP:GAM100/CProcessing/worldMouseX |worldMouseX ]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseWorldX()|CP_Input_GetMouseWorldX()]] | ||
* [[GSDP:GAM100/CProcessing/worldMouseY |worldMouseY ]] | * [[GSDP:GAM100/CProcessing/worldMouseY |worldMouseY ]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseWorldY()|CP_Input_GetMouseWorldY()]] | ||
<!-- | <!-- | ||
* [[GSDP:GAM100/CProcessing/displayWidth |displayWidth ]] | * [[GSDP:GAM100/CProcessing/displayWidth |displayWidth ]] |
Revision as of 15:44, 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
- canvasHeight
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()