HOW TO DRAW 3D LUA SPRITES !

TechZ2124 - Custom level - from Android
PlayEdit35 players liked this.Log in to like this level.

Please don't zoom so much it will lag.
Here is a simple way to create 3D Lua Sprites !
Enjoy !

Views: 3315 Downloads: 1240 Unique objects: 10 Total objects: 136

Discuss this level

Log in to comment on this level.
  • The Ohio One: The 5th one is the only truly amazing one
  • Golden: Heres the real code,
    this:set_sprite_tint(2,0,0,1)
    this:draw_sprite(1,1,0,2,2,0,0,127,127)
  • Golden: @Wkmz: this code is not work because i changed
  • Wkmz: @golden: i can copy paste it but still have no idea what/how is built
  • Golden: @Wkmz: thats easy :p
  • Golden: @Wkmz: basic sprite lua
    this:set_sprite_tint(red,greed,blue,density)
    this:draw_sprite(xaxis,yaxis,angle,xsize,ysize,0,0,127,127)
  • Demon666: @Wkmz: click on the info button on the lua script. it's actually really easy and they have an example in there for you
  • JOELwindows7: @Demon666: quite complex mathematical stacking method!
  • Wkmz: @Demon666: still no idea how to make a sprite lmao
  • Demon666: @Wkmz: @abrackers: sprites have the option to define a what layer you put them on what tech did was he put the exact same sprite on multiple sublayers and placed them directly on top of each other and this it what gives them the illusion of depth. its basically a stack of sprites.
  • Wkmz: @abrackers: you're not the only one who does lol
  • JOELwindows7: @TechZ: you're welcome sir. As well it seem simple, but will be insane looking!
  • abrackers2: Awesome work. No idea how it works or whats going on though ;). I hate lua
  • TechZ2124: @Cralant: @golden: @Demon666: @JOELwindows7: @zardOz: @The_Blacksmith_: @keeghan: Wow ! Thanks all ! @davetheguy: Edit in sandbox to see how it works ;)
  • davetheguy: How!?!?!?!?
  • keeghan: Cool TechZ
  • The_Blacksmith_: O.O Sir, are you a genius? LIKE
  • zardOz2: Great research work TZ, 1.49likes(rounded down, sorry). Love it!
  • JOELwindows7: I Don't realize this. This is Extremly suppoted discovery so far! Extreme congrats!
  • Demon666: this is really intresting I didn't even know it was possible
  • Golden: Holy crap, thays really cooooool
  • Cralant: Nice one, simple script and great outcome. :)
  • TechZ2124: Please Like and Comment !

LEVEL ID: 3904