Re: [Super-tux-devel] Gameplay patch
Brought to you by:
wkendrick
From: Ricardo C. <ri...@ae...> - 2004-01-17 02:36:57
|
I have just noticed that in SuperMario 1, no matter where you collide in a= =20 brick, the mushroom will allways go to the right... We really should do a=20 guideline... Why not an IRC meeting with users and developers? Greats, Ricardo Cruz Em S=E1bado, 17 de Janeiro de 2004 00:46, o Ricardo Cruz escreveu: > Hey there, > > I have make a patch so that when you collide in the right side of a bric= k, > the mint goes to the left, else it goes to the right, like in the > SuperMario. It adds an extra argument to tryemptybox() and add_upgrade().= I > also cleaned add_upgrade(). > When a goddie would disappear to the left of the screen, it was removed > too soon (without being totally out), it also fixes that. > > Tobias, this should not affect your work, so you can commit it. > > I also have made a few changes to leveleditor: added grid and made it > possible to see what's inside a box when the cursor is on it. This affects > screen.c (adds fillrect()), so it should be merged after the adding of > opengl support. > > The gameloop.c is really ugly and huge. Besides, I don't really like the > indentation used... I could only navigate on it because Kate highlites > brackets and allows to compress/expand them. > Gameloop.c has all the gameplay code, so we should separate it. Why not > putting bad_guys code in a bad_guys file (for instance draw funcs) and all > the other structs code in their own file? > > Anyway, SuperTux is a nice piece of software and I am looking forward for > the OpenGL support ;) > > Cheers, > Ricardo Cruz =2D-=20 When I first arrived in this country I had only fifteen cents in my pocket and a willingness to compromise. -- Weber cartoon caption |