[Classroom] GUI 101

denmax

You can change this now in User CP.
Reaction score
155
He can't give rep to people who he repped last tym for the assignment..
 
T

thedude

Guest
Code:
Lesson Two
    Events
        Map initialization
    Conditions
    Actions
        Set String[1] = Who is it that has 
        Set String[2] = a fixation with poop?
        Set Text = (Random integer number between 1 and 4)
        If (Text Equal to 1) then do (Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: String[1]) else do (Do nothing)
        If (Text Equal to 2) then do (Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: String[2]) else do (Do nothing)
        If (Text Equal to 3) then do (Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: (String[1] + String[2])) else do (Do nothing)
        If (Text Equal to 4) then do (Game - Display to Player Group - Player 1 (Red) for 10.00 seconds the text: (String[2] + String[1])) else do (Do nothing)
 

denmax

You can change this now in User CP.
Reaction score
155
Random integer variables don't work, only random integers.. And do the Challenge... Please follow the instructions as well, I think you don't have will to change the strings... (IMO)
 

elmstfreddie

The Finglonger
Reaction score
203
Random integer variables do work, but have a tendency to be the same number. If you ask for 2 random integers in 1 trigger, they will be the same, lol.
Nothing wrong with his trigger.

Oh yeah, I jumped ahead and gave you rep. You were supposed to do the challenge >_<
Do the challenge soon or I will -rep (dun dun dunnnn)
 

Nestharus

o-o
Reaction score
84
Looks pretty interesting, lol

Mind if I join in when you start getting to polar coordinates and so on?

Is ready to teach about the Polar Coordinate System, its advantages in wc3 over the xy grid system, and stuffs ;p

^)^

hi elms! : D

maybe i should join the class instead o_O, or maybe not... mm

haha =]
 

Nestharus

o-o
Reaction score
84
no..

I'm talking about applying it to things like rotating objects and using different formulas to create different patterns

Changing the offset to create expansion/condension

Using it to create mirrored images

And basic sliding ><

I would also give an understanding of what the polar grid system is, heh ^)^

Nothing like basic trig to start out the day, rawr
 

PurgeandFire

zxcvmkgdfg
Reaction score
508
I don't know if I will be covering that due to the fact that this is GUI 101; an introduction to GUI not function calling, though it does have function calling yet that is only the primary functions you practically must know. :)
 

Nestharus

o-o
Reaction score
84
Just wanted to help out ^)^

oh, btw, I suggest some IRC classes too, that'd be great

So, what could I help out with? ^)^

I just fixed up my combat system so I'm ready to get out there and help with stuffs : P
 

denmax

You can change this now in User CP.
Reaction score
155
You can join the class to gain rep (thats whut im doin)
 

Nestharus

o-o
Reaction score
84
Heh, I'm finally looking into JASS now...

Wowz..

I had a condensed GUI piece of code and after converting it to JASS, i managed to decrease it another 50%

O-o

I'm even going thru all the game settings like setting up the players, their slots, and so on and I'm able to decrease it by like 90% O-o

*is in wowz*
 
I

IKilledKEnny

Guest
Off topic (sorry it seems like the thread is a little off topic anyway)

> You can join the class to gain rep (thats whut im doin)

Well I can't say how much I'm upset hearing that.

Why would you want to take advange of someone who is willing to help spending his own time for your own profit. Is reputation really worth that? What is reputation, few integers in some website that gives you nothing but custom title?

It doesn't matter how much reputation you have, but how helpful you are. And even worse is the fact that you are taking sombody's time just to get this thing...

No need to say I think you should quit the class.
 

elmstfreddie

The Finglonger
Reaction score
203
Nestharus, polars are not better than coordinates. What is simply does is use the equation:
Location X + distance * Cos(angle * 3.15149/180.00)
Location Y + distance * Sin(angle * 3.15149/180.00)
To find the new x and new y. This gives you opportunity to mess around with a bunch of numbers, and get some really ugly/cool shapes.
 

elmstfreddie

The Finglonger
Reaction score
203
What you said and what I said are the exact same, however Pi in JASS is a bj, the function being return 3.14159. However as you all know Pi goes on for infinity, but 3.14159 is close enough to what's needed.
I got those 2 things from PolarProjectionBJ
 

PurgeandFire

zxcvmkgdfg
Reaction score
508
Sorry, but this is getting a little off-topic. I don't think that this is the place to argue/complain or anything, but I'll let it slide. ;)
 

PurgeandFire

zxcvmkgdfg
Reaction score
508
Lol..

Note to All:

Even though we have gone through 2 lessons, the class space is still available. So if you would like to join, please post here.

Thank you!
biggrin.gif
 
T

thedude

Guest
Random integer variables don't work, only random integers.. And do the Challenge... Please follow the instructions as well, I think you don't have will to change the strings... (IMO)

Random integer variables do work.

I can't see the hidden stuff anymore...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top