GUI vs. static sprites
by Ahmed Murad Akhter · in iTorque 2D · 01/29/2010 (4:17 pm) · 1 replies
Hi,
I wanted to know whether using static sprites in a separate level instead of the built in GUI elements provides any advantages in terms of speed. The menus are taking too long to load for me so I thought maybe I could try scripting the button logic into static sprites...
Regards,
I wanted to know whether using static sprites in a separate level instead of the built in GUI elements provides any advantages in terms of speed. The menus are taking too long to load for me so I thought maybe I could try scripting the button logic into static sprites...
Regards,
Associate Sven Bergström
Luma Arcade
all mouse, key and other events filter down... same with static sprite. The same way the sample uses the sprite as a button, it can be used for menus (its encouraged, keeping textures in one sheet, source rects, optimising loading and performance).