Questa discussione ha qualche anno. Alcuni dettagli potrebbero riferirsi a una versione precedente di Visionaire Studio. Tutorial aggiornati
La versione gratuita consente fino a 25 scene per progetto. Per più scene e per vendere il tuo gioco ti serve una licenza. Fino al 01/12/2026 tutte le licenze sono scontate del 30 %, per esempio l’Indie Bundle a 69,30 € invece di 99 €. Il codice BLACKFRIDAY viene detratto automaticamente alla cassa.
Vedi le licenze Provalo gratishttp://www.visionaire-studio.com/luadocs/#createsprite-pathLook at that... more Lua features I didn't know about. You're doing a nice job with the Lua doc thing mate.
Thanks all, this is cool! Understand that one may choose between getAnimationInnerSize() and createSprite()maybe...What would be the proper syntax for getAnimationSize?e.g.getAnimationSize(ActiveAnimations["cloud_1"]) wouldn't work i guess, we need to tell VS to get the specific frame
local anim = ActiveAnimations["example"]:getAnimationSize()
print(anim.x, anim.y)getAnimationSize(ActiveAnimations["cloud_1"].CurrentSpriteIndex).xBut then wouldn't you be better using the getSize() if you were going to be checking a specific sprite?getAnimationSize(ActiveAnimations["cloud_1"].CurrentSpriteIndex).xMaybe something like this?This is a wild guess
i guess he needs the width of the current frame of the active animationthat's correct
graphics.getAnimationSize(game.CurrentCharacter)
graphics.getAnimationSize(Animations["animation"])
graphics.getAnimationSize(ActiveAnimations["animation"])Questa discussione è chiusa perché nessuno risponde da più di un anno. Puoi fare la tua domanda in una nuova discussione.
Nuova discussioneDeponia, The Whispered World e oltre 160 altri giochi sono nati con Visionaire Studio. La versione gratuita arriva fino a 25 scene. Per più scene c’è Visionaire Studio PRO da 75 €, e per vendere il tuo gioco l’Indie Bundle a 99 €.
Fino al 1° dicembre compreso: tutte le licenze scontate del 30 %, per esempio l’Indie Bundle a 69,30 € invece di 99 €. Sconto applicato automaticamente.