sigfig kind of sort of maybe has a job

Page 3 of 3 Previous  1, 2, 3

View previous topic View next topic Go down

Re: sigfig kind of sort of maybe has a job

Post by Sigfig on Sun Aug 01, 2010 9:12 pm

le1ca wrote:
>momentum in java
what

Code:

if(momentum!=0){
   if(!clickState)   drawi+=Math.round(momentum/15);
   if(momentum > -1 && momentum < 1) momentum = 0;
   momentum/=1.1;
}

this is what you did
avatar
Sigfig

Posts : 354
Power Level : 1
Join date : 2010-07-14
Age : 23
Location : where ders enemy
Level : 1 enemy

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by le1ca on Sun Aug 01, 2010 9:40 pm

nigger that isnt java
avatar
le1ca

Posts : 273
Power Level : 11
Join date : 2010-07-15
Level : 50 level questioner

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by Sigfig on Sun Aug 01, 2010 10:13 pm

java script then
avatar
Sigfig

Posts : 354
Power Level : 1
Join date : 2010-07-14
Age : 23
Location : where ders enemy
Level : 1 enemy

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by le1ca on Sun Aug 01, 2010 10:43 pm

comparing java and javascript is like comparing c# and c
avatar
le1ca

Posts : 273
Power Level : 11
Join date : 2010-07-15
Level : 50 level questioner

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by Sigfig on Sun Aug 01, 2010 11:06 pm

yes but i didn't realize it was javascript until i looked at the extension
syntax was similar enough for me to miss it
avatar
Sigfig

Posts : 354
Power Level : 1
Join date : 2010-07-14
Age : 23
Location : where ders enemy
Level : 1 enemy

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by le1ca on Sun Aug 01, 2010 11:45 pm

you're a fucking idiot
java doesnt go in a
java is compiled and run as an applet

this should have told you too:



var imageP = "pineapple haze";
var imageC = 50;
var sizeX = 400;
var sizeY = 600;
avatar
le1ca

Posts : 273
Power Level : 11
Join date : 2010-07-15
Level : 50 level questioner

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by Sigfig on Mon Aug 02, 2010 12:12 am

java's just compiled to an executable archive where i'm from

i was just looking at the source file for how you did the momentum thing and completely ignored the rest of it
and yes i did completely ignore the keyword "var"
so sue me

i'll build that spinner thing in a few days when i have some time not working on other stuffs
avatar
Sigfig

Posts : 354
Power Level : 1
Join date : 2010-07-14
Age : 23
Location : where ders enemy
Level : 1 enemy

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by Pielikey on Mon Aug 02, 2010 12:19 am

you kiddies are confusing grandma
avatar
Pielikey
Admin

Posts : 266
Power Level : 1
Join date : 2010-07-14
Age : 22
Location : Massachusetts
Level : 1337 Administrator

View user profile http://piesplace.motion-forum.net

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by le1ca on Mon Aug 02, 2010 12:36 am

java's just compiled to an executable archive where i'm from
compiled into bytecode which is run by a virtual machine

when you're using java in a web page
java is compiled and run as an applet

you corrected me by saying pretty much exactly what i said


furthermore, if i was using java, you would not be able to see the source, as it would be compiled. java also requires an int main() if i recall correctly. javascript, and my code, does not have such an entry point.
avatar
le1ca

Posts : 273
Power Level : 11
Join date : 2010-07-15
Level : 50 level questioner

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by Sigfig on Mon Aug 02, 2010 11:06 am

an executable is not the same thing as an applet, from a programmers POV
you can't stick a jar executable on a web page and have it run perfectly as an applet
an applet requires preparation from the programmer (using an applet is a decision that should be made before starting any project) and forces them to use the swing/applet GUI system and applet api
avatar
Sigfig

Posts : 354
Power Level : 1
Join date : 2010-07-14
Age : 23
Location : where ders enemy
Level : 1 enemy

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by le1ca on Mon Aug 02, 2010 11:18 am

theyre both .jars
archives containing java bytecode
yes they are optimized for different purposes
but that's at the code level not the compiler level
avatar
le1ca

Posts : 273
Power Level : 11
Join date : 2010-07-15
Level : 50 level questioner

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by Jesus on Mon Aug 02, 2010 11:35 am

This is getting intense. I think we should release the tigers.
avatar
Jesus

Posts : 256
Power Level : 1
Join date : 2010-07-15
Age : 107
Level : 32 Religious Figure

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by Sigfig on Mon Aug 02, 2010 2:02 pm

le1ca wrote:theyre both .jars
archives containing java bytecode
yes they are optimized for different purposes
but that's at the code level not the compiler level

all of this is true but i read your statement to mean java (the language) is the same thing as a java applet
avatar
Sigfig

Posts : 354
Power Level : 1
Join date : 2010-07-14
Age : 23
Location : where ders enemy
Level : 1 enemy

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by le1ca on Mon Aug 02, 2010 5:47 pm

negative
java applet is compiled java running in a browser
avatar
le1ca

Posts : 273
Power Level : 11
Join date : 2010-07-15
Level : 50 level questioner

View user profile

Back to top Go down

Re: sigfig kind of sort of maybe has a job

Post by Sponsored content


Sponsored content


Back to top Go down

Page 3 of 3 Previous  1, 2, 3

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum