SJA random projects - Page 22

User Tag List

Page 22 of 24 FirstFirst ... 122021222324 LastLast
Results 211 to 220 of 236
  1. #211
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Updated score system:


    Two different games showing you need to be consistently good, not just be slow and get loads of kills.

    Probably add a penalty for games under 20 seconds.

  2. #212
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    I only really need to do the backend of the game now, then I'll do the last thing for the game it self, the highscore system.

    Added a geoip API so the game can pick the right flag icon for smartCTF when the page loads, this will make the first load of the game a tiny bit slower, but it's ignore after first load and just load the data from a cookie.

    Added settings so user can change name.



  3. #213
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Spot the easter egg(s):




    There are penalties for games under a certain amount of time.

  4. #214
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Added default scoreboard:





    Added <//UrS//> style leaderboard:



  5. #215
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Final preview, the rest of the stuff I'm going to do to that game are minor tweaks, as well as adding headshot announcer.

    The next thing to do is the game's backend for the stats website.



  6. #216
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Screenshot of early homepage for stats site:


  7. #217
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Just a screenshot to prove project isn't dead, start of match report page(it is zoomed out so i can get all of the current stuff into a sshot):


  8. #218
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Just wasted 1 hour 30 minutes, trying to get something really simple to work but couldn't no matter what way I tried...


    Turns out I forgot PHP json_encode set my int values as strings after fetching them from a database, and that was the problem, feel so stupid.


    Coding tired never a good idea... this is how simple the code ended up:
    Code:
    setMaxValues(){
    
            let b = 0; //current bot
            let c = 0; // current vaue
    
            for(let i = 0; i < this.bots.length + 1; i++){
    
                if(i < this.bots.length){
                    b = this.bots[i];
                }else{
                    //use human data here instead of using another function
                    b = this.human;
                }
    
                c = parseInt(b.caps);
                if(c > this.maxCaps){
                    this.maxCaps = c;
                }
    
                c = parseInt(b.grabs);
                if(c > this.maxGrabs){
                    this.maxGrabs = c;
                }
    
                c = parseInt(b.assists);
                if(c > this.maxAssists){
                    this.maxAssists = c;
                }
    
                c = parseInt(b.covers);
                if(c > this.maxCovers){
                    this.maxCovers = c;
                }
    
    
                c = parseInt(b.deaths);
                if(c > this.maxDeaths){
                    this.maxDeaths = c;
                }
    
    
                c = parseInt(b.flagkills);
                if(c > this.maxFlagkills){
                    this.maxFlagkills = c;
                }
            }
        }

  9. #219
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Messing around with SmartCTF, removed seals and defkills and added PickUps

  10. #220
    Whicked Sick UT-Sniper-SJA94's Avatar
    Join Date
    Oct 2011
    Location
    What was England
    Posts
    4,427
    Country:
    Playable 2DUT on DM-Stalwart with 3 weapons so far(alt fire hasn't been done yet)


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Another random game
    By UT-Sniper-SJA94 in forum Spam Section
    Replies: 79
    Last Post: 06-29-2015, 07:59 PM
  2. Random siege gif.
    By Chamberly in forum Screenshots
    Replies: 8
    Last Post: 01-05-2015, 04:17 AM
  3. Ben10 / Random / random Anime names
    By uenz in forum Reports/Complaints & Appeals
    Replies: 7
    Last Post: 08-30-2014, 02:43 PM
  4. Random bug
    By UT-Sniper-SJA94 in forum Spam Section
    Replies: 7
    Last Post: 03-13-2014, 11:22 AM
  5. Everybody random guy
    By |uK|B|aZe//. in forum Bans
    Replies: 0
    Last Post: 12-23-2011, 10:31 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •