r/GraphicsProgramming • u/Sad-Teaching-9052 • Jun 09 '24
Question It's "naturally possible" to me create a simple game from scratch?
I'm a Computer Science student currently taking a course in graphic computing. For a project, my friend and I need to create a simple GC project based on a haunting legend — essentially, we need to design a project involving a ghost. The core requirements for the project include collision detection, sound, models, textures, and more.
We are considering the idea of creating a simple horror game. Given our background in Linear Algebra, C Programming, Data Structures, and some experience with OpenGL, we are wondering if it is possible to create a basic horror game engine within 2 months.
In your opinion, is it possible for students with our knowledge to create a very simple horror game within this timeframe? What additional topics or resources should we study to get started? Most importantly, is it realistically achievable in 2 months?
Of course, if not possible, we considering create something static too.
10
u/R4TTY Jun 09 '24
It's very possible if you stick with 2D. I don't think 3D would be impossible, but the physics gets complicated.
-2
u/Sad-Teaching-9052 Jun 09 '24
Sorry for not specifying, but it needs to be in 3D.
4
u/R4TTY Jun 09 '24
Could do 3d graphics with 2d gameplay. Like a top down game. Don't need much physics for that.
2
5
u/zatsnotmyname Jun 09 '24
Is the goal the game, or the engine code of the game?
If the goal is the game, use Unity or Godot or Unreal.
If you need to use more of your own code, use Raylib, SFML, SDL for the basics. You can have a window up with a ghost sprite running in a few minutes. You still would need to write the code managing the collisions, logic, loading, etc.
If you need to write the whole thing for a class, I might have one person do the Raylib path, while the other folks get the OpenGL version going, then merge the code.
2
u/Sad-Teaching-9052 Jun 09 '24
I see, in core, we have to programming some basic GC concepts from scratch, like collision and model rendering using openGL and the good academic math and computing. But for sure we will search more about Raylib, thanks you! (For instance, we have think create like this: https://youtu.be/4jM2JacW2e8?si=rJSnzal0e8gMZt1D)
-6
u/TheGratitudeBot Jun 09 '24
What a wonderful comment. :) Your gratitude puts you on our list for the most grateful users this week on Reddit! You can view the full list on r/TheGratitudeBot.
3
Jun 09 '24
How many hours a week are you planning to dedicate and how disciplined are you?
Bugs take an undeterminate amount of time to fix. Having other peogrammers rubber duck them for you can help, but you can still get stuck and not finish the project on sxhedule, especially since bugs appear usually sequentialy, not in parallel, so, management-wise, you cant optimize debugging.
Otherwise, if you get a good opengl resouece and finish the rendering pipeline in the first month, Id say you could have a very basic horror game on your hands in two months.
2
u/Sad-Teaching-9052 Jun 09 '24 edited Jun 09 '24
We have projects, subjects and assignments weekly because of the University, but, being optimistic, let say 2 hours daily ─ 10 hours max weekly. In general, we enjoy challenging ourselves with project like this one and we already have knowledge in planning and development (parallelize work), but this is our first openGL project, because this we don't have a solid foundation to confidently say, "Okay, we can do it.". This post is to gather some experienced opinions on the matter. Currently, our biggest challenge is figuring out how to start and what to study.
4
u/fgennari Jun 09 '24
That's not a lot of time. 10 hours a week for 2 months is only ~80 hours total, which is two work weeks full time. You may be able to do it if you can split up the project and work on it independently. Try to use existing libraries as much as possible: Assimp for model loading, stb_image for textures, GLM for math, etc. Start with the basic rendering of static objects, camera movement, etc. and add features if you have the time.
3
u/olesgedz Jun 10 '24 edited Jun 10 '24
That is not enough. Even if you had some game engine development experience, making a new game in such short time would be a challenge.
4
Jun 10 '24
You better think small with that timeframe. A simple shooter with a ghost coming at you may be all you can do in that timeframe considering (well assuming) you have never done this before.
2
u/lazyubertoad Jun 09 '24 edited Jun 09 '24
Technically, Pacman fits the requirements, just saying.
Seriously, in three days, create a concept you think you can implement in two weeks. If you finish it faster than in two months - just add more features and polish. What you've said says nothing about the amount of work. Art may be a big problem, you are not artists and horrors depend on having decent art. Some Pacman spin-off may be just fine, imo. Like, make it in 3D first person or third person view where you do not see the whole maze, with some radar for ghost detection.
0
12
u/ButchDeanCA Jun 09 '24
It is possible within two months but if you have no experience then it could likely fail to be complete. I did something similar one year after graduating but it took me around a year to get something final that addressed everything you’re trying to do.
What my safe approach would be, given the time frame and your level of experience, is to start with the easier static thing and work on making that the best it can be; a polished easier project is better than an unfinished complicated one.