protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue); _spriteBatch.Begin(); knight.Draw(_spriteBatch); _spriteBatch.End(); base.Draw(gameTime); } } This example gives you a basic idea of creating a new entity (in this case, a knight) in a MonoGame project. For Hollow Knight, which is much more complex and uses a custom version of MonoGame, integrating directly would require deep knowledge of its codebase and potentially modifications to its source code.
public class Game1 : Game { private GraphicsDeviceManager _graphics; private SpriteBatch _spriteBatch; private Texture2D knightTexture; private Knight knight; hollow knight 32 bit
public Game1() { _graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; } private SpriteBatch _spriteBatch
© 2025 SENEX.IT
Senex aderisce al Programma di affiliazione Amazon e può percepire commissioni tramite link presenti sul sito© Senex 2025 - Riproduzione riservata
Questo sito utilizza i cookie per fornire la migliore esperienza di navigazione possibile: cliccando su "Accetto" o scorrendo questa pagina ne permetti l'utilizzo. Approfondisci GDPR.
Se vuoi saperne di più puoi prendere visione della nostra Privacy & Cookies Policy, aggiornata secondo quanto previsto dalla normativa nazionale italiana ed europea (GDPR 2016/679).