Setvirtualresolution(640,480)
ResetTimer()
//Create a Green Cross Image
swap()
Drawline(0,0,5,5,0,255,0)
Update(0)
Render()
Drawline(0,5,5,0,0,255,0)
Update(0)
Render()
GetImage(1,0,0,5,5)
id = CreateParticles(150,150)
SetParticlesSize(id,6)
SetParticlesLife(id,5)
SetParticlesImage(id,1)
Do
If Timer()>15 Then Exit
Sync()
Loop
End
Help make AGK better by submitting an example for this command! (All examples are subject to approval)
Setvirtualresolution(640,480) ResetTimer() //Create a Green Cross Image swap() Drawline(0,0,5,5,0,255,0) Update(0) Render() Drawline(0,5,5,0,0,255,0) Update(0) Render() GetImage(1,0,0,5,5) id = CreateParticles(150,150) SetParticlesSize(id,6) SetParticlesLife(id,5) SetParticlesImage(id,1) Do If Timer()>15 Then Exit Sync() Loop End