ā Making game aplication
I have project for college where I would have application, website and database all connected into one project. I came up with idea to make a game as application, website for registering, seeing game info and scores and database to just connect all data. It has to be somewhat sizeable project because it will span trough whole term and will work for few subjects. I am just not sure on what game to pick. I think it has to be singleplayer game so maybe something like maze solving game where you solve maze with keyboard. Maybe someone has other ideas or suggestions for this?
46 Replies
also because it involves mutliple courses so it must be interconnected but also one course requires to see 3 separate systems, I think making database and website wont be hard so it seems most work will involve about making the game
$projects
Collections of application ideas that anyone can solve in any programming language to improve coding skills:
https://github.com/dotnet/dotnet-console-games
https://github.com/karan/Projects
https://github.com/florinpop17/app-ideas
there may be some in there that provide some inspiration?
but also don't cross post if you're already asking in chat š
I see these are console games
I also made one last year but I wonder how hard would it be to make something similar in like window form
yeah they are console games, but you were just asking for an idea for a game, there's no reason you can't take the general idea for one of those and adapt it
so it wouldnt be that hard to make them in more visual form
Slide puzzle looks interesting
and if I make it in forms I can make it as picture instead of just number
I think I am gonna try that one
You can 2d games in forms using ex pictureBox and sprites etc and some game engine libraries , not sure which one atm but i did it long time ago
Note that Windows Forms has limited support for transparency and is slow as dirt compared to for example WPF
What is WPF?
I havent done much graphical looking things and window forms looked simple
Maybe start with some images and pictures. Then move over to 2d games using a 2d engine
It stands for Windows Presentation Foundation - Which is a GUI Framework using C# and XAML.
Well yeah for starters I will test it out but I need to know with which one I should begin. So WPF is just better overall?
For Windows, yes.
It is a framework exclusive to Windows, it is not cross-platform.
But so is Windows Forms.
WPF does have a learning curve if it's your first time with a XAML based GUI Framework
$rulesofwpf
What I am doing shouldnt be too complex visually
Just moving picture from place to place
Go for single player as multiplayer is very complicated unless you have experience in that field previously.
As my name suggests
Yeah I never planned to make multiplayer
I mean this game cant really be played multiplayer
As for the game itself, just make something you enjoy to play.
If you like roguelites, go for roguelite.
As long as you don't overcomplicate the game, it should go great.
I decided to make slide puzzle
Thats why I want to use something more visual than console
I could make roguelike on console
I made worms on console last year
WPF is way more modern and allows much greater customization, but as mentioned it comes with a learning curve.
You should not use the designer in WPF as it's terrible and can easily break your layout.
while Windows Forms lets you quickly prototype it.
It's slower, less customization, and has limited transparency support. It is however easy to understand.
I am not gonna make anything too big
But I will need extra window to login for user
Then it is just game, username and timer probably
Maybe another pop out window once player wins
Right.
Do you have a deadline for it?
It is whole semester project
I see, then you'll be fine š
It is gonna be in 3 subjects
Good luck! š
Thanks
Any other question you may have or has been unanswered?
There will always be things to ask once I begin doing it
I cant even start it yet only need to send theme and description to be approved but also need to say what I might use to make project
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.I have been thinking about image
Lets say I get squire image does C# even have capabilies to cut image?
I would get squire image but then I would need to cut it into 9, 16 or 25 squires
C# can do most things. You would take a bitmap and then cut it into set amount of pieces using a sort of algorithm and then use the output for something , why do you want to cut one square image ? And what do you want to do with the pieces ?
It is for sliding puzzle game
I will have website where users upload image, i will have to force it into squire somehow and they choose 9, 16 or 25 mode. It all gets send to DB, then user logs into game app and it gets loaded
So my app should cut given image into given piece option
You might wanna take a look at
https://github.com/SixLabors/ImageSharp
GitHub
GitHub - SixLabors/ImageSharp: :camera: A modern, cross-platform, 2...
:camera: A modern, cross-platform, 2D Graphics library for .NET - GitHub - SixLabors/ImageSharp: :camera: A modern, cross-platform, 2D Graphics library for .NET
But do I really need it to just cut squires out of squires? Maybe bitmap is enough
Well... Imagesharp would it very easy to segment an image
Also if the user uploads a PNG/JPG image you can't just read the bytes from it as a bitmap directly
You have to decode them to get the actual pixel data
but if image is in database
it is going to be in code form already right
Try with Imagesharp, nothing wrong with using useful libraries to achieve what you want to do. And you dont have to save the images to a database, you could save the separate parts of the image as files and then load them
I'm not sure I understand what you meant by "code form"
But Imagesharp can directly operate on bytes arrays and streams
well I must use database
I am just not sure if I should try to save images directly in database or just save images links there
I dont know which option would be better to later use them in C#
Save the image path in the Database as saving pictures to dB is not recommended
I talked with someone they suggested something similar
in website to upload file just to my HDD and give it some special name then in database I would save that name so in game app I can search the folder for that picture
normally I would need some cloud or upload service but this is all going to be on one PC anyway
Yes, it's better to save the image path to the DB and save the actual image data in a file
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.