#i'll start using the codeblr tag
Explore tagged Tumblr posts
Text
Been thinking a lot about performance optimizations for the game.
The play area is meant to be huge with hundreds of enemies all doing their own thing in whatever location. The game should operate without the player's influence.
So that's hundreds of objects that all check their surroundings, send signals, have collision checks, timers, AI behavior, can shoot bullets, and whatever else.
For the bullets, I've been debating on just pooling them. In my mind, there probably won't be much more than 1000 bullets active at any time. That's not a crazy number, but considering how many objects are already being processed pooling the bullets can at least relieve a little strain.
The asteroids have big numbers too, there's hundreds of them. However, they're super simple in terms of movement and collision mask (They only check for colliding with each other). Many of them will be entirely off-screen so maybe I can find a method to stop an asteroid's processing until they return to camera view. Heck I can do that with off-screen enemies too!
Buuuuuut that would interfere with the idea that the game operates without player influence. An enemy's position should constantly upate , ESPECIALLY the boss. Maybe I can have enemies stop checking their surroundings until they're in view of a camera? (They do occassional query PhysicsState query checks to choose a target).
The game is meant to increase difficulty with the more enemies you defeat so instead of spawning new enemies I could replace off-screen ones with stronger enemies.
....Do I pool enemies? A lot can be defeated at once although not a lot would be spawned at once...probably. Some enemies could spawn other enemies too....
Aaaa. Optimizations are rough especially since they put a complete pause on gameplay development, but I need to address it early before the gameplay loop is fully constructed. I mean to make this chaotic game be multiplayer (or at least try to) so this is necessary.
10 notes
路
View notes
Text
Codeblr tag game - realization
@a-fox-studies thank you for tagging me in this!!
At what point in your life did you decide that the world of computers was the one for you?
Heh this is a long one... So read if u want to know some code-es lore :p
But tldr: My dad was a software/computer engineer and his dedication and working spirit is my biggest inspiration, but programming was never a passion of mine - languages were my big thing. This was until I took a programming course and realized that programming is just like learning languages, but with rules that actually apply.
I want to tag: @xiacodes @web-dev-with-bea @compooter-blob @alica-tech @lazar-codes @zoeythebee @cloudycodes @04kid
Programming was always around me when i was younger. My father was a software systems engineer, so when i was a kid i would see him work on matrix looking code, and sometimes he'd even let me press buttons!
But i wasn't really interested in learning anything about computers... I was instead interested in art and especially languages, which was my biggest interest and passion. Then my dad passed away, and following that I'd get more and more interested in programming during my teens, partly to honor him and my family, because on my dad's side almost everyone's a software engineer. I also had an email friend I met on omegle when i was 14-15, and he was 30 something, which... now that i think of it, it was probably pretty a little weird that he wanted to be my friend... but anyways, he was a software engineer and explained what coding/programming was and following that I made my first webpage using only HTML and CSS, in my notepad hahaha!!
But... I didn't do much after that, until I was in my second last year of high school. I signed up to take a programming course for my next and final year. I've always been curious, and wanted all the knowledge I could get, so when a programming course was offered I had to take it! But it was just another small drop in my big lake of interests.
I don't think I realized that computers and programming was what I wanted to do until I visited my family in Mexico 2 years ago, weeks before starting that programming course. For some reason I always saw programming and computers as something out of my reach - i couldn't possibly learn this. However, to prove me wrong, my cousin, who studied software development at the time, showed me his projects, and what he was doing. And, I realized that omg - I could also be doing this? It's within reach!
And then I started learning python in school and I was kind of discouraged, it was so difficult! Most people had previous experience, and seeing what they could already do I felt overwhelmed, thinking I should also be doing that. But I kept coming back to the thought that this is just like learning a language: if I just expose myself to more and more content it will start making sense, and sooner or later I'll be able to form my own sentences and the computer will listen to me.
I've always loved the logic of languages, how the syntax is built, and how verbs are conjugated in accordance to gender, numerus and time in different languages. But... there are always exepctions and irregularities you just have to learn. However, programming is all logic, everything has an explanation, even the seemingly inexplicable concepts. There is always a solution, and my creativity is the limit, and that is what keeps me going.
And then! I was looking at university educations to apply for, when on a whim I found out about my current school, checked what courses they offer and saw something about frontend development. I read the description, and realized that oh my god - this is my type of programming! I get to do design and art AND code? And since studying here, I have realized that, yeah, this is exactly my field, and I love computers and I just want to learn more and more and more, always, and there are so many rabbit holes to fall into within programming.
During my time in school, I would envision myself working with something static in the future; like just going to uni, learning a job, and then doing it. Then, I remember being on studyblr, and seeing the quote "now is the only time in your life when your full time job is to learn" and I took it to heart, and that is what kept me motivated - I thought, what a privilege to just learn for a living. And that is exactly what working with software will be (:
My biggest weakness is finishing writing shit lol, my feedback in on essays was always: ok great, but dont have 3 different points where we think its gonna end but we're met with yet another finishing paragraph. So I'll just end it quickly here, thank you for reading!
#programming#studyinspo#studyblr#studying#tag game#codeblr#coding#programmer#girl coder#python#css#html#long post#code-es#academia#computer science#compsci#computers
20 notes
路
View notes
Text
Coding Language Tag Game!
Rules: Talk about your most favourite and least favourite coding language, and tag more codeblrs to do the same!
Tagged by: @a-fox-studies @wallf1ower
Killing two requests with one post, Thank you guys for tagging me I haven't written anything here for a really long time and I love that you guys thought of me, Thank you.
I will start with least favourite but not for the reasons you guys may think: C
Circa 2019/2020: My C teacher was really good at explaining C and giving us exercises but that was just it. We didn't build anything mindblowing and the syntax was just too cumbersome for a small task, so many lines of code for doing something really small it didn't seem like it was tech-forward and I just thought they had to be other languages that could do this with less code and better syntax.
My favourite is Python and Javascript
Python-- When I was probably in my early teens when I first saw "Nikita" she was talking to her computer and it could talk back to her, when I first researched Python and was learning it in 2021 I just knew that was AI Nikita had in her hideout was done with Python, those were my first thought and I immediately jumped on it and learned the basics, the syntax was easy to understand, it was straightforward, really great if you ask me but I had to abandon it because at the time I couldn't find a community and this was pre-CHATGPT so... I would get lost and googling was a lot. Things have changed since 2021 and I would love to revisit it sometime.
My ultimate favourite is Javascript:
I'll list why:
There's a wide community of people using it, you will never feel alone.
It's a multi-purpose language, you can use it to build almost anything and it just keeps getting better.
You don't need a special teacher, school or compulsory to learn the language, you can just learn from the web there are loads of free resources and most of it is free. $FREE.99
I love how everything in Javascript is somehow connected, the language has so many easter eggs and the deeper you get into the language the more you'll discover it. "Oh, so a method is basically a function but a function in an object! Wow!" It's just a beautiful language.
Thanks for reading! I'm tagging: @cherrypikkins @xiacodes @codelore @web-dev-with-bea @crazypaine
24 notes
路
View notes
Text
loom(s)
ash | she her
codes, music, thoughts
USER CHANGE !!
loomspost -> loomworld
01 ) who am I?
my name is loom(s)!! I use the prns she her, im chinese and indonesian. I'm a bisexual leaning fem!! im TiNe sx5(w4)94 R[C]UE/I/ (TYPOLOGY)
02 ) what is this blog for?????
this blog is my personal blog / online identity !! haha kiddingg, mainly used js to write down my opinions nd sometimes my thoughts, I share a lot of my music taste here and updates on artists nd bands (mostly the 1975!!) I like. I sometimes post my codes!!
I currently don't have specific tags for posts becoz I'm too forgetful for that
I'm very sensitive, meaning there's gna b a lot about my thoughts and everyday life. If you dont like this, feel free to break moots ^^
My blog is not necessarily apart of a fandom hence personal blog, but its leaning into the 1975 and codeblr. So you'll see a lot of codes, the 1975 and other bands alike!!
I also quite literally just post about shit im intrested in currently, ill reblog anything I find intresting and post walls of text sometimes just writing my thoughts down or answering asks. Chain reblogs are my absolute favorite thing on tumblr, so I reblog a lot of reblog chains either with my own thoughts or just the reblog chain itself.
I advocate for lgbtq and I'm a feminist, I share a lot of my ideals and beliefs here!! I dont try to push them but I blog about them quite often.
This blog is everything inside my mind !! everything that's going on inside there is literally my blog, this is like my identity. If u don't like seeing posts about like one topic that I'm currently fixated on then this blog isn't for u, I post movie reviews and I'm literally a cinophile!!
Beware this blog quite literally is my little diary, if I feel like shit I'll be blogging about what happened that day and how I feel. All TWs will be in #s and I will warn before hand so if you dont like any topics mentioned than just scroll past !! this blog is like an online tracker or an online database of my life. (this is dead ass just my identity.)
03 ) about me
I believe in the magic of science and see beauty everywhere, I'm the biggest fan of The 1975, MCR, PTV, TV girl, and many more. My music taste varies and depends on my mood a lot of times! I listen to a little bit of everything, from cpop to jpop and kpop. im really into jpop and kpop too! but I come crawling back to the 1975 everytime. I live in jakarta and my dream is to live in NYC, I can speak 5 languages (russian, chinese, english, indonesian, swedish) im a cinophile and I love music!! I play 3 different instruments (violin, piano, flute) and I code (python). Im into quantum physics and science itself!! I dont really post abt my intrests, just my thoughts and experiences, I do occasionally post abt them tho!!
intrests <- click for intrests
04 ) DNI
basic dni criteria, terfs, lib fems, bigots, the 1975 antis, matty healy antis, Taylor swift antis, rad fems, support harmful labels or ideologies, CC supporters, excessive nsfw blogs, sinophobia in any way, fucking flat earthers, JKR supporters, Vanessa Kirby antis, RCTAs, ECTAs, white feminists (as in white feminism), ai supporters, Elon Musk dickriders
05 ) BYF
selective follow / slow to follow back sometimes. Not following you back doesn't necessarily mean I don't like you!usually it's because of lack of shared intrests, intrests I don't want to see, untagged / excessive nsfw, excessive discourse etc.
excessive reblogging / once I'm on tumblr and I find something like literally anything i like, I'll start reblogging it. I reblog shit a lot so that might clog ur following dash.
I do a lot of 'housekeeping' / for moots, I'm not gna instantly reblog the stuff u blog abt esp if it contains nsfw. I'm very picky on what's on my page !!
Inconsistent posting / what I mean by this, is my theme constantly changed and the stuff I reblog or blog is constantly changing!!
6 notes
路
View notes