Foul ENT

  • Home
  • Blogs
  • Podcasts
  • Videos
  • News shorts
  • About
  • Contact
  • Home
  • Blogs
  • Podcasts
  • Videos
  • News shorts
  • About
  • Contact

Code Club with The Cunt - #6

2/5/2015

2 Comments

 
I haven't written about my escapades for a while. It's a difficult thing to write about currently. I have so many projects I am working on that I find it hard to distinguish between the two, which makes it hard for me to write coherently about. Mainly because, in the back of my mind, I am always thinking “Is that the right one I'm on about?”
Picture
Currently I am working on an idle clicker incremental game for the website. It won't be particularly groundbreaking, it'll do what it says on the tin. What it will have is the standard level of piss taking you'd expect from a Foul Entertainment product and a sense of fucking humour. I really get fed up when these games take themselves so damn serious. Let's get one thing straight; They're not proper games. You can't lose. You can progress slower, but you can't lose. There is no real challenge, it doesn't take brains or awesome reactions. It doesn't take anything. So, hopefully our slant on it will be worth the massive waste of your time these things are.
The best thing about making this 'game' is that has tested me. It has forced me to go way outside of my comfort zone. For starters, before starting this game, I had no idea how to save progress in Unity. This game saves your progress, and I coded that. In Unity, there is a built in update function that is called every frame. Whether your computer has enough processor speed to run at 10 fps or 110 fps. I wanted to make something happen, every second, using the update function. But with the massive disparity that is possible with the end users computers, I had no idea what to do. The game does something every second, no matter what the speed of your computer and, once again, I coded that.
Picture
Image Credit: gamefaqs.com
Pictured: How it felt when I coded it.
I had to learn a lot of new things. I hadn't used the new user interface system before this game. Now, I can knock up prototype user interfaces within an hour depending on what is needed.

Pie a'la code

The biggest issue I had when I first started was that after I had done about 20% (still only at 35%) I had to pretty much start again. I had used a singleton. Now, there is a long winded and very informative description for a singleton, but I am gonna just go with how I used it. I used a manager script for the upgrades. This didn't give any major errors when playing the game. Each upgrade worked fine independently. It wasn't until I implemented saving and loading that the massive problem became apparent. Due to using said singleton, every time it loaded up the game on start up, it went all drug addict and started sharing. Specifically the values of variables. 
Picture
Image Credit: wearebaked.com
"Ay man, this shit'll get you variably fucked up."
See, because the singleton saved and loaded the different values (number of upgrades bought, current cost, etc.) once, whichever one was saved last, all upgrades loaded up that number next time you played. It was my own fault and it taught me a lesson, namely 'never share'. You lose half of your shit, other people get the benefit of your work and you catch AIDS.

Tobacco Code

There is nothing more frustrating than stupid shit like that happening. It genuinely crushed me. I had to turn in for the night. Not before I had spent six hours on a different computer viciously disembowelling a Unity project in front of what remained of the idle increment game. I had to let it know I wasn't to be fucked with. Let's just say that there is a platformer demo underneath a patio somewhere in the Midlands.
Picture
Image Credit: gratefultothedead.wordpress.com
It don't matter if you're inanimate, you don't fuck with The Cunt.
In the end though it was worth it, since I learned not to make that stupid fuck up again, I also learned around about 17 different ways to creatively call my computer a cunt. The final thing I learned? That family tree websites do not have records of computer families, so threatening to fuck their mothers in front of them, has little to no effect.

Picture
By The Cunt
Email The Cunt

A hidden face of the crew, The Cunt is main coder for Foul Entertainment games. He is currently documenting the progress of our game, Foul Fantasy, in his dev blogs.

2 Comments
shareit.onl link
15/1/2023 03:06:32 pm

Thanks for sharing the article, and more importantly, your personal experience of mindfully using our emotions as data about our inner state and knowing when it’s better to de-escalate by taking a time out are great tools. Appreciate you reading and sharing your story since I can certainly relate and I think others can to

Reply
mxplayer.pro link
15/1/2023 05:22:53 pm

hanks for sharing the article, and more importantly, your personal experience of mindfully using our emotions as data about our inner state and knowing when it’s better to de-escalate by taking a time out are great tools. Appreciate you reading and sharing your story since I can certainly relate and I think others can to

Reply



Leave a Reply.

    Blogs

    You can find all of our articles right here. Use the menus below to sort by date, author or series.

    Also, click the buttons below to explore our social network antics.

    Articles

    All
    30 Days Of Stuff
    5 Days With...
    Articles By Abdurahman
    Articles By Darren
    Articles By Frank King
    Articles By Jary
    Articles By Joe
    Articles By Mike
    Ask Jary
    Code Club
    Danke-bitte
    Deaf To All But Metal
    Death Of Video Games
    E3 2015
    E3 2016
    Foul Fantasy Devblog
    Foul-To's
    Friday The 12th
    General Foulection
    Jary Files
    Plenty Of Catfish
    Podcasts
    Pop Culture Club
    Rider Report
    Site News
    Star Wars Week
    #Tagurday
    WWE Stats 2019

    Archives

    January 2025
    August 2024
    June 2024
    April 2024
    January 2024
    December 2023
    November 2023
    October 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    January 2023
    December 2022
    November 2022
    October 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    November 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    February 2020
    January 2020
    December 2019
    November 2019
    October 2019
    September 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    June 2018
    April 2018
    March 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017
    April 2017
    March 2017
    February 2017
    January 2017
    December 2016
    November 2016
    October 2016
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    April 2016
    March 2016
    February 2016
    January 2016
    December 2015
    November 2015
    October 2015
    September 2015
    August 2015
    July 2015
    June 2015
    May 2015
    April 2015
    March 2015
    February 2015
    January 2015

© Foul Entertainment, 2015 - 2022
​
​