Sign in to follow this  
Gerrsun

My play for cheap positive reinforcement

Recommended Posts

Really just started programming in Python on the recommendation of a friend a few months ago. Picked up Python Programming for the Absolute Beginner, which I found a really great start, especially for games stuff. Anyways, here is my lil graphics engine, with 18x18 sprites, GIF's actually,made in MSPaint, with an old version of Python 2.1 and put out using Tkinter. All done at work when I am not actually 'working' Also have a dungeon level which I realized was the same as a underground level. Anyways the photobucket pics are of the guy walking around, riding a horse, riding a griffon, and then on a boat, walking and horsing are blocked by mountains and water, griffons are good over anything, and boats only at harbor towns and water. I also have random encounters based on the landscape, winter wolves attacking in the tundra with frequency but only goblins and garden snakes in the flat grasslands around towns. http://i86.photobucket.com/albums/k94/gerrsun/descent1.jpg http://i86.photobucket.com/albums/k94/gerrsun/descent2.jpg http://i86.photobucket.com/albums/k94/gerrsun/descent3.jpg http://i86.photobucket.com/albums/k94/gerrsun/descent4.jpg And yes, I know the graphics aren't Half-Life 2 quality :) So any good words, I take criticism as well, as long as its not nasty.

Share this post


Link to post
Share on other sites
Quote:
Original post by Gerrsun
Thanks much ScottC, I wondered how I could do that from Photobucket.


The forums use html code. So if you want to make a link: < a href=URL >URL or Text< /a >

remove spaces between the < and > characters.

Share this post


Link to post
Share on other sites
Quote:
Original post by C_Coffie
hey have u tried rpg maker 2000 its easier and has better graffics??

Maybe the OP's feeling of accomplishment doesn't come from 'easiness and better graphics'. For me at least, it is always a much greater feeling of satisfaction when I get things done myself, without using a point and click system.

It's nice work for a beginning python programmer ;) Keep up the good work!

Share this post


Link to post
Share on other sites
Quote:
Original post by rogierpennink
Quote:
Original post by C_Coffie
hey have u tried rpg maker 2000 its easier and has better graffics??

Maybe the OP's feeling of accomplishment doesn't come from 'easiness and better graphics'. For me at least, it is always a much greater feeling of satisfaction when I get things done myself, without using a point and click system.


Or he could do what I im doing for my current project; take the sprite sheets from rpg maker 2000 and load them into your engine to use them. I think the satisfaction doubles when you have something that looks nice.

[positive reinforcement for the original poster]
Great work OP. Keep it up.
[/positive reinforcement for the original poster]

Share this post


Link to post
Share on other sites
Ah the sprite 'sheet' does bring up another question. I hear people talk about it like its one big bitmap and all the images are on it. In my program I just have a bunch of gif pics that i load separately.

My question is how do you parse these bitmaps once they are on a sheet. I could see creating a bitmap with all the images on it but how do you break them out?

and yes, I am looking to see if I can figure out how to do it myself, as part of learning to code in Python.

I can already see how this could be expanded so that instad of once sprite being a pond, I coud use multiple sprites which connect up and create larger ponds, or if I wanted to play with 2.5D, sprits which 'look' 3d but sit on a flat surface kinda like Sacred.

Thanks for the responses so far.

Share this post


Link to post
Share on other sites
Yeah I have, will probably move to something else like Pygame when I actually have a laptop to program at work on.

As it is, I only have the 'less than robust' work version of Python which I found accidentaly on my pc.

As it is, with Panda3d, Python, and Blender you really could create your own 3d adventure for free.


Oh, I just remembered a question, anyone use a really good sprite maker? Ms Paint is only so good so anything else out there thats really good. Maybe lets you layer sprites so you can animate from them?

Share this post


Link to post
Share on other sites
Quote:
Original post by Gerrsun
Ah the sprite 'sheet' does bring up another question. I hear people talk about it like its one big bitmap and all the images are on it. In my program I just have a bunch of gif pics that i load separately.

My question is how do you parse these bitmaps once they are on a sheet. I could see creating a bitmap with all the images on it but how do you break them out?

and yes, I am looking to see if I can figure out how to do it myself, as part of learning to code in Python.

I can already see how this could be expanded so that instad of once sprite being a pond, I coud use multiple sprites which connect up and create larger ponds, or if I wanted to play with 2.5D, sprits which 'look' 3d but sit on a flat surface kinda like Sacred.


Simple, if all your bitmaps are the same size. Just line them all up row by row and save them in one bitmap. Then caculate offsets to access individual images. For instance, say you want the sprite that is two from the left and three from the top. If you have 18x18 sprites you would do x=18 * 2 and y=18 * 3 to get its starting position. Then you have to find a way acess just the part of the sprite sheet between x and x+18, and y and y+18. That part is API specific but it should be simple enough.

as for a good sprite editor I use GIMP. Its the best ive been able to find for free.

Share this post


Link to post
Share on other sites
Nice job for a few months of Python. :)

But the art, well... let's just say it uses the typical Paint colors, too bright and flashy. Let's just say it's possible in Paint to select other colors than those in the default pallette. One thing to change is the contrast: it's pretty hard to notice the player because there's so little difference in color and contrast.
As for a good sprite tool, the artists I'm working with use Photoshop, and I've found it quite usefull for sprites too. Although for such small tiles, it's still a lot of pixel-work, so most of the high-end tools aren't of much use there. Still, it offers some interesting tools even for pixel-art.

Share this post


Link to post
Share on other sites
Thanks Noobie and Captain P.

Somethign else to play around with. Sounds like the bitmap works very much like how I lay the images out. A base x,y coordinate multiplied by 18.

and yeah Ms Paint wasnt my first choice, it was just the only choice available at work. :)

Heck dont even know why I chose 18. Just made a square and stared putting in pixels.

Is there a good standard for pixels sizes? 48x48?

As for GIMP? Is it only for Mac?

Share this post


Link to post
Share on other sites
Quote:
Original post by Gerrsun
Is there a good standard for pixels sizes? 48x48?
They're generally based on powers of 2; 8x8, 16x16, 32x32, 64x64, 16x32, etc. It used to be very important to do it this way, but these days it generally doesn't matter nearly as much as it used to.

Looks like you're doing great btw! [smile]

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