Page 1 of 2 12 LastLast

Thread: Luna: What I've found so far.

  1. #1

    Default Luna: What I've found so far.

    I've been going through the code for Luna, and I'll share what I've learned so far.



    First, the game will be playable on at least Facebook, Kongregate, and JV. Evidence from code:

    Code:
    Sites.GUEST = 'g';
    
    Sites.KONGREGATE = 'k';
    
    Sites.JIGGMIN = 'j';
    
    Sites.FACEBOOK = 'f';
    Second, there are lots of ships that shoot things. There's probably more in here, so I figure I"ll just paste the code again:

    Code:
    {"parts":[{"_id":1,"name":"Beetle","type":1,"weight":4,"energyUsage":1,"thrust":5,"upgrade":{"weight":-1.67}},{"_id":2,"name":"Jelly Fish","type":1,"weight":1,"energyUsage":3,"thrust":4,"upgrade":{"thrust":2}},{"_id":3,"name":"Umpa","type":1,"weight":9,"energyUsage":0,"thrust":9,"upgrade":{"weight":-3}},{"_id":101,"name":"Wisher","type":2,"weight":5,"energyProduction":4,"energyStorage":1,"upgrade":{"energyProduction":2.5}},{"_id":102,"name":"Six Finger","type":2,"weight":8,"energyProduction":8,"energyStorage":0,"upgrade":{"energyProduction":4}},{"_id":103,"name":"Tripple Z","type":2,"weight":4,"energyProduction":1,"energyStorage":3,"upgrade":{"weight":-1.67}},{"_id":201,"name":"Bungee","type":3,"weight":5,"health":1,"recharge":1,"reflect":3,"upgrade":{"reflect":2.5}},{"_id":202,"name":"Energy","type":3,"weight":4,"health":2,"recharge":2,"upgrade":{"recharge":2}},{"_id":203,"name":"Steel","type":3,"weight":8,"health":9,"recharge":0,"upgrade":{"weight":-3.67}},{"_id":301,"name":"Boulder Dash","type":4,"weight":6,"energyUsage":1,"dps":7,"fireRate":1,"upgrade":{"weight":-2.33}},{"_id":302,"name":"Brilliance","type":4,"weight":1,"energyUsage":2,"dps":3,"fireRate":0.2,"upgrade":{"dps":1.5}},{"_id":303,"name":"Remorse Maker","type":4,"weight":5,"energyUsage":4,"dps":9,"fireRate":2,"upgrade":{"dps":4.5}},{"_id":401,"name":"Zero Sum Field","type":5,"weight":9,"he3":2,"destruction":11,"upgrade":{"weight":-3}},{"_id":402,"name":"Big Bertha","type":5,"weight":8,"he3":1,"destruction":10,"upgrade":{"weight":-2.67}},{"_id":403,"name":"Starbirth","type":5,"weight":9,"he3":3,"destruction":12,"upgrade":{"weight":-3}},{"_id":404,"name":"Universe Killer","type":5,"weight":13,"he3":5,"destruction":13,"upgrade":{"weight":-4.33}}],"success":true}
    Also, it seems like you can edit the health of your ship, probably like the accel/speed/jump in pr2.

    Code:
          this.setContent('<h1>Chassis Settings</h1>');
          this.widthSlider = new Slider(null, 20, 160, this.editor.collective.width, 'width');
          this.widthSlider.setDimensions(100, 30);
          this.widthSlider.div.css({
            'margin': 'auto'
          });
          this.addChild(this.widthSlider);
          this.heightSlider = new Slider(null, 20, 160, this.editor.collective.height, 'height');
          this.heightSlider.setDimensions(100, 30);
          this.heightSlider.div.css({
            'margin': 'auto'
          });
          this.addChild(this.heightSlider);
          this.healthSlider = new Slider(null, 1, 100, 50, 'health');
          this.healthSlider.setDimensions(100, 30);
          this.healthSlider.div.css({
            'margin': 'auto'
    There's probably more interesting things lurking in the code, so I'll update this when I find more things.

    EDIT: Found something else

    Code:
    {"me":{"site":"j","name":"nikc10","power":1,"fame":0,"exp":0,"guildId":0},"success":true}
    Last edited by Wolframium; 1st June 2012 at 11:38 PM.

    "We accept the love we think we deserve"

  2. The Following 18 Users Say Thank You to Wolframium For This Useful Post:


  3. #2
    Interesting.


  4. #3
    Yep, I've been going through it as well. (I love how he's coding it in JavaScript, now I can easily see exactly how everything is done.)

  5. #4
    lol nice c:



  6. #5
    I find this bewildering. Didn't he say at one point that this is very similar to PR2? Yet, it has ships, shooting, etc. Unless it is...no...no....GASP! What if it is in the future of WAR OF THE WEB? It is after the shuttle is launched. And you race in space similar to PR2? No way....no way!
    I make video games! Check out my video games daily!
    Unforgettable Flames™ website is here!
    Unforgettable Flames™
    It has all the latest info on my company's games!


    Zinx10
    The Ultimate Zapdos

    "Throw the CHEESE..."

  7. #6
    qWeRtYuIoPaSdFgHkLzXcVbNm dum's Avatar
    Posts
    8,501
    Blog Entries
    1160
    Thanks
    8811
    ["_trackSocial","twitter","tweet",b])}})})})(window);


    Looks like you can tweet this game :p
    hi
    wicked is good








    banana feet ftw



    best week 9 level ever

    Ariana Grande Hipocrite Problem
    ?

    unban lsd pls

  8. The Following User Says Thank You to dum For This Useful Post:


  9. #7
    Quote Originally Posted by memberator View Post
    ["_trackSocial","twitter","tweet",b])}})})})(window);


    Looks like you can tweet this game :p
    Can you post the full code you got that from, or at least which file it is?

  10. #8
    qWeRtYuIoPaSdFgHkLzXcVbNm dum's Avatar
    Posts
    8,501
    Blog Entries
    1160
    Thanks
    8811
    (function(b){(function(a){"__CF"in b&&"DJS"in b.__CF?b.__CF.DJS.push(a):"addEventListener"in b?b.addEventListener("load",a,!1):b.attachEvent("o nload",a)})(function(){"FB"in b&&"Event"in FB&&"subscribe"in FB.Event&&(FB.Event.subscribe("edge.create",functi on(a){_gaq.push(["_trackSocial","facebook","like",a])}),FB.Event.subscribe("edge.remove",function(a){_ gaq.push(["_trackSocial","facebook","unlike",a])}),FB.Event.subscribe("message.send",function(a){ _gaq.push(["_trackSocial","facebook","send",a])}));"twttr"in b&&"events"in twttr&&"bind"in twttr.events&&twttr.events.bind("tweet",function(a ){if(a){var b;if(a.target&&a.target.nodeName=="IFRAME")a:{if(a =a.target.src){a=a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);b=0;for(var c;c=a[b];++b)if(c.indexOf("url")===0){b=unescape(c.split("=")[1]);break a}}b=void 0}_gaq.push(["_trackSocial","twitter","tweet",b])}})})})(window);
    /* ]]> */
    Quote Originally Posted by Garrus View Post
    Can you post the full code you got that from, or at least which file it is?

    view-source in google chrome

    EDIT: unescape? (bold and italicized) is that suppost to be runescape? lol
    hi
    wicked is good








    banana feet ftw



    best week 9 level ever

    Ariana Grande Hipocrite Problem
    ?

    unban lsd pls

  11. #9
    Wow looks interesting

  12. #10
    Quote Originally Posted by memberator View Post
    (function(b){(function(a){"__CF"in b&&"DJS"in b.__CF?b.__CF.DJS.push(a):"addEventListener"in b?b.addEventListener("load",a,!1):b.attachEvent("o nload",a)})(function(){"FB"in b&&"Event"in FB&&"subscribe"in FB.Event&&(FB.Event.subscribe("edge.create",functi on(a){_gaq.push(["_trackSocial","facebook","like",a])}),FB.Event.subscribe("edge.remove",function(a){_ gaq.push(["_trackSocial","facebook","unlike",a])}),FB.Event.subscribe("message.send",function(a){ _gaq.push(["_trackSocial","facebook","send",a])}));"twttr"in b&&"events"in twttr&&"bind"in twttr.events&&twttr.events.bind("tweet",function(a ){if(a){var b;if(a.target&&a.target.nodeName=="IFRAME")a:{if(a =a.target.src){a=a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);b=0;for(var c;c=a[b];++b)if(c.indexOf("url")===0){b=unescape(c.split(" =")[1]);break a}}b=void 0}_gaq.push(["_trackSocial","twitter","tweet",b])}})})})(window);
    /* ]=]=> */


    view-source in google chrome
    Thanks. And I know how to get to the code, just not which file you got it from.

    Obviously has some sort of Facebook interaction as well.

  13. #11
    Weirdly enough, Jiggmin's last games were terribly underrated, mostly because he either put them on another website too soon, or because he put it on Facebook (seriously, facebook still sucks).

    Hope Luna doesn't go that way, though.

  14. The Following 10 Users Say Thank You to Darke~ For This Useful Post:


  15. #12
    Quote Originally Posted by Darke~ View Post
    Weirdly enough, Jiggmin's last games were terribly underrated, mostly because he either put them on another website too soon, or because he put it on Facebook (seriously, facebook still sucks).

    Hope Luna doesn't go that way, though.
    Blame Jose Toalha, he makes alt accounts on facebook to rate low on Jiggmin's games.

    *pow*

  16. #13
    qWeRtYuIoPaSdFgHkLzXcVbNm dum's Avatar
    Posts
    8,501
    Blog Entries
    1160
    Thanks
    8811
    So, looking at the code, we can get Experience Points in the game c:
    hi
    wicked is good








    banana feet ftw



    best week 9 level ever

    Ariana Grande Hipocrite Problem
    ?

    unban lsd pls

  17. #14
    Quote Originally Posted by memberator View Post
    So, looking at the code, we can get Experience Points in the game c:
    I should start learning all the codes for the future imma make games idk maybe

  18. #15
    Quote Originally Posted by memberator View Post
    (function(b){(function(a){"__CF"in b&&"DJS"in b.__CF?b.__CF.DJS.push(a):"addEventListener"in b?b.addEventListener("load",a,!1):b.attachEvent("o nload",a)})(function(){"FB"in b&&"Event"in FB&&"subscribe"in FB.Event&&(FB.Event.subscribe("edge.create",functi on(a){_gaq.push(["_trackSocial","facebook","like",a])}),FB.Event.subscribe("edge.remove",function(a){_ gaq.push(["_trackSocial","facebook","unlike",a])}),FB.Event.subscribe("message.send",function(a){ _gaq.push(["_trackSocial","facebook","send",a])}));"twttr"in b&&"events"in twttr&&"bind"in twttr.events&&twttr.events.bind("tweet",function(a ){if(a){var b;if(a.target&&a.target.nodeName=="IFRAME")a:{if(a =a.target.src){a=a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);b=0;for(var c;c=a[b];++b)if(c.indexOf("url")===0){b=unescape(c.split("=")[1]);break a}}b=void 0}_gaq.push(["_trackSocial","twitter","tweet",b])}})})})(window);
    /* ]=]=> */


    view-source in google chrome

    EDIT: unescape? (bold and italicized) is that suppost to be runescape? lol

    That's on every page on JV.
    Last edited by Wolframium; 1st June 2012 at 11:48 PM. Reason: grammars is hard

    "We accept the love we think we deserve"

  19. #16
    qWeRtYuIoPaSdFgHkLzXcVbNm dum's Avatar
    Posts
    8,501
    Blog Entries
    1160
    Thanks
    8811
    Quote Originally Posted by nikc10 View Post
    That's on every page on JV.
    oh
    hi
    wicked is good








    banana feet ftw



    best week 9 level ever

    Ariana Grande Hipocrite Problem
    ?

    unban lsd pls

  20. #17
    Quote Originally Posted by memberator View Post
    oh
    Fail.

  21. #18
    Quote Originally Posted by GamerProist View Post
    I should start learning all the codes for the future imma make games idk maybe
    If you plan on learning Javascript, I know a GREAT site. Just ask me, and I will give it to you. Also, high-five for future game designers! *raises hand*
    I make video games! Check out my video games daily!
    Unforgettable Flames™ website is here!
    Unforgettable Flames™
    It has all the latest info on my company's games!


    Zinx10
    The Ultimate Zapdos

    "Throw the CHEESE..."

  22. #19
    Quote Originally Posted by Zinx10 View Post
    If you plan on learning Javascript, I know a GREAT site. Just ask me, and I will give it to you. Also, high-five for future game designers! *raises hand*
    What's the site

  23. #20
    Quote Originally Posted by GamerProist View Post
    What's the site
    Can't remember if I am allowed to post links, but I'll assume so. If not, please remove the link below moderators:
    http://www.codecademy.com/
    I make video games! Check out my video games daily!
    Unforgettable Flames™ website is here!
    Unforgettable Flames™
    It has all the latest info on my company's games!


    Zinx10
    The Ultimate Zapdos

    "Throw the CHEESE..."

Page 1 of 2 12 LastLast