Sign in to follow this  
Julian Uribe

Creating a game! Help needed

Recommended Posts

Julian Uribe    100
Hello everyone, I study electric engineering and for an important class I decided to create a simple videogame, Im thinking something similar to NES (Nintendo) games, something like mario comes to mind [img][/img] Jumping, avoiding obstacles, simple type of game.

The whole idea of the project is to develop the game to run in a processor called LatticeMico32, this processor will be mounted in a NEXYS 2
-Nexys 2 is a powerful digital system design platform built around a Xilinx Spartan 3E FPGA
-info about the LM32 [url=""]http://www.latticese...ico32/index.cfm[/url]

These characteristics make the project different from most. The languages in which I know can compile for this processor are C and verilog, Im guessing only C will be used for the game. I feel like the processor and FPGA setting is confusing so if anyone wants to check out the code of a simple application I have compiled and run on this "kit" I can show it, no problemm.

I decided to use a VGA monitor and a numeric keyboard as the control and screen for the videogame.

Alright, now that you know what Im up to,[b] here is my cry for help [img][/img][/b]

Im familiar and I would say good at programming in C, BUT I have never worked on something similar to a videogame, I realize I need to get familiar with different programming schemes and techniques but[b] I dont know exactly where to start.[/b]

I know that game programmers usually count on a series of libraries, I believe I will have to create these library's in my case, or am I wrong, [b]is there any help I can get from pre-existent code?[/b]

[b]Any books or websites recommended?[/b]

[b]How much time do u think I will need?[/b] The project is due in june, but If this is obviously a lost cause I must know.

I might not be very clear but I will be here to explain better and answer questions. THANK YOU for reading this, anything that comes to mind might help me, Im new to the game programming world so there's nothing obvious [img][/img]

Share this post

Link to post
Share on other sites
Nypyren    12063
The closest I've been to what you're doing is DOS 6, so I can't help with any of the 'on the metal' kinds of things.

Do you have anything working yet? Can you control pixels on the screen? Can you handle signals from the keyboard?

My approach would be to get the essentials working from scratch, then judge how large the scope of your project could be based off of that, then reduce the scope a bit to make sure you meet the deadline.

Searching for libraries often makes work easier, but each library has a learning curve. This learning curve might not be worth it if you keep your game simple. I'm not even sure if anything appropriate exists for your platform.

Share this post

Link to post
Share on other sites
daviangel    604
Well unless that hardware has some primitive graphics support built into it like the ps2 you are in for a ton of work. There used to be a linux kit sold that allowed you to do [url=""]graphics programming for the PS2[/url] but even that was pretty low level i.e. harder than OpenGL, DirectX and at least you had a version of Linux to depend on also.
You are probably correct in that you will have to create the graphics libraries yourself and you are most likely going to have to resort to assembly unless your hardware supports something like the PS2 linux kit.
Well you can check out [url=""]Andre Lamothe's website[/url] to see how he does it with his custom hardware kits that don't even run any OS.
Okay maybe Verilog is not as bad as pure assembler but it's still pretty bad[img][/img]
[url=""]fpga pong[/url]
Sorry but it looks like you have your work cut out for you as this FPGA programmer says:
[b] [url=""]Windows 3.1 called. It wants its interface back.[/url][/b] [img][/img]

p.s. Unless you already have tons of game programming experience I'd say something similar to NES (Nintendo) games, something like mario comes to mind [img][/img] Jumping, avoiding obstacles, simple type of game is being a bit too optimistic [img][/img]

Share this post

Link to post
Share on other sites
Julian Uribe    100
I cant use an OS even though im sure it ccould be done, this aproach is the one used on the class that follows the one im taking right now and doing this project for.

As nypyren suggested I will work on the basics, aquiring and manipulating the keyboard signals and getting to display pixels appropiately. This week Ive got some tests so I will get started on this next weekend. I also decided that my primary goal for now will be just a simple pong game, and hopefuly I will get this working with enough time left in order to aim for a more complex game :) Thanks a lot again.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this