Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "2d"
-
Researching to making a small 2D game using constructor classes and while building out classes, was working on my Tree method using fractal geometry and made a wallpaper out of the tree 🌳13
-
Update on this: https://devrant.com/rants/1641198/...
I was a little tired but made updated and currently getting a more natural looking tree.27 -
So I'm learning 2D game dev in java.
(I know)
Being stubborn I'm coding everything myself because, you know who needs libraries.😅
And
Holy toenails ,I have mad respect for the guys who build game engines. Especially 3d engines.
Y'all are beasts.28 -
THIS is why unit testing is important, I often see newbs scour at the idea of debugging or testing:
My high school cs project, i made a 2d game in c++. A generic top down tank game. Being my FIRST project and knowing nothing about debugging or testing and just straight up kept at it for 3 months. Used everything c++ and OOP had to offer, thinking "It works now, sure will work later"
Fast forward evaluation day i had over 5k lines of code here, and not a day of testing; ALL the bugs thought to themselves- "YOU KNOW WHAT LETS GUT THIS KID "
Now I did see some minor infractions several times but nothing too serious to make me refactor my code. But here goes
I started my game on a different system, with a low end processor about 1/4 the power of mine( fair assumption). The game crashed in loading screen. Okay lets do that again. Finally starts and tanks are going off screen, dead tanks are not being de-spawned and ended up crashing game again. Wow okay again! Backround image didn't load, can only see black background. Again! Crashed when i used a special ability. Went on for some time and i gave up.
Prof saw the pain, he'd probably seen dis shit a million times, saw all the hard work and i got a good grade anyways. But god that was embarrassing, entire class saw that and I cringe at the thought of it.
I never looked at testing the same way again.6 -
*starts Unity 2D project*
*puts sprite right in the middle of the camera*
*nothing shows up*
*deletes Unity 2D project*
fml10 -
Normal people:
Buy some fucking lights and put them on the house before 10th of December.
Haxk20:
1. Buys 100RGB leds.
2. Solders them together to make a 8x8 matrix.
3. Spends entire fucking night coding that shit to display any letter or number and actually displays any sentence you give it.
4. Adds moving letter effect to it.
5. Adds not moving effect to it because previous step broke it.
6. Thinks about releasing it to public.
7. Looks at the terrible code written by half sleeping Haxk20 running purely on coffein.
8. Gives up on releasing it and rewritting this shit is not a way.
9. Looks at the matrix and is happy that at least it works.
Yes i will most likely release the code but be warned the code is really terrible and lot of shit is hardcoded into it because i was half sleeping. Letters are done using 2D array and only characters defined in the code can be displayed.
Will add photo to the comments in few minutes.19 -
I've been working for years on a game that would be a mix between Dwarf Fortress, Factorio and SpaceChem.
Problem is, I keep switching between engines and languages, never making too much progress. I've written several isometric rendering libraries, tried out going fully 2D ASCII or fully 3D in unity... And then something else eats up my time for a while again.14 -
Blender.
3D modelling, UVs, texturing, animation, video editing, compositing, motion graphics, motion tracking, 2D animation, and a fucking powerful render engine? Check.
Great community? Check.
Powerful and easy scripting system? Check.
A well organized dev team? Check.
People who care about UI/UX? Check (look at Blender 2.8).
Does it compete with a major corporation that would go into sloth otherwise? Check. (If you thought M$ was shaftware wait till you see Autodesk)
There are other FOSS projects that I really like, but my vote definitely goes to Blender.7 -
Coolest thing i've built solo? I think it's my 3D snake multiplayer game.
It all started with a simple 2D snake game to teach programming basics at community college. Then i added a multiplayer mode based on a simple UDP implementation. Then i wondered how it would look ike in 3D and i had the idea to figure out how to implement a 3D engine by myself and i dove into the maths and wrote a simple 3D engine based on a windows forms picture box.
I showed the game to my colleagues and the loved it and we played it a lot.
So i added special mode boosters, and sound and map events and obervermode and observer polls.... you know it.
Here's a little collage of the journey...8 -
Job title :
"PHP and MySQL Programmer"
Job description :
"We are looking for a Flash Developer with a high level of proficiency developing ActionScript solutions.... bla bla Development in a 2D and 3D environment"
doesnt say ANYWHERE what is require to know in php nor mysql
EDIT: actually it does but why would they put php and mysql programmer if thats not the main things they are looking for6 -
I finally ended my first side project ever. I challenged myself to write a Tetris game in vanilla JS (with the less possible lines of code), some algorithm was tougher than I expected (2d array hell) but I made it ! 500 lines of JS code, I feel I could refactor some stuffs now...4
-
5 years ago i was working on a 2D game using C and we needed to use the sleep function (I forgot why ) .but however one of my team member did something new , for each second he did an empty for loop from 0 to 1000000 .You never know maybe that's how it's implemented (sarcasm)1
-
Apartment owner tells me to get out for a few hours while he repairs some stuff around the house . Get laptop , get wallet , go to kfc , go to order , only have money to get a large coke and a coffee , set up laptop , start working on my 2D game project , one hour later hobo comes in and begs around for 2 mins , before the guard catches him , he goes to order instead and gets a large duo bucket with coffee ...fml being a poor dev before paycheck...2
-
I think I nailed it.
I had an interview on Friday. Never had I ever such a good one. Everything went so smoothly I'm amazed to this moment.
It started pretty much normally. Few questions about me and my CV. Next some soft skills check and few minutes talking in English to make sure I know how to speak.
Next, two funny trick questions. I hope I'll translate them good enough.
1) You've got 6 cups in a row. Three of them, next to each other, are empty. Remaining 3 are full. You've got one movement to make them stand alternately, ie. Full, empty, etc. or Empty, full etc.
2) You've got yourself a cake. Normal, birthday cake in a shape of a cylinder. On three cuts, you have to cut it in 8 equal pieces.
Next was technical interview. The only thing I couldn't answer to was a formula to get angle between camera and two objects on the scene. Something about cos x.
They told me that I was the only recruitee to make project using Hololens SDK. Other people made the images gallery in 2D only.
Also they were VERY impressed that I managed to send them fix that changed a lot of the gallery in an hour. No one was expecting it so fast since the feature wasn't all that simple. Or so they said. Code was written so it wasn't hard to implement this change.
Now I've got to wait at least a week for their response. As you could imagine, I'm nervously checking my email each time I get any spam.
I'd like to thank @fire-phoenix and @Root that were responding to my last posts about this new work tasks and current hardships. I know it's a bit too early to celebrate but I'm just so hyped for how well everything went 😀12 -
Dear YouTube tutorial makers, if you list your video as a tutorial doing something only to make people download a library of framework and then teach us how to use the library you can go fuck a cactus :-3
Every single video that interests me like building interpreters, new 2D game methods and the like all have no actual ground up programming at all... Ugh!6 -
Wrote a C++ program that calculates the binomial coefficient C(n, k) using a 2D vector of 64-bit unsigned integers, and without thinking gave it the input 65535 for both n and k to "stress test" it. Only after my laptop froze did I realized that I should have upgraded the RAM to 32 GB before pulling of this stress test.
Felt like a dumb user afterwards ☹️8 -
Heh.. Came across my first PC last week :) oh the nostalgy... Entity, Mach3, wolfeinstein 3d, Dangerous Dave in a haunted mansion and a guy pushing boxes in a 2d maze.
DOS, nc and windows 3.1 [in that pile of 5" floppies bottom left].
oh the times!8 -
bash.org, this website always cracks me up. Never gets old.
A few hilarious samples, if you will:
http://bash.org/?23601
<mage> what should I give sister for unzipping?
<Kevyn> Um. Ten bucks?
<mage> no I mean like, WinZip?
http://www.bash.org/?14258
<Sigurd> a sprite is anything not static
<SRElysian> a sprite is a variable object
<SRElysian> be it 2d or 3d
<TorMuck> a sprite is a fucking soda
<TorMuck> you god damn geekass bastards5 -
Some time ago I went for a job interview (Unity3D Dev). I have little experience in this field and never thought that I would get this job but wanted to gain some and thought that it would be a great opportunity.
So after the interview, which was great and I really enjoyed it, I've been tasked with making a simple minigame. Only requirements were that there have to be player controls, character must avoid obstacles and camera must be moving with player's progress. I've made a little spin on those. In 2d minigame I've created you are piloting simple (made out of 3d primitives) rocket. You have to avoid randomly spawned platforms. If you hit one, you explode. You also die, if you hit a wall or fall out of camera and hit Destroyer. Camera is constantly moving as long as you are moving. The spin is that you have very limited fuel. To regain it you have to land on said platforms with your thrusters. It took me around 12h to make this game. The only reason I know it is because they wanted this info. I've learned a bit while working on this minigame and had a lot of fun. It was a great impuls to start learning gamedev again and stop stagnation I fell in when I started my studies and work.
Today I've got response. Obviously I didn't get the job. They took more experienced person and I totally understand that. But there's more. They were so great to give me pretty extensive review of what was done good, what could be done better and how to gather more experience. They said that the game met their expectations and was written well. That's great, because I was worried that it would be bad since I haven't worked on graphics at all.
So, at least I got an impulse to start learning and maybe I'll even go for some game jam!4 -
Yo Guys🤓...Check out this game that I made as a part of learning Javascript. A simple combination of a 2d platformer and Flappy Bird.
Made it in like a month...Proud of me...
Tell me if you like it I want to work more on it...😆
http://superjump.azurewebsites.net6 -
I had to create a c++ dungeon 2d game as University project.
The spec said "a terminal game made with char"
I and my team made a real game with anemies boss, and balanced stat in 15 days with Qt (we asked if can use external libraries)
We got 6/8 point for the project cuz we forgot to put protected/private the attribute of the player...3 -
I still don't understand the effect devRant has had on me...
When I first joined I was quite happy just being my old 2D game developer self but now all I want to do is build CLI tools, interpreters, root through source code I don't understand and not shut up about arch... Not sure of I'm down the right track or not now10 -
I just remember this short story:
When I was about 7 or 8 (around 1994), my dad had a computer at his office with MSDOS.
There I'd type "carmen.exe" and it would start "Where in the world is Carmen Sandiego?" or "pool.exe" would run a 2D Pool game I don't remember the exact name.
And yet, there was a "dolphin.exe" that I always thought it was a game but I never got it running. Obviously I don't remember what was the exact issue but to this day, 20+ years later it still bugs me to know what was this "dolphin.exe" program.4 -
Coworker: We you have to estimate these tasks.
Me (thinking): This task should take one day, but I'll add 4 hours in case something unexpected happens again.
* Estimates 12h
Coworker: Alright, the tasks for this sprint have been selected. Please start to work on them.
Me: * Starts working on certain task
* Sees time available for task
2d 4h (=20h)
* Writes coworker
Dude, that much time is overkill for that task!
Coworker: Yeah, the client said something similar.
Me: Then why did you estimate it that high?
Coworker: 🤷♂️
Me: Ok, what am I gonna do with all that extra time? 😑
Coworker: 🤷♂️
Thanks mate.
Around 4 hours in and almost done. What should I do with that extra time?
Task in question: Add a mutually exclusive field to a database table, add it to the form, test it and update the docs.
Enjoy the unrelated, clickbait cat14 -
Software engineering gets more diverse every year with problems ranging from faking 3d shadows on 2d browsers to accurately mimicking chemical bonds on the electron level.
I guess we primarily will get advanced tools, to make more complex problems easier to tackle. Just compare manual punch card piercing pliers to the JetBrains tool chain.
Also I believe that the roles that developers embody will get even more diverse, people will have way more specific functions in their ecosystem.5 -
Ok friends let's try to compile Flownet2 with Torch. It's made by NVIDIA themselves so there won't be any problem at all with dependencies right?????? /s
Let's use Deep Learning AMI with a K80 on AWS, totally updated and ready to go super great always works with everything else.
> CUDA error
> CuDNN version mismatch
> CUDA versions overwrite
> Library paths not updated ever
> Torch 0.4.1 doesn't work so have to go back to Torch 0.4
> Flownet doesn't compile, get bunch of CUDA errors piece of shit code
> online forums have lots of questions and 0 answers
> Decide to skip straight to vid2vid
> More cuda errors
> Can't compile the fucking 2d kernel
> Through some act of God reinstalling cuda and CuDNN, manage to finally compile Flownet2
> Try running
> "Kernel image" error
> excusemewhatthefuck.jpg
> Try without a label map because fuck it the instructions and flags they gave are basically guaranteed not to work, it's fucking Nvidia amirite
> Enormous fucking CUDA error and Torch error, makes no sense, online no one agrees and 0 answers again
> Try again but this time on a clean machine
> Still no go
> Last resort, use the docker image they themselves provided of flownet
> Same fucking error
> While in the process of debugging, realize my training image set is also bound to have bad results because "directly concatenating" images together as they claim in the paper actually has horrible results, and the network doesn't accept 6 channel input no matter what, so the only way to get around this is to make 2 images (3 * 2 = 6 quick maths)
> Fix my training data, fuck Nvidia dude who gave me wrong info
> Try again
> Same fucking errors
> Doesn't give nay helpful information, just spits out a bunch of fucking memory addresses and long function names from the CUDA core
> Try reinstalling and then making a basic torch network, works perfectly fine
> FINALLY.png
> Setup vid2vid and flownet again
> SAME FUCKING ERROR
> Try to build the entire network in tensorflow
> CUDA error
> CuDNN version mismatch
> Doesn't work with TF
> HAVE TO FUCKING DOWNGEADE DRIVERS TOO
> TF doesn't support latest cuda because no one in the ML community can be bothered to support anything other than their own machine
> After setting up everything again, realize have no space left on 75gb machine
> Try torch again, hoping that the entire change will fix things
At this point I'll leave a space so you can try to guess what happened next before seeing the result.
Ready?
3
2
1
> SAME FUCKING ERROR
In conclusion, NVIDIA is a fucking piece of shit that can't make their own libraries compatible with themselves, and can't be fucked to write instructions that actually work.
If anyone has vid2vid working or has gotten around the kernel image error for AWS K80s please throw me a lifeline, in exchange you can have my soul or what little is left of it5 -
well finally start work at main menu at my new 2D game and without main menu there is no bug 😱😱😱😱😱😄😄😄😄😄😄2
-
Woohoo!!! I made it to 1000++s :) Now I feel less newbie-like around here :)
So... I don't want to shit-post, so in gratitude to all you guys for this awesome community you've built, specially @trogus and @dfox, I'll post here a list of my ideas/projects for the future, so you guys can have something to talk about or at least laugh at.
Here we go!
Current Project: Ensayador.
It's a webapp that intends to ease and help students write essays. I'm making it with history students in mind, but it should also help in other discipline's essay production. It will store the thesis, arguments, keywords and bibliography so students can create a guideline before the moment of writting. It will also let students catalogue their reads with the same fields they'd use for an essay: that is thesis, arguments, keywords and bibliography, for their further use in other essays. The bibliography field will consist on foreign keys to reads catalogued. The idea is to build upon the models natural/logical relations.
Apps: All the apps that will come next could be integrated in just one big app that I would call "ChatPo" ("Po" is a contextual word we use in my country when we end sentences, I think it derived from "Pues"). But I guess it's better to think about them as different apps, just so I don't find myself lost in a neverending side-project.
A subchat(similar to a subreddit)-based chat app:
An app where people can join/create sub-chats where they can talk about things they are interested in. In my country, this is normally done by facebook groups making a whatsapp group and posting the link in the group, but I think that an integrated app would let people find/create/join groups more easily. I'm not sure if this should work with nicknames or real names and phone numbers, but let's save that for the future.
A slack clone:
Yes, you read it right. I want to make a slack clone. You see, in my country, enterprise communications are shitty as hell: everything consists in emails and informal whatsapp groups. Slack solves all these problems, but nobody even knows what it is over here. I think a more localized solution would be perfect to fill this void, and it would be cool to make it myself (with a team of friends of course), and hopefully profit out of it.
A labour chat-app marketplace:
This is a big hybrid I'd like to make based on the premise of contracting services on a reliable manner and paying through the app. "Are you in need of a plumber, but don't know where to find a reliable one? Maybe you want a new look on your wall, but don't want to paint it yourself? Don't worry, we got you covered. In <Insert app name> you can find a professional perfect to suit your needs. Payment? It's just a tap away!". I guess you get the idea. I think wechat made something like this, I wonder how it worked out.
* Why so many chat apps? Well... I want to learn Erlang, it is something close to mythical to me, and it's perfect for the backend of a comms app. So I want to learn it and put it in practice in any of these ideas.*
Videogames:
Flat-land arena: A top down arena game based on the book "flat land". Different symmetrical shapes will fight on a 2d plane of existence, having different rotating and moving speeds, and attack mechanics. For example, the triangle could have a "lance" on the front, making it agressive but leaving the rest defenseless. The field of view will be small, but there'll be a 2d POV all around the screen, which will consist on a line that fills with the colors of surrounding objects, scaling from dark colors to lighter colors to give a sense of distance.
This read could help understand the concept better:
http://eldritchpress.org/eaa/...
A 2D darksouls-like class based adventure: I've thought very little about this, but it's a project I'm considering to build with my brothers. I hope we can make it.
Imposible/distant future projects:
History-reading AI: History is best teached when you start from a linguistic approach. That is, you first teach both the disciplinar vocabulary and the propper keywords, and from that you build on causality's logic. It would be cool to make an AI recognize keywords and disciplinary vocabulary to make sense of historical texts and maybe reformat them into another text/platform/database. (this is very close to the next idea)
Extensive Historical DB: A database containing the most historical phenomena posible, which is crazy, I know. It would be a neverending iterative software in which, through historical documents, it would store historical process, events, dates, figures, etc. All this would then be presented in a webapp in which you could query historical data and it would return it in a wikipedia like manner, but much more concize and prioritized, with links to documents about the data requested. This could be automated to an extent by History-reading AI.
I'm out of characters, but this was fun. Plus, I don't want this to be any more cringy than it already is.12 -
When I was at university in my last semester of my bachelor's, I was doing a game programming paper and our last assignment was to group up and make a game. So I go with one of the guys I know and this other dude since his previous game was really neat. Then two randoms joined that from my first impressions of their games wasn't much at all (one guy made four buttons click and called it a game in Java when we had to make games in c++ and the other guy used an example game and semi modded it.
Anyways we get to brain storming, totally waste too much time getting organised because the guy that volunteered (4 buttons guy) was slow to getting things sorted. Eventually we get to making the game and 4 buttons guy hasn't learnt how to use git, I then end up spending 3 hours over Skype explaining to him how to do this. He eventually learns how to do things and then volunteers to do the AI for the game, after about a week (this assignment is only 5 weeks long) he hasn't shown any progress, we eventually get to our 3rd week milestone no progress from him and the modder, with only three classes left we ask them both to get stuff done before a set deadline (modder wanted to do monsters and help 4 buttons with AI) both agreed and deadline rolls up and no work is shown at all, modest shows up extremely late and shows little work.
4 buttons guy leaves us a Skype message the day of our 2nd to last class,, saying he dropped the paper...
Modder did do some work but he failed to read all the documentation I left him (the game was a 2d multiplayer crafting game, I worked so hard to make a 2d map system with a world camera) he failed to read everything and his monsters used local coordinates and were stuck on screen!
With about a week left and not too many group meetings left we meet up to try and get stuff done, modder does nothing to help, the multiplayer is working my friend has done the crafting and weapon system and the map stuff is working out well. We're missing AI and combat, with our last few hours left we push to get as much stuff done, I somehow get stuck doing monster art, AI is done by the other two and I try to getting some of the combat and building done.
In the end we completely commented all of modders work because well it made us look bad lol. He later went to complain to my free claiming I did it and was a douchebag for doing so. We had to submit our developer logs and the three of us wrote about how shitty it was to deal with these two.
We tried out best not to isolate ourselves from them and definitely tried to help but we were swamped with our other assignments and what we had to work on.
In the end leaving and not helping right when the deadline is close was what I call the most shittiest thing team mates can do, I think sticking together even if we were to fail was at least a lot better.3 -
Guys any idea how to do fucking 2D terrain perlin noise generation i have basics like it can make flat terrain but i need to add perlin noise and in C no C++ C#2
-
When I hear people talk about love and the first thing that comes to mind is the Lua framework for 2D game development4
-
( true && false ).toString() + "rant"
49 20 6A 75 73 74 20 6C 65 61 72 6E 65 64 20 74 6F 20 73 70 65 61 6B 20 69 6E 20 68 65 78 20 6C 61 6E 67 75 61 67 65 2E 20 55 54 46 2D 38 20 69 73 20 74 68 65 20 6D 6F 73 74 20 73 70 6F 6B 65 6E 20 64 69 61 6C 65 63 74 2E 20 57 68 69 63 68 20 64 69 61 6C 65 63 74 73 20 64 6F 20 79 6F 75 20 75 73 65 20 6D 6F 73 74 3F5 -
Really hate being a developer sometimes, as soon as people find out what sort of Dev you are; they begin associating you with known successes and their personality...
I'm a game developer that works in 2D so I get thrown in the basket as being obsessed with Japan, have outlandish hair and am just an all round wanker.
Stereotypes can really bring you down sometimes...8 -
Went to Google Firebase Appfest
Made an App
Selected in the Top 3
Worked on the app further for 1 Month
Published it in the Play Store
Here is the Link-
Fling! Contact Share
Information Sharing Made Easier
Here's the Link-
https://play.google.com/store/apps/...4 -
Client:we want dynamic mapping of network and packet flow visualization like;packet tracer simulation
Us: is 2D visualization enough.
Client:yeah
*fast forward after first demo*
Client: now make it 3D with pipes representing cable.and packets flowing through them like water.
Me: fucccccck3 -
Just deployed my first big project!
Build on React using Redux and HTML / CSS (captain obvious).
The website is called https://2dor3d.com
It allows movie fans to vote Yes or No 3D after seeing the film in 3D.
On the other hand, it allows movie goers to check the current score and see if that extra 3D cash is worth it!
Maybe not, if it has a low score better buy the 2D ticket.
I would love it if you guys could check it out and hopefully start using it!
I'm super proud.
W1ckeD out, mic drop.14 -
"Intense coding. A day passes. Wait, how the fuck did my code work? It doesn't make any sense!"
It happens so, so often, God why 😐1 -
Hey all, this is my first post here, and this rant is mostly towards myself. I did a stupid.
I wanted to make a new cool game for a gamejam. I've had this idea of making an 3D RPG (you probably can see where this is going) so I thought I would continue on it during the jam, trying to make as much stuff as possible.
When I started, I realized that it's too much work to get anything cool done during the jam, so I ditched the idea and began to planning on a roguelike. It didn't really feel like my thing, so I passed that too. The mistake here was that I barely tried.
Then I was thinking of making a 2D RPG and started planning on it. I was an idiot and bought a 20e asset for it.. Then I realized that it would take too much time, too, and I had wasted money. Ugh.
Cue panic, where I go through all three ideas, devoting a lot of time into each one of them, then moving to the next, then I panic more. I was an idiot, very tired idiot.
Then I remembered the magic words: "Keep the scope small!" and decided that I will make that roguelike game. I delved more into it, found a python+libtcod tutorial for it and began reading and coding.
If I had realised that earlier, I would have done good progress on that roguelike, but instead I wasted time and money on something unachievable.. Well, I learned that I should always start small. It cost me multiple headaches, money and all around bad feels.
So don't do the same mistakes as I did. Just keep the scope small.
Hopefully this was a good first post, haha. And sorry for any spelling/grammar mistakes, English isn't my first language. Thanks for reading!
PS. I've been working on that roguelike a lot lately and I'm having so much fun. After this is done, I'll make something with that asset I bought so the money won't go totally wasted.9 -
For those keeping track of what inwas doing here: https://devrant.com/rants/1641742/...
Inhave been playing around woth fractals and making trees (although it wasnt 3 dementional) i have been taking time to learn things there regardless and had an attempt at making a landscape using Perlin noise procedurally generated by the computer
I am planning on releasing the code as soon as i figure out making these trees geberate at certain points of the land and firstly, make it branch in a 3 dementional space
Update of the land
Although i dont have the most time to so this and had to learn java in the process to move away from the limitations i had in the browser. It is a fun experiance and good break away from my actual job.
Ill see how it goes while working on this
✌7 -
My first project was made with scratch (Java based drag-drop language for kids to learn) when I was like 10
I wanted to make something like mine craft but in 2D.
Its a huge plane of stone and you have to break some of them to find diamonds.
I didn't know lists or array exist. I made one variable for every freakin' stone and it took me a solid day back then.
Also if you break a stone, the background changes and it might happen that a diamond appears at a while you made 10 weeks earlier.
https://scratch.mit.edu/projects/... (it's German, don't be scared)6 -
My first dev project was making a small 3D engine in GameMaker 7 when I was 14. I had been using gamemaker for two years then but I never got past the "platformer movement and collisions" and "top down movement and collisions"
It was the first thing I made myself without following a tutorial and spend quite a few afternoons at school to ask my Math teacher to explain things like sin cos and tan. Words I saw on the internet but did not understand.1 -
A 2d simulation of the mars rover curiosity and its commandControl station. Pure java. The two components talk to each other via apache-kafka. Rover has its own operating system (kernel) and resource management. Hooked up some sensors to NASA API.2
-
Hey guys...
So...
Today was my first day in a Molding Company (CNC operator)... IT was fine, I barely could hold on physically but I did it :D In less than two weeks I'll be operating my 3 new machines like a PRO.
But that's not the full story... I came home, my dad calls me, and has a mold drawn on paper (2D) for me to model in 3D and print... lol.
I'm proud, not just because I got a new job at first try, now just because my dad asks me to build stuff, but Also because my dad is a DIY guy with lotssss of experience... And now he's the one asking for help, opinions, how to do something...2 -
Jumping back and revisiting some basics of game development that I've ignored for a while and decided to follow a tutorial for building a 2D minecraft clone just to see how easy it is to incorporate some of my engines capabilities...
Every single fucking function he is creating does not have arguments and instead uses hard coded numbers repeated throughout... Fucking send help7 -
So.... a while ago my non tech friends asked me to help with their game... As all of the devs out there who wish to make a game or work in HW company I decided to say YES....
Basicly the game was a 2D infinite runner and when I looked at it it seemed like it was allmost ready, but it was not :D
The codebase was horrible.... Non of those two knew how to write scripts properly.... Half of the time I spent trying to teach both of them how to code properly and make the code readable for other coders..... After that most of the time went in troubleshooting 3rd-party plugins regarding google play services and fixing anoying performance issues.....
And last friday we launched it for Android https://goo.gl/MZpjf9
I'm really proud of my non tech friends because they withstood my complaining about the sourcecode and learned a lot of new thing these past months!!! It was a pleasure making this with them..... I know that the game is simple and it could have been done in much shorter time, but part of the expirience is fun and making things happen with your friends!!!1 -
You make a platformer game and prototype open source and someone uses it and people assume i must be upset because they "stole" my idea. Wtf, i made it fpr the community to make something cool and thats it!3
-
So, I'm still not certain if it's actually a bug or merely my lack of experience, but I've been working on a 2D platformer game (using only C++ and SDL2) for roughly 2 years now (on and off; sometimes off for months) and I'm extremely embarrassed about this, but for the life of me, I cannot seem to get the player character's movement and collision physics working properly. It's driving me absolutely insane.
I've read articles and tutorials, referenced books, and posted about it in game development communities (e.g., gamedev.com, Discord servers, etc.), but even though the fundamental structure and explanations made sense, getting the code to work has been unsuccessful, albeit not completely so, but if I get one thing working, another thing breaks. It feels like I'm trying to repair a vase that fell off of a skyscraper and turned to dust on the street below.
I've always been a very tech savvy person with a fiery passion for programming, electronics and game/software/embedded/web development, but to be honest, having such a difficult time with things like this that — in theory, at least — seem like trivial bumps in the road have made me feel like I'm never going to be successful in this field. But regardless of the depressing thoughts of worthlessness, my passion doesn't let me stop trying. Who knows, maybe it'll have to remain just a hobby. 😕6 -
We use Unity in university to display the workings of algorithms.
Cus you know.. a little cross-platform 2d webgl is not enough.. we need this whole friggin engine with an IDE and its 1000 buttons and switches and need for an account and C#...2 -
Now this is the real shite! Microsoft's Surface Studio fcking Apple's iMac & Microsoft's Fluent Design fcking Google's Childish Material Design. http://fluent.microsoft.com6
-
Seriously what's wrong with the market right now, this is basically what some job ads said. They were even from the same company
Frontend job ad: are you a rainbow rockstar developer who just loves to code OwO(unpaid overtime) [buzzwords...]
Embedded systems job ad:
Serious job description
Required experience in c/c++
Other non bs stuff8 -
ME: ok its time to create a game let's see... i will do a 2d pixel art game and... it will be medieval type of game... ok lets start by creating a character design.
*30 minutes later*
Me: I quite!!!4 -
Recently I tried implementing a 2d grid you could drag (for performance I decided it would auto genetate new grid tiles)
Gotta say, I have a lot more respect for people who try to build this without a framework, I am building it using JavaScript and pixi.js
But man, drawing graphics is hard 😅
It's worth it though, performance is mad 💪3 -
First !rant. I'm working on a 2d game using Game Maker at school and I just wounder if putting constants up this way makes you cringe. Is there a better way? This code is only run when switching to a weapon and he values can be put into the shooting script itself. I just want to know how you put in mass constants in general coding or even at all.6
-
The programming things I've seen in code of my uni mates..
Once seen, cannot be unseen.
- 40 if's in 10 lines of code (including one-liners) for a mineswepper game
- looping through a table of a known size using while loop and an 'i' variable
- copying same line of code 70 times but with different arguments, rather than making a for loop (literally counting down from 70 to 0)
- while loop that divides float by 2 until it's n < 1 to see if the number is even (as if it would even work)
..future engineers
PS. What are the things you've been disgusted by while in uni? I'm talking about code of your collegues specifically, I'm also attaching code of my friend that he sent me to "debug", I've replaced it with simple formula and a 2D distance math, about 4 lines of code.6 -
Samsung has a bug in their galaxy software that essentially makes you unable to store anything that's not in the root folder on an additional sd card. After 2 years, they still have the bug. Additionally some phones will shit themselves if you try to format an sd card with it
How the fuck can they just leave significant bugs. The whole just get a new phone every other year mentality/industry style is both wasteful and seems to contribute to garbage software7 -
I couldn't sleep so I made a CLI 3D to 2D cube displayer in C# in an hour. Controls are (WASD) or (arrow + DEL + END). If you press ALT, the cube will rotate faster. Simple af. This is perfect as my first public repo.
https://github.com/filthycoding/...4 -
Started with some inspiration for making a 2d MMORPG.
These are how i make the world generator:
Decide you want to generate paths/roads.
Realize you need pathfinding function.
Realize you totally forgot how astar pathfinding works.
Search for implementation.
End up getting bored and implement other cool feature instead.
I literally made a bunch of stuff before writing a 20 or so lines long astar cause its boring. -
Just in case any other devranters are in China, here is this morning's updated chart if you have wechat you can follow this account, stay safe and wash your hands5
-
This year I could join the "Game Graphics" for my elective classes. After seeing that we are split almost exactly in half (graphics design and programmers) our tutor (graphic with 20+ exp in the field, worked on few Call of Duty titles and more) decided that instead of forcing everyone to draw something, we will be making games in groups.
So me, and my friend were grouped with two girls from graphic. I have to say, working close with them was an eyes-opening experience. They don't think like me, they don't see like me and they interpret everything different.
Anyway, as most experienced Unity dev (... Yeaaaah, one game self made and published) I was chosen to get rest of the programmers up to speed. Luckily no one objected and they did what I wanted them to do, so it wasn't bad.
Today was supposedly the last day to present finished prototype. After three weeks staying up till 1 am, working on this project, two other, and nornal job, it was supposed to end. But, no one was really ready. So tutor decided that we will only do this project, an 2D platformer, instead of two, this and 3D game.
While walking around and checking the progress he stayed with us at least two times, watching what we were doing. Since last two weeks were really hectic, we were finishing up animations, adding some polish and such. When he came to us for the second time, he played our prototype. He's a bit older guy, somewhere around his 60, and one could see he wasn't prepared for hard gameplay I presented him with my first level design ever.
He told us his feedback, about how hard it is and not really intuitive, but in the end, he was satisfied. We have made really great progress and brought him something he could play and finish. Which was more than most of other groups had at today. And, as a cherry on the top, he complimented me as a group chief. I don't remember the last time someone complimented my work. The feeling was... Incredible. Touching even.
So, yeah. My hard work wasn't in vain, even though we now have time till the end of the semester. Everyone in my team has given their all and now we can rest for a bit, while others are catching up. Right now I only have to polish some mechanics, rework a bit of level design and add tutorial, while girls from graphic design will be working on better background and sprites.
All in all, it was a pretty good day.6 -
The guy who leads the Objective Programming classes/labs told us that we have to make a game or an app to pass this semester.
I was so hyped, I've instantly started reading up on creating a 2D engine in C++ (which I don't like as much as C# but that was his conditions).
..as soon as I've created base for the engine, he said that the first version has to be console based.. so I'm like - okay, how do I show my 2D _graphical_ engine in a console?
So I came up with showing basic vector maths like movement towards a bearing angle and whatnot.
..now I've been pointed out that we are supposed to make a documentation, except it's supposed to contain info on ALL libraries and ALL classes our project will have.. which is insane, how can one predict what he'll need to accomplish the task? You can only know the half of the things you'll need, unless the project is way too simple.
I'm just plain annoyed, because this whole 'wow, I can showoff my mad skills' turned into 'wow, I have to do shit the tedious way and I'm already crying that I've picked a 2D engine and not a simpleton game like crosses and circles.6 -
Got bored and started work on a basic 2D game engine using vala and GTK to provide basic windows and UI...
If I can get a sprite moving on screen with at least 8 axis of movement I'll consider it a job done and throw her on GitHub and probably never touch again 👍8 -
Didn't even ask for 2 sets, the devRant team is just awesome! Thanks!
On and @localhost, it seems like people are sending their setup, so here's my student one :)1 -
Being someone's IT Bitch sucks. Yes I could just say that I won't help you but that will just make everyone think I am an asshole. It's even worse when it comes to printers. There isn't a single fcking 2D Printer that just 'works' and it isn't my fucking fault.
Then again maybe I am just salty because a girl that I love since I am 13 asked me to get her castrated LTE Router to port forward something so she can play animal crossing online today.... She usually doesn't even respond in simple WhatsApp conversations ..... Ffs I am sometimes feeling like a wreck @ 19 and what for? Just so I know Computers? Math? Science? I know damn well that this post is pure self-pity but maybe its better than drinking myself to sleep....10 -
Things to accomplish within the next two years = [
0. Get a job that actually pays me.
1. Use money acquired from said job to buy a bunch of stuff I want. (Like an actual PC instead of a laptop)
2. Learn a bunch of things about back end development (CSS is my passion)
3. Make a 2d game engine, so I can find what the fuck a game engine is/does.
4. Learn to comment my code more frequently.
5. Move out of the big nest.
6. Stop getting mad at video games.];2 -
Hello, world!
Okay, guys and gals... I need your creative minds. I need a concept for sort of a property manager for my game.. I have an idea of my own, feel free to tear it apart or throw it out the window.
So basically.. You'll no longer have one Computer System (and you wont instantly hit the login screen for that System on startup) Instead, you'll have a lot of things. They will probably only be represented using text and menu's (likely no 3D or 2D environments or anything.. Though, a setup like News Tycoon would be epic, but I think that would be too much for this game.) You'll basically start off with a small space (probably a basement) with x amount of free space. In that space, you'll need to add things like a desk, chair, and a laptop, or tower + monitor. You can also buy things like server rigs with a ton of space, but those are pricy and bulky. Each item costs X amount and takes up X amount of space. Also, you'll need a desk for a monitor (or multiples..) and other things.. (Like your rubber duck collection ;P JK) You can also rent and manage servers. (renting is more exspensive in the long run, but things on your server are not on your property. But, if you own a server on your property you can rent space to to NPCs) As well as manage your devices, properties, stocks, etc..
Also, there will be in-game time. Depending on how "comfortable" you are will determine how long you can stay up in a day. In-game events will take place later on at specific times so staying up (or not..) will need to be managed well. Especially if you're being targeted by a rival (NPC) hacker.7 -
First post here...Here's a funny thing that happened to me yesterday. I'm with my friend, we're both taking a break from school, and he comes up to me and mentions how he wants to make 3d games. Conversation goes a bit like this:
Friend: "Hey, I found this 3d model website. I'm thinking of using it for my 3d game."
He was already making a 2d game at this point, so I assumed he just gave up on it.
Me: "Well...do you have Unity?"
Friend: "Yes."
Me: "Well if you're going to make a game on there [stuff about c#]"
Friend insists he can easily make this. I tell him it would take years on end to learn C# and make a good game with it. And then he says something I never wanted to hear.
Friend: "Actually, no. You ever heard of Dani? D-A-N-I? He made a game in 2 weeks. He's actually making a new game and you should wishlist it on steam blah blah yatta yatta."
This guy believed someone else who was previously a game developer (if i recall) learned an entire programming language and engine in two weeks. He could've, but to me that seems seriously outrageous to someone who doesn't even know a smidge of programming.
He then advertised his YouTube channel and his games and brought down my arguments like "he probably had previous knowledge" completely. This guy doesn't even know where to start with C#. Really, all I could do after that was mention three.js (oh wow another JavaScript library, exciting), show him a game Google made with said library, and then said good luck...
Worst thing is, he uses Scratch to make games. And he genuinely thinks that is a real programming language.
That's it for my first post, thank you very much for reading :)6 -
OMFG... im in an AP computer science class and we are starting our first big project (this is a java class) and my teacher put us in a group of 3 and we had to figure out a project to do for the next 3 months. So like the teenagers they are they want to make a game... IN JAVA. like wtf java is not made for games. but since im only 1/3 of the group i have to go with the majority. So now I have to figure out how to do graphics in java. I am thinking of using LWJGL for 2d graphics. If anyone knows any other libraries for 2d graphics please let me know. (i don't want to use swing)17
-
The only project I wish I had more time to work on, and want to finish:
A 2D platformer as a gift for my girlfriend. It's about this little hooded gnome thing with a heart shape on its chest finding its other half that is supposedly miles apart from it because we're in an LDR so yeah2 -
Learn enough about 2D animation and game design to be able to make an RPG/interactive visualization of my favorite album.
(I currently know nothing about this lol.... so yeah ambitious)6 -
I have to show weekly progress on my 2D game engine this monday in order to be graded.. but I can't focus due to tooth of wisdom.
I'm THIS fucking close to using these:8 -
Just realised I had been gifted a tonne of Udemy courses covering Unity 2D and 3D, Unreal Engine, android studio etc...
Well... Know what I'll be doing over a few weeks!2 -
Failed another programming intervie. Didn't expect the 2D array question. Feel so bad. Just wanna cry and give up. I need to get better..fast.5
-
Achieving decent 2D collision detection using ray casting in unity is kinda hard. I have immense respect for gameplay programmers.
I'm almost there though...13 -
Fuck this algorithms course. How the fuck do you expect me to populate a 2d array of N^2 elements with data in linear time if you won't fucking let me write to more than one element at a time???
Dear CS department,
Make sure your homework makes fucking sense before shipping it off to students.
Regards,
A pissed off student
And before anyone comes at me with this "But you can technically do that if there's k*N elements and it would still be linear time" shit, fuck off; there's a worst case of needing to write to half the elements in the 2d array so it's still N^2 no matter how you try to "but technically" your way though it.3 -
Okay so for all of you who think that you can't do shit without stackoverflow. I'll tell you this, fuck SO. There's this ancient technique of programmers of old probably just about 20-25 years ago called RTFM. Why bother copy pasting some one else's spaghetti(that you might not fully understand) when you can write your own better code! (said in good faith). When something is behaving strange or you don't know what something requires just hit the docs or manual and read about the api because it is describes not only what it wants and needs but also what it does. So try this because it might have more information that you need than stack overflow might tell you12
-
Okay, going to delve into the world of C game programming. I come from a JS/React background and wondering where to start. I did a C project back in uni so I know some foundations.
Idea is a 4x space game with simple 2d shapes representing ships, inspired by an old game I can't remember the name of (anybody?)
Firstly, I am thinking Allegro as the lib, it seems to be more maintained than SDL. Does that seem good? Though not sure where to start, or any tutorials for someone who is scratchy with C.
Any advice on how to structure my code?
I like the idea of entity component system, is that sensible?
Cheers for any help10 -
Coworker: "Hey, I have an idea. I think it will be much better if, one month before launch, we pivot this project from using 2D animation to using 3D Animation with Motion Capture! It will save us so much time!"
Me: I'd be happy to look into it for you, but those technologies are very labour intensive and we don't currently employ anyone who has any experience in those technologies. However, I absolutely agree and I believe we could look at this in 1-2 years after the prototype of the application is completed.
Coworker: I'm more optimistic than you.
Actual conversation. Coworker made an animation once in college, which is the entire basis of their argument.2 -
We had to work in Unity once. Our goal was to create a tube, which is striped with two alternating colors and we should make it look like the colors are moving upwards to symbolise some flow inside the tube.
In Unity there is a way to do this with particle effects, sadly we weren‘t able to do this as it always looked 2D in the VR.
As the deadline rushed closer i had the most hacky idea i ever had.
I created a long one colored Cylinder and one very short and slightly bigger cylinder in the other color.
I then wrote a script, which spawns a big number of the little cylinders and slowly moved them towards the other end, where they get destroyed eventually.
It worked
It looked great
We never told anybody about this hack3 -
When I was 7, my dad bought me a pc. (in 2007). It had some sort of pentium processor and 2 gb ram. I had that pc until I turned 18. We changed the power supply some ports and mouse / keyboard but that's it. I learned all the programming basics, design even animation on that pc. It would take days to render a simple 2D animation. When I finally got the chance to go to a university and move overseas, I bought my own pc. As a full fee paying student, I still couldn't afford the latest and the greatest tech. I somehow bought a core i7, and with 8 gb ram, no bells and whistles. And now I'm almost 21. So when my friends recommend me killer games, I'm sorry fam, call me maybe 10 years later.2
-
I was trying to build a simple 2D (drag the fish to eat other fish) game in JavaScript, cause why not there are already many libraries i will certainly find one for my use.
I'm already familiar with p5.js thanks to Daniel Shiffman and his coding train sessions.
I thought to build the game with p5.js with the play and 2Dcollide libraries, but it turns out they don't have a custom irregular sprite collision detection neither the other thousands libraries which are rotting on github.
Guess, I need to build somethig own my own.
And I also hate it, cause I have to design those fishes, the main game logic, this collision detection function and levels
I need a coffee with a coding partner2 -
3D design is much more easier to learn than 2D design
Hold your tongue, i'm not arguing with you
🙄🚶🚶12 -
!rant :) FUUUUUUUUDGE YEAAAAH!
it's so satisfying when you've been working on a huge ass thing(when maybe you should have tested individual parts) and it just fucking works as intended amazing, I love it!
It's so beautiful to see your own compiler(jk just scanner+parser atm) compile code successfully -
Anyone with game development experience? I'm thinking of doing a game development side project soon. Not expecting the best results, but games like cuphead, hollow knight and salt & sanctuary inspire me (2D platformers).
Will PyGame or LibGDX suit me fine or should I use a bigger engine like Unity or Unreal?8 -
Emacs, once you gotten familiar it's just the best and there's lots of packages to make everything easy to do from emacs. Also it's very configurable1
-
Coding an Augmented Reality with custom implementation.
Coding a 2d UFO game with Unity.
I'm between those two as "most fun coding" -
Making a simple 2d game in unity for a friend:
Never used unity or C#, but this looks easy. Gravity is already there, background is drag and drop, etc. That shit is fucking easy.
I think the hardest thing is going to be the textures, and inkscape got my back on that!
Anyway, I really need to sleep but I’m just reading the tutorial!
LET ME SLEEP FUCKING DEV BRAIN!2 -
Please be gentle, first rant. :)
Can you please provide me with literature recommendations:
1. Books about software architeccture, design patterns and best practices in general.
2. "Relaxation" books related to developer's life experiences, something like "The Phoenix Project" (https://amazon.com/Phoenix-Project-...). I really enjoyed that. :)
I am aware that this is not best use of rants, but I would really like to hear this community recommendations. Thanks in advance. :)9 -
So I work at this place that primarily does games for training purposes using Unreal Engine and C++. I've been doing web development there in React and JavaScript. Our client wants us to transition to making the games playable in the browser (partially because of Coronavirus and the need for remote work / training). This is possible with Unreal, as there's a way to export a project to be played in a browser (Emscripten to compile C++ into JavaScript), though this feature was recently deprecated in a recent release of Unreal. The package size is ridiculous though, and for a very small proof of concept project we created, the package for the game totalled ~160 MB. This is for what was effectively a 2d game made with 3d assets. On a good internet connection, this takes about a full minute to load the game into the browser page. This is where the rant begins: it seems silly to me to be developing browser games in this way, and that we should switch to a browser specific option like Three.js with other tools. My coworkers on the game dev side of things don't know much at all about web development, and I've been trying to convince them that the package size is way too big. The browser games we'll be developing are going to be in very short development cycles, apparently one per week... So it seems like yet another reason why using Unreal is overkill here, and could slow our development speed, even compared to learning a new JS 3d library. The game devs tend to be very dismissive about the package size, making comparisons to the usual massive binary files they regularly deal with. Thanks for the read, this was my first post on DevRant. What do you guys think?3
-
So.. Godot and C++, good combo for writing cross platform games in 2D/3D and applications that are also possible to run in a webrowser ?5
-
Im currently working on a game, response and feedback is much appreciated.
-- idea--
I'm looking at creatures that will grow when someone that has bad thoughts or intentions.
-- story 1--
This boy grows up in a village that to his surprise, there no other kids in his village. The kids were mutilated. No one knows what happened. The ones with bad thoughts or intention will always be able to see that monster. As the boy grows up, he commits sin that are rather grave and when he grew up to 40 yrs old, he was dangerous person due to his character. His parents only saw his bright side of him and is rather unaware of it.
One day while talking to his mother, he felt rather uneasy, and went to the toilet, as he came out, she was no longer there. Thinking that she must be busy with house chores, he decide to head to the kitchen. Only to be greeted by his mother back facing him. She turned around and gave a big grin on her face that were as long as from one ear to the other. She then grew into a monster. The end
--
The story lacks a lot parts which I need such as gameplay, dialogues, and story itself.
Should I end it as the guy gets murdered? Or let the player think? Or leave as it is?
It's a 2d game though.
Ideas, suggestion or freedback is great!2 -
Devrant works surprisingly well here in China, except for saving pictures everything else works(mostly) but it's still nice to be able to use it here
Anyone else have similar experience in their country?11 -
Can someone help me?
I want to program games, (2d & 3d) I have made games in clickteam and RPG Maker, but I want to program them. My biggest issue is my hardware. I have a not so powerful notebook, and I don't have Wifi. So online installers are off the table. (Nono, visual studio.) Syntax, I like clean, easy to read syntax, and I would like an active community. Any suggestions?15 -
Fuck Love2d.
It has all these cutesy owo catgirl images and a forum that fits it too. When trying to fucking use it, I have to
1. import the image which isn't that big of a deal
2. create quads in a way that scans over the whole image in increments of x
3. create a thousand fucking spritebatches and store them all in a table so I can later alter them
4. somehow get that all right before I can even think of making a game that doesn't run like ass
Seriously fuck love2d and all its "Hi there! LÖVE is an *awesome* framework you can use to make 2D games in Lua" cutesy bullshit. Gamemaker 8.1, a more than decade old program at this point, is easier to use than this. If only it supported Lua. If only I wasn't fucking retarded and actually knew how to do this shit.12 -
Turn my partner's idea into fruition. I'm trying GameMaker since the concept is a text based 2d game.1
-
October's begun and I haven't even started on my game. Fuck.
My SO's birthday is in December and I wanted to make a small game for her using elements from Limbo and the like because I can't draw anymore and because the graphics automatically become easier to make by myself that way. It's a 2d puzzle solving narration driven platformer where the player finds their way across the levels to his other half (simple and cute, maybe even cheesy).
But see, the thing is, I took on too much work again and I can 'barely' juggle them let alone work on the game and it's going to be December before I'll even know it. And I made sure to plan a really simple game with no extra flowers and shit to make sure I'd finish it on time but I won't be able to at this rate and it just makes me sad, like fuck, should've thought this through before. :/ But now here I am, ranting away while taking the dump of my life on the toilet taking out my frustration in quite the literal sense while verbally slapping my shit on devRant.
Feels bad man. -
My first memories of the very first computer i got?
Not sure exactly when that was but all the first memories are of me playing games:
Some paper plane game on the really old macs (giant screens i think it was highlighter orange)
My auntie also had a computer when i was little i'd visit her for the holidays and j played some kid game about dogs.
When we got our first computer i remember some 2d metroid like game but it was where you play as some lady with a whip.
Also duke nukem 1, one of the games me and my dad played together.
Then later on we got a win98 computer i played age of empires and solitaire!
(i used to ride around on my bike with a sword pretending i was a cataphract LOL, i was never very good at RTS games when i was little so i'd build things and not have room for units to move, i kept building houses thinking you need a lot lol, me and the AI were at a stalemate, most because the buildings were in the way)
I remember my teacher giving me tips about age of empires when i was in primary, one of my favourite teachers too.
Good times -
I just finished my second semester of computer programming. I then say to myself : "Let's use my new knowledge to make the program I worked on for fun two years ago better and more efficient!".
It was a bad idea. -
A question to game devs : which design/architecture patterns do you use ?
Everytime I try to take a look at game development, I feel like there is a lack of guidelines, mostly about architecture.
It's something strange to me as a web dev, as we use much of these patterns on a daily basis. Of course I think about the near omnipresence of MVC and its variants, but not just that. Most of frameworks we do use are essentially focused on architecture, and we litterally have access to unlimited tutorials and resources about how to structure code depending on projects types ans needs.
Let's say I want to code a 2D RPG. This has been done millions of time across the world now. So I assume there should be guidelines and patterns about how to structure your code basis and how to achieve practical use-cases (like the best way to manage hero experience for example, or how to code a turn-based battle system). However I feel these are much harder to find and identify than the equivalent guidelines in the web dev world.
And the old-school RPG case is just an example. I feel the same about puzzle games or 3D games... Sure there are some frameworks and tools but they seems to focus more on physics engine and graphic features than code architecture. There are many tutorials too, but they are actually reinforcing my feeling : like if every game developer (at least every game company) has his on guidelines and methods and doesn't share much.
So... Am I wrong ? Hope to.
What are the tools and patterns you can reuse on many projects ? Where can I find proper game architectures guidelines that reached consensus ?6 -
In reference to https://devrant.com/rants/2333764/...
I've always wanted a desktop I could treat like apple maps. Pan and zoom (or on touch screens, pinch to exit, opposite to zoom).
Drag to create a new folder/region and name it, like a constellation of files. Zoom or click to expand, and zoom out to exit.
I guess it'd be messy af, but it's a different way of thinking and organizing for some of us.
Some of us think hierarchically (classic folders), and some of us think in two dimensions.
I dunno, I've just always found it easier to find things by organizing into 2d groups, no matter the number of files, versus having to scroll and search.
But you're reading a devrant by a guy who has north of 25-30k bookmarks, so I'm probably clinically insane anyway.5 -
I'm a Python programmer and I've been asked to build API's using Nodejs. It's been dofficult to even get the API running. Any advice on how to start? I am familiar with JavaScript7
-
I think U and I should always be together like they are on the Qwerty keyboard. xD
But there's a distance of parallel lines between us. -
Made a simulation/game in java using swing that runs on this algorithm:
-2D array was made (kinda like a chessboard).
-Random living cell was placed on the board.
Repeat:
-If a cell has X or less cells around it (living) it duplicates.
-If a cell has Y or more cells around it, it dies.
I was amazed at the types of shapes this created. There were so many variables I could play with, and probably spent hours just experiementing. I was really satisfied in the end. 😄4 -
Searching for a real-time header-only plotting library for C++ on Ubuntu.
Yes that's oddly specific!
Can't use matplotlibc++ (reasons),
Can't use Win32api based libraries,
Can't use QT based libs cause project is commercial,
Can't use GNUplot cause documentation is outdated,
Can't use ROOT (cern) cause its bloated! (~200Mb +)
It seems I have already exhausted all options.
Looking for suggestions in case I missed something.6 -
I started down my career path to make games. I have never really made anything good. I think I am finally fed up with not doing this. So I am going to be working on selecting a game engine. I want 3D, I want to experiment with voxels, I want a permissive license, I don't want something huge, I want to contribute back in a meaningful way, it needs to support 3D. So after looking around I found Godot. Another programmer who lives near me uses this as well.
Does anyone else have some good positive experience with game engines for smaller projects? I have played with UE4 and Torque3D/2D. I don't like the bloated feel of UE4 even though its a very cool engine. I didn't like their install system at all. T3D is old and not up to date.4 -
So I get to work on building a client at work for industrial automation. I am building a mini hmi to show customers how our server works. The code uses opcua. The reason I am making a client is because all the opcua hmis on the market are really expensive. There is nothing less than $600. There are hmis for free out there, but none of them say they support opcua. opcua has become a major protocol in the industrial automation industry.
It took me about 2 days to gin together a client that is pretty much abstracted and will be easy to maintain. A lot of that was just learning the opcua library client code.
Now I want to create servers and clients geared toward home automation for fun and profit. I want to take sensor data from arduinos using a simple serial protocol like modbus or other protocols that are supported. Then have an opcua server that collects this data. Then finally have an opcua hmi that I develop talk to these servers. The security model is much better and would be compatible with other vendors clients/servers. I already have a game engine I want to use for the hmi portion. It has tons of widgets for displaying data, graphs, lists, text, etc. It does both 2d and 3d.
This sounds like a project that could really fun, meshes with my work learning, and provides value to people that want to automate their lives.
The other side effect is that the next time I go looking for a simple and cheap hmi that supports opcua, there will be one. -
Is learning VIM worth it?
I have some (probably unjustified) prejudices to it - I find it rather visually unattractive. But it seems to me also that it boosts productivity.
So do you recommend it and what is least painful way to learn it?5 -
Hi webdev here, who would like to start developing 2d indie games. My main language is JavaScript. Is there any way I could start developing games without learning a whole new language?10
-
So I got my stress with unity settled a bit..
But what the fuck are these default coordinates on like every new object in the scene, using 2D?
Shit like (-0.4876651, -0.02003769, 0.0546875) dafuq.:D -
Rust is a nice language but the learning curve is quit steep so if you don't have time to pick it up I'd suggest using another language especially for assignments if they give you the choice. Otherwise you might like me and my classmates spend more time fighting the rust compiler than doing the assignment7
-
Hey guys and galls,
Lately I've been thinking about making a game or anything no language preference :p
If someone could give me some resources to look at I'd be more than thankful :^)
Aiming for a starter game like 2D platform jumper or metroid like.13 -
Do you have a programmers union in your country?
In my country we have a general union for all different kinds of jobs and a engineers union. Maybe if developers had a dev union there would perhaps be less bs12 -
Started my very first (summer) job as an IT agent in customer service for my city less than two weeks ago and finally moving out from the formations to answer the phone alone.
I must've listened to around 30 calls and already there's stories I could make tales of.
I now understand the job of customer service. -
"I say that flat is the new black; that 2D is the new avant-garde; that a surface doesn’t have to be ashamed of being a surface. Technology users of the world, unite: you have nothing to lose but your bas-relief buttons. Let us march forwards together, spurning chrome, into a cleaner, lighter future." - Steven Poole2
-
It's the 5th day of my holiday, circa 10.20 AM. So far I've spent around 30h programming, and learned React (already having experience with the other 2 major ME*N stacks I decided it was time to give it a go), made a small 2D platformer with Unity and realised I really like writing unit tests. Maybe next I refactor the app I just made to use GraphQL and TypeScript next, since I'm in the mood of trying something new.
Funny how my significant other thought being on holiday actually would mean a break from programming - no, it means more time to spend learning and trying things you don't have the time or energy to after a working day of Vue/C#!
(To clarify, I would not spend this much time programming on my holiday, if my better half wasn't away from home for this week - won't probably spend nearly as much time on it for the remaining 4 weeks...)2 -
How do you know that you are stuck in a job without longterm perspective (besides some undefined gut feeling)?
And what to do then? It seems to me, only possible action is to change job. Is there any, less extreme, alternative? -
In my school we had a CS lab and we were supposed to do lab assignments.
I had a book which gave a basic introduction on event driven programming, and introduced me to two new functions which I couldn't have ever known(I got internet in 2013) if I had gone with just the curriculum, kbhit() and gotoxy(). With this new knowledge I created my first 2d game. And that feeling of creating something no one expects and something fun, which also gets you attention of the whole room(Nothing like that was ever created in that lab, it was a shitty school), made me realize that this is what I want to do for the rest of my life. 😃 -
Thank you Matlab, for my daily dose of frustration.
Thank you Matlab, for deciding to surface-plot a 2D variable with the x axis = columns and y axis = rows, because of course that's the most intuitive way to go about it.
Because of course that's consistent with the standard way to refer to a variable's elements.
After all, everybody knows that Z(i, j) refers to the i-th column and j-th row of a matrix, right?
Thank you, Matlab, for depriving me of the little fuck I gave about getting something done today.
Now go die in a fire.6 -
Try indie game for pc. Download link is in the description of the video.
https://youtu.be/NqquNpDMs8c
This game is created for #GithubGameOff
This is 2D game.4 -
I halfway remade a 2d radar in shadertoy (original in description).
https://shadertoy.com/view/wt3SR7/
(watch it in 640x360 by zooming in or out until you get that res, I tried to main aspect ratio, but I hardcoded one value because I'm lazy)
shaders are tough to get started with:
no breakpoints.
logging doesn't make sense so it's avoided.
if's are replaced with step statements.
if you suck at math, you suck at shaders.
if you suck at trig, you suck at shaders.
hardcoding values is viable debugging.
hail hsb2rgb for pretty colors (I have no fucking idea how does it work though).
I tried writing here the challenges I found while making it, but most of them are heuristics and are hard to follow/explain in just text.
I can say though, that sometimes you come up with a solution, but it doesn't look really good, so you have to use something else.
or sometimes you come up with a solution but it also creates unwanted coloring that you have to erase.
or sometimes you have no fucking idea what your operations results are, or you get dizzy by the math. Hardcoding helps wonders.1 -
Are any of you guys doing mobile game development? I recently started looking into this and decided I want to learn. What frameworks are good for making online multiplayer 2D and 3D games?
If anyone of you have played hide.io, that is the type of game I'd love to make. I remember a couple of years ago LibGDX was the shit, but now I couldn't find it mentioned in any recent articles.2 -
So, i want to dive a bit into game development. But firstly without a game engine. Just some small projects, like a short 2d game, to get knowledge.
Any suggestions, to do so?
Which language, ide, framework etc.?
Thanks12 -
So i'm working on this course assignment program and i'm trying to remove object from a 2d array and I couldn't figure it out how to do it without messing the array indexes. Wen I was using aarrayList I could just do arrayName.remove(number), but not with the regular array. Than I had an enlightment moment.
Why not just move the object off the screen?1 -
So I'm a junior dev in a few languages and I recently went to an arcade. I got some inspiration again to work on a small toy of a game. I was wondering what you guys think I should make. I was thinking maybe pinball or something along those lines. I'd be using Godot engine so 2d is the main focus. tell me what you think and I'll post updates as I work on it.1
-
If I manage to complete my current project as intended then it will be my most successful project so far
-
Those of you who wants the bleeding edge of technology, here's the one for YouTube:
https://youtu.be/addme/...
This unlocks the sharing tab on YouTube's mobile app, like in the screenshot below. Make sure you are on your mobile device.
Enjoy sharing! :D
//Oh right, it's supposed to be a rant -
Gosh I hate when I ain't in the new technologic stuff already 'ghah 😡 😋1 -
I've mentioned this before, but I never really understood bit flags until I tried out Cocos 2D and read about how you implement hit detection. You identify different rendered objects with an enum value, and it would spit out a result every frame that you use bitwise logic on with the enum to determine which objects were touching. Such a simple and elegant way to represent combined state.
It may be elementary for some folks but I was not a CS major.1 -
I have been coding exclusively in Python on competitive programming websites. So far I haven't faced any issues w.r.t timing. Is it worth switching to c/c++?5
-
!rant very happy to see a development at my uni towards having programming(+related courses) being more and more examined throughout the course through assignments and seminars where you have to explain what you did and why. I think this is a much more suitable solution for some courses best done with practise than having a paper based exam.3
-
Just spent a full fucking day working on a C binding for Vala to use GLFW as the main OpenGL entry point... Only to now discover that SDL has an already impimented OpenGL window class and allows for basic 2D operations...
Well that was time well fucking spent1 -
I am looking to create a cool little 2D platformer for Android. The thing is I've mostly only worked on utility applications and haven't had to deal much with animations and physics etc. I feel like unity is over the top but I don't really know of any proper alternative. Any fellow Android devs out there who could recommend a library or framework to use that is relatively light weight?5
-
A game. A simple pixel-art, 2D game.
I told myself I'd start it after wrapping up other projects. When I did, I checked the docs for Electron and Phaser and... Well, lemme do some Node projects first... -
rant == needHelp(c++/Qt)
Ok, so I want to pass a pointer to my main class like
CSprite2D::CSprite2D(int number, Ui::MainWindow *i = 0) //gets the number of total sprites from MainWindow
{
number_sprite = number;
ui = i;
QTreeWidgetItem *item = new QTreeWidgetItem;
item->setText(0, "Node 2D " + number_sprite);
ui->treeWidget_2->items.append(item);
}
But I get an error (blablabla doesn't have a class type)
I know, some people hate it, when others use devRant as StackoverFlow, but I can't get any good results off SO, as I always get downvoted for some minor stuff3 -
In recent time, I'm thinking about to start freelancing (or at least start preparing for it).
Problem is that I'm completely new to it. In following weeks, which steps should I take to successfully introduce myself to that market? Which mistakes to avoid? Which sites do you recommend?
Thanks in advance for contribution. :) -
I keep getting emails from people I don't know that are like conversations, leading me to believe they aren't sent to the rightful owner. Most of the time, I see the email has uppercase at some places (when mine doesn't).
I just wish the companies could put a mark somewhere in their page when entering an uppercase email that mentions the fact that it doesn't change shit, getting really annoyed from receiving these mails not directed to me 😒 -
!Rant
Want to do some browser based game development. Which game engine would you guys recommend? 2D Side scroller style.5 -
Who else finds HTML/CSS to be just plain bad?
since that's what the web adopted, apparently no matter what you are developing if it involves a GUI then the design method almost always follows in the same path as the web.
that's not the issue though, the real problem is that the web adopted a very horrible way to create a UI, while HTML might have been fine for 90s-style websites I just feel like its a very lousy way to create a modern interactive webapp UI, its just very painfully obvious that it wasn't designed for that purpose. remind me again what HTML stands for? "HyperText Markup Language" yea that sounds about right. and CSS really doesn't help but double down on the flaws of HTML.
on a whim I can come up with a better method:
instead of the weird <body><footer> structure, why not have say "objects that flow in a 2D space", you define the parameters location and dimension of these objects, with something like javascript they interact with each other and just like div in HTML objects contain smaller objects.
this makes a lot more sense than the footer/body design or the obviously duck-taped attempts at controlling the style in CSS, like flow, and absolute-position.
am I alone in this?10 -
had a runtime error saying something tried to read an out-of-bounds element in a 2d vector; 1 day later I realize I had in a function assumed that the rows were major order instead of column as major, hence if the grid isn't square, it will read OOB at some point1
-
Hey guys, I am getting into game engine development and I wanted to start off with a simple 2D engine. But I don't know which source is the best to stick with.
So if anyone who has any experience in this field could tell me what course/tutorial they feel is the best to begin with, it would be really helpful.
My programming knowledge is strongest in C++.
I would also like to know as to how long would it take for a normal C++ dev to come up with a half decent game engine?4 -
Need a counter to play in a 2d game. 'Make it look 3d and good' they said. Fuck. Everything I do in Sketchup looks tacky AF. It's a piece to play on a white board with a black grid, like extended noughts and crosses. It doesn't need much.
Hello Microsoft Word, hello drawing tools, long time no see.1 -
Supposed to write a really simple 2d game and an AI to accompany it, thinking about doing it in JS as it's for a University project... I need to finish it fast(don't really care about the quality hence JS) and have been looking on a game engine/framework called MelonJS anyone heard of or used it? Grateful for all advice u can give. The AI I think I've got covered, but also any advice is helpful...
-
Not dev related, assuming that here is a lot of people interested in history , philosophy, books I would like to ask for recommendations for:
YouTube channels or site related to history, books reviews/recommendations (dev and non-dev related), philosophy.
Thanks. :)6 -
Anyone else grow up coding through online dev communities?
I grew up on this 2d ORPG game engine derived from mirage that had a smf2 forum driven community.
Oh the good old days... -
Hey!
I am trying to learn creating games for android (+- 0 android expirience).
I figured I could use GoDot for it's awesome pricing (free, no strings attached).
I've done few minor things, but, to be perfectly honest, I'm fed up of GDscript. I just internally hate it more every single time I touch it, so recently I stopped attempts to learn doing games for droid/iOS.
I'm looking for free alternative to godot, preferably no strings attached, but wahtever... Here is what I need:
- I prefer code, but doing stuff in GUI is fine, but stuff like making level etc, preferably in UI
- C++ derrived syntax (ex. c# etc. c++ is fine too), no BS like some wacky workaround to do basic shit like 2d array....
- easy android/iOS export (like in godot, one day I was attempting to hello world in android and compiling for first time... was quite an advanture)
- objects
- some easy way for restfull apis
Good to have:
- ability to test project without android VM
- observer pattern (signals/slots)
I don't care what structure it's made, for me milion of scenes on one screen was extremly coutner-intuitive but meh, whatever. As long as it's possible to learn, it is fine.
Can devranters help, please?
Thanks,
peace.16 -
Any good programming language with great generics support that is not dynamic ?
Rust generics sucks so much I puked 2 times.
Tried with swift and it looks great.
Golang doesn’t have them.
Java sucks.
Maybe I try julia if someone say it’s cool.
I want to implement some 2d vector algebra and simple physics engine.
I started by creating generic 2d vector and trying to create dot product from it.
I didn’t wanted to do it in swift but wasted 2 days trying to do it in rust vs 1 hour in swift including 49 minutes of installing swift tools.
Anyway anyone know performant language with good generics support, let me know in comments.41 -
Who amongst you remembers Ultima Online?
At one point probably one of the best games ever made. Even wrote the record for most players online and got in the Guinness Book of records for it. This was during the dial-up days. You kids these days have no idea how slow internet was or how cool it was to hear those three special words, You've Got Mail.
Everquest and WOW dont have shit on this game even if it never really went 3D. There was a sorta blocky 3d but it sucked which is why it failed. Everyone was content with 2d because the blocky 3d was trash in most circumstances.
With Ultima it made you feel like a kinda second life. And it wasn't a chore like Life Is Feudal or many of the other grundy games of today.
My 80 year old grandfather played it all day everyday. That's how fucking good the game was.
I would still be playing the official servers a decade plus, later if they would stop adding unnecessary dlc and they wouldn't have added a pay store.
It seriously pisses me off that I spent years collecting and hoarding rare items that I actually fucking earned and the assholes add a pay store that lets these new players buy the item I fought a boss four hours to get.
It ain't fucking right. It literally makes the rares worthless and my efforts pointless.
EA also rushed Ultima IX so it was buggy as hell and technically unbeatable unless you edited the game to let you cheat. Richard Garriott made the game and bugs and all is a masterpiece. His new game Shroud of The Avatar, not so much but that's a different rant.
I honestly wish EA would go out of business. They have ruined enough of my favorite titles with their incompetent bullshit and greedy cash grabs. If they would just make UO the way it was around the second age or Lord Blackthorn I'd guess a lot of us old-school vets would come back.
But as it is our only real option is to build our own servers or play someone else's which is what I do. Fuck EA!9 -
Algorithm suggestions for 2d and 3d volumetric combination of voxels?
I built an image to voxel converter for exporting to the game Avorion over the weekend. I am using a naive approach and treating each pixel as a box shape. I need to learn how to write an algorithm for combining voxels with the same color into rectangular cuboids. This will reduce the imported shapes. As is the game has issues with 64x64x1 images on import. It would be good to reduce the object count by creating cuboids with the pixels that can be combined. I would like to learn to write the algorithm for both 2d and 3d.4 -
!rant
any game devs here? wanted to know what kind of engine and sdk you most prefer? what do you think is the best for basic 2d mobile games? how did you make your choice?4 -
Guys, is any one worked with d3.js ?
I need a graph and my data source is a 2d array, A Boolean array I mean.
bool[,] matrix;4 -
Looking to play around with Xamarin - probably a 2d game - wondering what graphics library to start on. I have done some projects before with jmonkey (open GL for java).
Cocosharp looks to be unmaintained. Monosharp has some advocates at my workplace. Or there is a port of Google's skia. Any thoughts?1 -
What do you think about Udemy?
And if you took it, which courses did you find most useful - not only related to programming/development but in general?
Thank you in advance. :)3 -
I have multiple ones, my uni has for one several amazing professors that I admire. Then there's there's the classics Thompson, kernighan, djikstra et al. T.A.D, uncle Bob and last but not least Stallman
All of them has provided insights, knowledge and a better way to view code and software -
What container/virtualisation technology do you guys prefer?
Also I've been thinking of picking up either k8s or docker, mainly docker for ease of deployment or do you think it's wortb learning both perhaps? I do know they have a bit of different use cases6 -
Nobody ever tells me i’m not good enough. They always say: Maybe you should talk to X, or maybe you should ask Y. Well both of X and Y are either too busy, not in the office at all and ofcourse just as incompetent as myself, so they give a short excuse instead of being helping in a pro active way.
Also 3D transform has it’s limitations and can’t actually twist a 2D form in a “organic way”. Now i’ll focus on things that do matter like the header thats decided to change colour on a smaller screen. -
I believe that there's some evil dark magic in the BEAM that detects if the user or developer is on a non *nix machine and then purposefully throws all kinds of strange errors or just fucking blows itself up for no reason. Take the shit to a *nix machine and it just works like magic and is easy to work with which is part of the reason why I love it and the ecosystem.
-
I just finished my first commit of "3D Rendering Engine" <-- Best way I can call it I think.
QUESTION:
If I have a list of nodes with x, y, z values that I am projecting to a 2D plane, how would I rotate the whole list around the top (y) axis?
I am using python
If you are interested, here's the GitHub Repo:
https://github.com/hamolicious/...10 -
So anyone looking to make a 2d rpg? I'm really driven but it can be cumbersome as the only one working on it without people to collaborate with3
-
I need some recommendation for Web UI components framework which could be relativity easily integrated/used on Play framework web application.
Something like Primefaces or old Richfaces (but those are for JSF).
Thanks in advance. :)2 -
Is this review a joke?
https://freecodecamp.org/news/...
Seriously, take just 5 minutes you would find that C# is not fully supported even now in Godot. I see title "Lead Game Designer" and think "how stereotypical". The guy has a phd, so he is not dumb.1 -
I need recommendation for site/community to improve my (clean) code style?
And, in more general, what are your ways to improve code style and programming way of thinking - more oriented towards bigger picture of application/systems (patterns, architecture, etc.)?3 -
Contemplating ideas for a game that will involve some exploration and puzzles (aimed at teaching some low-level computer stuff like binary etc.) Replayed an old 2D game in an emulator, looked at some old adventure games, decided a 2D platformer might work for what I'm aiming for.
So I start making some pixel art, simple things like 32x32 tiles for bricks, some bigge ones for doors etc. And I discuss some ideas with my girlfriend for what kind of scenarios would fit into this game world.
Anyway, she normally draws and paints, but seemed interested in trying pixel art so I gave her a link to Piskel and a rough idea of some decorative items I'd want to put around the map. Within a few hours she created a flower pot with flowers, a coffee machine, a light with lightshade, a small pile of books, and a couple of other things - all shaded and detailed beyond any of my attempts, including lighting going from left to right (which I wanted but didn't specify).
I mean, I could've expected this but pixel art is quite a different beast to drawing or painting as you have to do more with less.
Now I just need to make my game engine. So far I have an SDL program with a flowerpot that you can move around xD1