Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualsatsujin

Posted 09 November 2013 - 10:10 PM

Ah yes. I have read a lot of the posts re Beginning Game Engines on the forum and I think all the ones I read have suggested starting with a game instead. Maybe I shall attempt to do just that. I assume the elements of the game would be hard coded? Objects for the graphics through XNA or OpenTK? Event handlers to respond to the interface? Maybe IronPython to incorporate some scripting? Or would that even be needed since this is hardcoded so I can write everything in c#?

 

I realize a lot of the code between an engine and a game are interchangeable but since I've already written graphics and input code for games I wanted to see how one would implement creation of a game through an interface. I know I can create a game in 2D. I've not made a point-and-click adventure but have made smaller scale 2D games like Snake, Breakout and a text adventure with graphics for the rooms. It was trying to understand how not to create a hardcoded version of a game but a scripted one thru an interface that appealed to me.

 

So, I ask again: Can anyone on this board please recommend books or websites with open source code for the kind of software I'm looking for? After all if you see from my first post I dont want my engine to implement sound, conversation trees, Z-buffering etc. at this stage The most complex part would be the event handler. I've even decided to delegate scripting(if i need it) to IronPython. I just don't understand how a form based interface would be used to create a game. Do we use use the variables from the form to generate a script that will be parsed? Or do we create a runtime handler that accesses the necessary variables and calls functions as needed? Or something else entirely?


#1satsujin

Posted 09 November 2013 - 10:03 PM

Ah yes. I have read a lot of the posts re Beginning Game Engines on the forum and I think all the ones I read have suggested starting with a game instead. Maybe I shall attempt to do just that. I assume the elements of the game would be hard coded? Objects for the graphics through XNA or OpenTK? Event handlers to respond to the interface? Maybe IronPython to incorporate some scripting? Or would that even be needed since this is hardcoded so I can write everything in c#?

 

I realize a lot of the code between an engine and a game are interchangeable but since I've already written graphics and input code for games I wanted to see how one would implement creation of a game through an interface. I know I can create a game in 2D. I've not made a point-and-click adventure but have made smaller scale 2D games like Snake, Breakout and a text adventure with graphics for the rooms. It was trying to understand how not to create a hardcoded version of a game but a scripted one thru an interface that appealed to me.

 

So, I ask again: Can anyone on this board please recommend books or websites with open source code for the kind of software I'm looking for?


PARTNERS