Now I got TV working, where to start with graphics programming?
Now that I've got my TV output working, I was wondering where is the best place to start learning graphics programming?
I was going to start with the Tron game tutorial, then I wanted to work on a 2D tile/sprite type game like Zelda. But the Tron tutorial uses one graphics object and Adventure uses another.
Would it be a better idea to start with the graphics demo object included with the propeller tool, or should I dive into a better graphics tool instead?
I don't have much experience with graphics programming. I started programming Basic when I got my brand new TRS-80. I've also done some C programming and just enough java to pass a programming diploma.
Thank you.
I was going to start with the Tron game tutorial, then I wanted to work on a 2D tile/sprite type game like Zelda. But the Tron tutorial uses one graphics object and Adventure uses another.
Would it be a better idea to start with the graphics demo object included with the propeller tool, or should I dive into a better graphics tool instead?
I don't have much experience with graphics programming. I started programming Basic when I got my brand new TRS-80. I've also done some C programming and just enough java to pass a programming diploma.
Thank you.
Comments
There is a variety of video drivers for the Propeller. The Tron game is based on a text-based driver which redefines it's characters to create a type of "sprite". You'll get a feel for Spin as well with that project. Additionally, you'll want to take a look at the Hydra book which was released free in electronic format. There are a handful of us who have a dedicated forum centered around the graphics drivers and gaming which you may also want to add to your wanderings.
If you want a peek at the video drivers which have been used in Propeller gaming, click on the "Games" link in my signature.
OBC
However, I've got a QuickStart board and made a TV adaptor that runs from pins 12-14. I plan to use the touchpads on the QuickStart board for input.
My real question is, is there any good single driver to start learning, or just bounce around as the examples do?
Keep us updated on your progress!
OBC
Working with graphics means:
1. Understanding how graphical things are done
2. Understanding the requirements of the video driver code in use
3. Content creation
4. Incorporation of that into a project.
Any driver gets you though these things. Having done them once, you will very likely have the foundation needed to then start checking out other drivers and doing things in different ways.
IMHO, the HEL driver and the simple graphics_demo.spin driver provided with either the Hydra book, or Propeller Tool are great to get started on, and they both do a whole lot more than people think. I've got some commented code you might find useful in my signature.
Thanx! Just reading the first thread from your sig gives me a much better feeling for getting started. Can't wait to poke around in your commented graphics demo code.
As for the adventure type game, I was hoping to create a general-purpose 2D tile/sprite game engine that can run seperate game files. Then create a game creation tool for users to make games. If anyone knows Kyle's Quest from the Palm/Pilot days, that's the plan.
But that is a far away goal.
I started a project a while back called propeller construction set, it has a simular idea
http://forums.parallax.com/showthread.php?136017-propeller-construction-set
You might want to look at the adventure game Ranquest
http://forums.parallax.com/showthread.php?136512-Ranquest-new-video-game-for-the-Propeller&highlight=ranquest
Right now I'm typing in the code from the Hydra book for basic graphics example. If I can get that working, I can play around with it.
OBC
It should get Adventure up and running..
HEL_GFX_ENGINE_040_p12.spin
OBC
Ranquest is probably close to what you would want to start from, based on your target game (Kyle's Quest-like). It looks like Roadster mentioned he was working on an editor already, or I would have mentioned that...
If you are looking for a smaller RPG engine, you might look at the Fantasy Fighter code and Utilities. Playing that game on just the touchpad buttons though might be a challenge
If you do have an SD card adapter, another project worth looking into would be the PAGE project. It does not have a complete editor as part of it, however it has some of the elements you might be after. It is more of an "adventure game" engine rather than an "arcade game" engine. Some of it could be adapted to an RPG engine though.
--trodoss
I don't have an SD Card adaptor and don't plan to add one anytime soon. Actually, I want to get the idea of a tile/sprite game engine working in my head. I'll probably try it on Android rather than propeller. But this is as good a platform to play on.
Thanks, OBC. I haven't had a chance to try your HEL driver yet. I just don't understand why he didn't put a constant vidpin = 12 like I've seen in other drivers.
For now my plan is to play around with the Tron game. Move the player to a seperate object. Add simple AI, since I've no one to play with. Then try implimenting it graphically rather than as characters.
There are a few TV drivers that are sprite-based that you may want to look at. If you look at the HYDRA Projects Master LIst there are a number of good resources. Bamse had posted a graphics driver/tutorial of how to create a multi-cog sprite driver that might be helpful if you were wanting to develop your own.
--trodoss
Yes, I know the Hydra book has some good info. I've got a few other books at home that also cover the same topic, but in C, C++ or java.
Thanks for all the links and info. Shame I still work for a living or I'd have some time to code.