Can You Make a Game Without an Engine in 45 Minutes? - Sos Sosowski
Complexity of game productions depends mostly on complexity of the game itself, not the underlying architecture. Nowadasy most developers cannot imagine creating a game without a pre-made engine. During this interactive experience I would like to prove that not only it is not hard to maek games without an engine, but that it can also be easier, as it takes away the complexity brought upon by layers of abstraction that come with a game engine.
-
Contents:
0:00 – Intro: Live-coding a full game in C from scratch
2:00 – Concept: Simple fly-swatting game, inspired by Allegro.js
4:00 – Creating an empty C project and basic setup
6:00 – Creating a window using raw WinAPI (CreateWindow)
10:00 – Registering window class and handling errors properly
14:00 – Implementing message loop and WindowProc
18:00 – Showing the window and handling user input
22:00 – Loading bitmap images from files
25:00 – Rendering graphics with BitBlt and TransparentBlt
30:00 – Animating fly movement using random values
35:00 – Tracking mouse position with WinAPI (LPARAM)
40:00 – Drawing weapon sprite at cursor location
43:00 – Detecting clicks and checking collision with the fly
47:00 – Displaying splat image on successful hit
50:00 – Wrap-up: game logic finished, full game runs from scratch
-
DevGAMM is the go-to B2B conference for game industry professionals. With a 15-year legacy, the event delivers top-quality content, tailored activities for publishers and developers, opportunities for hiring and effective networking.
The current event locations are Lisbon (Portugal), Gdańsk (Poland), and Vilnius (Lithuania).
Learn more about DevGAMM – https://devgamm.com/
Subscribe to our newsletter – http://eepurl.com/dpj3Sz
Become a speaker – https://bit.ly/3isHdJP
Join our community:
Facebook – https://www.facebook.com/devgamm/
Twitter – https://twitter.com/devgamm/
LinkedIn – https://www.linkedin.com/company/devgamm/
Discord – https://discord.com/invite/DjmkReyr7w
Contact us via email – contact@devgamm.com