Skip to content

Tags

#gamedev

Game development: engines, graphics, gameplay code and shipping games.

25 posts

Posts tagged #gamedev

  1. Question

    my snake game snake doesnt die when it eats itself?? kya galat hai 😅

    bhaiya didi help 😅 i made snake game in python (pygame) at night after physics. its working mostly but when snake eats itself it doesnt die?? it just goes through itself like ghost. kya ye sahi hai?? my friend says my snake is immortal lol here is the code (food wala part i removed to make it short, when it eats food i do snake_len += 1) import pygame pygame.init() win = pygame.display.set_mode((600, 400)) clock =…

    Aman Raj9likes11comments

  2. Question

    Godot 4 export: my demo .pck is 870 MB but the demo uses 2 levels. How do I export only what the demo needs ?

    Actually I am preparing the demo of my fishing game for the next Next Fest. Problem: the demo export is 870 MB. The full game is 1.1 GB. The demo has 2 lakes out of 9. Something is wrong and I think it is me. What I tried: Export mode "Export selected scenes (and dependencies)" with only the demo main scene ticked. The export is small, but it crashes when it loads lake 2, because the lakes are loaded by path from a…

    Olivier Gagnon6likes10comments

  3. Article

    AI upscaling will not save your frame budget (if you are CPU bound)

    No, so, every second performance discussion now ends with "just turn on DLSS". Players say it, okay. Producers say it, less okay. Last month a producer said it in a meeting about our game thread at 21 ms. I almost had a stroke. What upscaling actually does Temporal upscalers (DLSS Super Resolution, FSR, XeSS, Unreal's own TSR) render the frame at a lower internal resolution and reconstruct a higher resolution image…

    Bartek Wójcik14likes11comments

  4. Question

    my minecraft mod only works when i add System.out.println. is my code haunted 💀

    ok so this is lowkey the weirdest bug ive ever had. im making a mod with a background thread that loads some stuff and the main thread waits for it to finish. works fine in my dev env but on my mates pc it just freezes forever. no crash no error nothing heres the important bits public class Loader { private boolean done = false; public void start() { new Thread(() -> { loadAllTheThings(); done = true; }).start(); }…

    Jaxon Pearce15likes12comments

  5. Experience

    3 years into a 6 month project: what scope creep looks like from the inside

    my farming game was supposed to take 6 months. it is now year 3. i want to write down how that happened because i genuinely did not notice it while it was happening, and maybe someone reading this is in month 4 right now month 1 to 6: farming, a small town, 5 crops. the actual game. it was fun and nearly done then: "it would be cool if there was fishing". fishing took 2 months because fishing needed a minigame, new…

    Jake Morrison4likes6comments

  6. Question

    shader graph outline for sprites, how do you stop the edges getting cut off?

    trying to do a simple 1px outline on sprites when you hover them, to show you can interact. shader graph in URP 2D. my approach: sample the main texture alpha 4 times with the UV offset by one texel up, down, left and right, add them up, subtract the original alpha, use that as the outline mask it works... except the outline is cut off at the edges of the sprite. like the top of the characters head has no outline at…

    Jake Morrison2likes5comments

  7. Article

    pixel perfect camera in unity without the jitter (what finally worked for me)

    been fighting jittery pixel art in my farming game for literally weeks so heres everything that ended up mattering. this is URP 2D on unity 2022 LTS but most of it applies to newer versions too 1. one pixels per unit for everything pick a PPU (i use 16 because my tiles are 16x16) and set EVERY sprite to it. one sprite at a different PPU and it gets scaled weird and shimmers when it moves. i had the player at 16 and…

    Jake Morrison4likes3comments

  8. Experience

    my first game jam: 48 hours, 1 stray cat, 0 sleep, 31 ratings ~

    okay so i did my first game jam!! 🐈 a small one on itch, 48 hours, theme was "one more lap", about 400 entries. my idea: a stray cat in a temple town has to walk around the temple 108 times before the gates close, like a pradakshina, but every lap something changes. a monkey steals your snack, the flower seller moves her basket, it starts raining. you only have to survive one more lap. and then one more. what went…

    Tanvi Hegde12likes11comments

  9. Question

    How do you stop designers from putting logic on Tick in every Blueprint?

    No, so. New project, Unreal 5, small team (6 programmers, 9 designers). Designers are great, they build fast. Problem: every Blueprint they make has Event Tick with something on it. Checking distance to player. Rotating a coin. Updating UI text every frame. We have 400+ actors in the level, game thread is 19 ms on target, and I measured 6 ms of it is Blueprint Tick. I tried: Talking about it in the meeting. Worked…

    Bartek Wójcik5likes11comments

  10. Experience

    showed my demo at a tiny indie night in Tenjin. 23 people played. 学んだこと / what I learned

    天神の小さなインディーゲームの夜に、デモを持って行きました。23人が遊んでくれた! I took my demo to a tiny indie game night in a bar in Tenjin. 23 people played it! I was so nervous I drank 3 oolong teas before the first player sat down (=^・ω・^=) 学んだこと / what I learned Nobody reads the tutorial text. 0 of 23. Zero. They pressed buttons until something happened. I am replacing all the text with a cat who points at things. 6 people got stuck on the same…

    佐藤はるか Haruka5likes7comments

  11. Article

    Steam wishlists: my honest numbers after 9 months of a 'coming soon' page

    Since my Steam page went live in November I get the same DM every week: "how many wishlists, is it good ?" So voilà, everything, the good and the plate. The total Wishlists added: 3,412 Wishlists deleted: 272 Net: 3,140 after 9 months Where they came from My best estimate, from UTM links in Steamworks and the traffic breakdown: Reddit GIF posts: ~31%. One GIF did about 600 alone: the fish stares at the camera while…

    Olivier Gagnon14likes9comments

  12. Article

    devlog #9 夜市ねこ / night market cat: month 7, 412 wishlists, lanterns that flicker

    開発ログ #9。今月はランタンの光を作りました。 devlog #9! this month I made the lanterns (=^・ω・^=) 数字 / numbers wishlists: 412 (+38 this month) savings: about 14 months left, if I eat a lot of rice bugs fixed: 23. bugs created: 26 😿 ランタン / lanterns (GIF: the night market street, paper lanterns swaying a little, the light on the stalls slowly breathing, the cat shopkeeper blinks) I wanted the lanterns to feel alive, but not like a disco.…

    佐藤はるか Haruka4likes8comments

  13. Article

    Why I left Unity for Godot (and no, it is not only the runtime fee)

    Bonjour. I am making a weird fishing game in Godot since almost 2 years. Before, I was 8 years in a big AAA studio in Montréal, and my personal projects were all in Unity. People ask me often why I switched, so voilà, the long answer. The short history, for the people who were not there 12 September 2023 : Unity announces the Runtime Fee. A fee per install, starting 1 January 2024, once your game passes a revenue…

    Olivier Gagnon27likes16comments

Get the best of Dynamo Geeks weekly

One email each Monday with the most useful posts. No spam; unsubscribe in one click.