DEV Community

Cover image for I want to make a 2D survival game!
Harsh
Harsh

Posted on

I want to make a 2D survival game!

I want to make a Web-based 2D Pixel open-world survival game with monsters. But I have no idea what or how to make it. I don't know how to code, and I'm thinking of using AI to make it. But AI isn't very smart you know? There's a token limit too so I'm planning to divide the project into parts like Map, Player, and UI. I tried generating a World map using Perlin noise but now the world looks like the attached image. How can I make it look beautiful and have random structures where the player can actually enter and explore? What should I do?

Top comments (3)

Collapse
 
pengeszikra profile image
Peter Vivo

Open world survival game is a big quest, and hard to earn.
My POC game is using vanila JS without any game engine, so your mission is not impossible. Maybe worth to take look my code on github
dev.to/pengeszikra/javascript-grea...
AI can better help for a content creation than a coding help.
Keep image generation first on a AI, make a spritesheets, and start coding a map builder code. You get a much better performance if you are using limited size images.

Collapse
 
harsh793xd profile image
Harsh

Thanks; I'll check it out! Also, I want to jump directly into web game development, so which languages and what game development knowledge should I have a basic foundation in?

Collapse
 
pengeszikra profile image
Peter Vivo

HTML / CSS / Javascript / WEBGL / SVG / WebAPIs -> This is the way

Dark Path: Unreal Engine, Unity, Godot - or other fancy game engine, then you miss the core knowledge of webdevelopment which is essential.