Jump to content

A Strange Query

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
12 replies to this topic

#1
nikhilkhullar

nikhilkhullar

    Newbie

  • Members
  • PipPip
  • 20 posts
Hello Friends,

I know the question may sound strange to some, but I haven't been able to find the answer yet.

Please tell me what is the way in which 8-bit games like Mario, Contra, Road Runner... ,that we used to play on consoles in our childhood days, are developed ?

I mean, what are the pre-requisites (knowledge-wise) to start developing. I have seen NES emulators make it possible to play them on PC. I am quite curious to develop a few. But, have no idea how a .nes file is made.:confused:

Please specify any particular development tools if you know any.


Regards,
Nikhil Khullar


#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
They were programmed, knowing the architecture of the target system. They probably used a mixture of C and assembly.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
nikhilkhullar

nikhilkhullar

    Newbie

  • Members
  • PipPip
  • 20 posts
@ WingedPanther

Is it possible to create such games for PC. I mean what is the way to get started. I know intermediate level C, C++ but have only worked with console apps so far. I do not know how a GUI is created .

Apart from that, I know BASH shell scripting, JavaScript, PHP, HTML and CSS.

Please tell me whether I can combine any or some of these and create such games. I mean simple 2-D character arcade games like Mario ?


Warm Regards,
Nikhil Khullar


#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
You would need to know the NES API, and have an appropriate compiler to target it.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
nikhilkhullar

nikhilkhullar

    Newbie

  • Members
  • PipPip
  • 20 posts
Well, that was really helpful guidance. Thanks...

I am looking for NES API now to get under way.


Regards,
Nikhil Khullar


#6
nikhilkhullar

nikhilkhullar

    Newbie

  • Members
  • PipPip
  • 20 posts
I am unable to find the API. There is a sourceforge page for cc65 but that does not seem to contain any files.

Can you help me out in finding the API and some manual ?


Regards,
Nikhil Khullar


#7
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
Are you attempting to program a 2D game that will work on a NES or on a NES emulator, or are you just trying to learn how to make 2D games? This seems like a project that might be out of the ballpark for someone who doesn't know much about assembly, but if you're looking at just doing 2D game development that runs on PC's, you can very easily get started with nearly any language and there's an assortment of libraries out there to help you get started.
Wow I changed my sig!

#8
nikhilkhullar

nikhilkhullar

    Newbie

  • Members
  • PipPip
  • 20 posts
I am looking for simple 2D game development. Games that feel like the ones we had on NES. I do not intend to make for .nes . Please guide me where to get started with the PC game development. I am not willing to make stuff like OpenGL , DirectX etc. Simple, lightweight something...


Regards,
Nikhil Khullar


#9
Hignar

Hignar

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 420 posts
have a look here

98-026 Nintendo

I've had a quick look through the slides from the first lecture and have managed to compile and run the .nes file generated in the first assignment. I've no idea how far the course goes but it should get you going.

It looks like the coding uses a form of basic (NBASIC) and assembly.

I also found this site which is a tutorial on nesasm. It does recommend you know some basic assembly so you might want to start on that before launching into NES programming.
If there's a new way, I'll be the first in line.

But, it better work this time.

#10
Hignar

Hignar

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 420 posts

nikhilkhullar said:

I am looking for simple 2D game development. Games that feel like the ones we had on NES. I do not intend to make for .nes . Please guide me where to get started with the PC game development. I am not willing to make stuff like OpenGL , DirectX etc. Simple, lightweight something...


Regards,
Nikhil Khullar

Didn't see this before I replied.

It sounds like SDL might be the sort of thing you are after

SDL homepage

SDL tutorial
If there's a new way, I'll be the first in line.

But, it better work this time.

#11
ZekeDragon

ZekeDragon

    Writes binary right handed and hex left handed

  • Moderators
  • 2,103 posts
Another thing you might consider if you know Python is PyGame, it's quite simple to program with and can do 8-Bit looking games very well. However, as Hignar has mentioned, SDL is excellent. For C you can also look into Allegro, another 2D programming library. Also, if you want the easiest way, you can look at Sphere, which is a game making program, or GameMaker.
Wow I changed my sig!

#12
nikhilkhullar

nikhilkhullar

    Newbie

  • Members
  • PipPip
  • 20 posts
Thanks for the reply. SDL seems to be really promising...

I'll also try pyGame...


Regards,
Nikhil Khullar