HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

dynamic graphic user interface

08-28-2008, 09:50 PM#1
ashujon
i'm russian, translate through online the translator


All is written on vjass
At a map there are 4 libraries "math", "Camera", "DGUI"

Math:
It is usual mathematical library, with convenient construction of functions, contains structures vectors and matrixes3&4

Camera (requires Math):
looks like camerasetup, but convenient, need for projection point on screen and on the contrary

DGUI (requires Math and Camera):
library for create button, picture and text on screen


PS
BagSystem http://www.wc3c.net/showthread.php?t=104931
Attached Images
File type: jpgdgui.JPG (227.0 KB)
Attached Files
File type: w3xDGUI v0.8b.w3x (103.7 KB)
File type: w3xDGUI v0.9.w3x (103.7 KB)
File type: w3xDGUI_v1.00b.w3x (103.6 KB)
08-28-2008, 11:51 PM#2
Tekal
looks cool even though i have no clue what it does...
08-29-2008, 12:52 AM#3
Ammorth
Really interesting! One thing I would add is a feature to not render the GUI when the camera is moving. It's impossible to use while panning, so no point to try and render it as it bounces around the screen.
08-29-2008, 01:29 AM#4
moyack
Questions:

Why do you have a struct to manage bidimensional vectors and other struct to manage tridimensional vectors?? Tridimensional struct SHOULD be enough to manage a bidimensional one (z=0 in the bidimensional case, right?)

You can remove those inittrig functions from the math library now that JassHelper avoids that issue with the triggers...

I'll give more comments later...

EDIT: the buttons interface is amazing, it's a shame that it flickers too much when the camera changes its perspective :(
08-29-2008, 02:54 AM#5
darkwulfv
At first I thought this was a stupid extension to the GUI... and then I saw the screenshot. Hot damn, this looks cool.
08-29-2008, 04:58 AM#6
Anopob
Need to test this tomorrow, looks really customizable and cool. Nice job
08-29-2008, 11:27 AM#7
Jazradel
Looks awesome.
08-30-2008, 12:09 AM#8
Anopob
Alright, just tested it. Although I had no idea what like half of the features did, it was cool (especially the buttons and how the object moved when you moved the camera, though as said too bad it kinda blurs when you move it). +rep, this is super amazing.
08-30-2008, 07:05 PM#9
chobibo
This is really awesome! I really don't understand what it's for but I do know it makes cool shapes lol!
08-30-2008, 11:39 PM#10
Toadcop
Quote:
but I do know it makes cool shapes lol!

the models are jsut for fun =) the main feature is the interface which is "allways on it's place" =)

aka dynamic user interface...
btw Ammorth +1

you can detect than camera is panning and if it does so you will NOT update interface (or better you hide it) unit camera stopped ;) a very nice solution imo.
08-31-2008, 02:23 AM#11
Tide-Arc Ephemera
Quote:
Originally Posted by Toadcop
you can detect than camera is panning and if it does so you will NOT update interface (or better you hide it) unit camera stopped ;) a very nice solution imo.

That's a pretty good idea, I'd have to agree. Just wait until they've stopped panning and then let them use the interface again. Maybe just make it an option, though, as opposed to a full blown rewrite.
08-31-2008, 03:55 AM#12
Ammorth
Collapse JASS:
if currentCameraX != oldCameraX and currentCameraY != oldCameraY and NO_RENDER_ON_PAN then // don't render
    set oldCameraX = currentCameraX
    set oldCameraY = currentCameraY
else
    set oldCameraX = currentCameraX
    set oldCameraY = currentCameraY
    // render GUI, enable functionality
endif
08-31-2008, 07:31 AM#13
ashujon
moyack, well, remove

Toadcop, this Easily
I will soon update

Now I work on multiplayer...
08-31-2008, 05:27 PM#14
burningice95
Incredible....
09-07-2008, 05:05 PM#15
Here-b-Trollz
This is amazing on billions of levels.