Learning AGK Powered by Qube :D

Started by Yue, August 30, 2017, 01:45:13

Previous topic - Next topic

Yue

https://youtu.be/swr4eZq5dFU

:D

Rotate Cube   With Pointer Mouse

// Rotar Pivote Jugador.
Function RotarPivote( jugador As TJugador )

raton.x = GetPointerX()
raton.y = GetPointerY()


dx = raton.x - pantalla.ancho
dy = raton.y - pantalla.alto

rotacion.x  = rotacion.x + dx / 10.0
rotacion.y  = rotacion.y + dy / 10.0

SetObjectRotation( jugador.pivote, rotacion.y, rotacion.x, 0 )


SetRawMousePosition( pantalla.ancho, pantalla.alto )

EndFunction


Qube

Yay, you got it working, nice one  8)
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Steve Elliott

Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Yue

Learn and learn, nothing more to say.

I have managed to create a camera in the third person that follows the jguador, many things still do not understand, I have problems with the shadows, but I imagine that my models seem to be very small something similar.

Thanks to Rick for your attention :)

https://youtu.be/WmNNt7e9KRw