Commit graph

118 commits

Author SHA1 Message Date
laochailan
0b2aaf0799 Split up Global and Resources
reduced number of variables.
2011-07-04 09:14:08 +02:00
Akari
29b12b6253 Allowed the player to continue the game upon losing all lifes (asked with a menu). Continues are kept track of, may be used later to implement the traditional no-good-end-with-continues. 2011-07-02 12:39:36 +03:00
laochailan
a2a6fb9343 marisa laser revamped
also added fullscreen config option
2011-06-29 17:01:03 +02:00
laochailan
512fd9a8e3 deathbombing, marisa shot #1
DEATHBOMB_TIME shall be 10 frames. i think it's appropriate. marisa haz lasorz. (actually made of projectiles, not from lasers). some fixes.
2011-06-25 12:41:40 +02:00
laochailan
e2ec67bc39 Player Selection.
may also include traces of minor fixes i forgot.
2011-06-24 19:16:05 +02:00
laochailan
3861a69d62 menus - the beginning
implemented:
[x] ingame menu
[x] main menu
[x] menus
[x] fancy fades
[x] structural earthquake
[ ] the rest of the main menu (difficulty/char select)
2011-06-13 18:48:36 +02:00
laochailan
c220f7b4ae uh cirno and poweritem -> item 2011-04-29 10:26:37 +02:00
laochailan
bdc0db9957 merged Slave and Fairy to Enemy
To create a slave, pass ENEMY_IMMUNE for hp in create_enemy(). tip: create_enemyg(...) is an abbreviation for create_enemy(&global.enemies, ...).
There is something like a super fancy event system for Enemies' logic rules now: logic_rule will be called with t = negative special values like EVENT_BIRTH or EVENT_DEATH on corresponding events. cool, isn't it? well those values have to be filtered out (like if(t < 0) return;) if you don't use them so they don't do strange things with your locus.
2011-04-26 12:04:45 +02:00
laochailan
d280d8c8ad laz0rs
added straight and curved types of lasers. I'm searching for a better way to render them though. also, renewal of Youmu's shot, inspired by th13.
2011-04-24 15:39:17 +02:00
laochailan
a22ff34511 slave clean up
improvements on the slave system. it's player dependent and unglobalized. slaves are controlled by two different kinds of rules: a draw rule and a logic rule. this is necessary because some slaves need special appearances like Myon and drawing is only possible in stage_draw(). this also makes them configurable enough for different shot types and stuff.
2011-04-10 11:19:44 +02:00
laochailan
4583f592b6 Points and slaves
Another Sarrg commit implementing score, different items and alternative player shot modes. Some things need improvements, some don't. But this commit fixes a bug with bomb counting, which is I think enough reason to push it now.
2011-04-10 10:23:24 +02:00
laochailan
24aaafa929 Lifes, Bombs and mighty Perspective
Another Sarrg-commit.
2011-03-23 12:26:30 +01:00
laochailan
ec85251571 dynamic texture loader
The static texture loading was replaced by a dynamic loader. Every png file in gfx/ is (recursively) loaded at the beginning and accessed via get_tex(name) or get_ani(name).name for "gfx/stage1/border.png" would be "stage1/border".

Sprite information is to be specified in the filename in the pattern: ani_${row count}_${col count}_${animation frequency}_${name}.png
2011-03-19 16:21:48 +01:00
laochailan
a889515b2a Complex positions
Ever thought about abusing C1 as R2? I tried and it turned out to be very comfortable, especially when you realize that you can use massive imaginary power to move your rice. I also fixed various things on the way which I forgot. hm.
2011-03-18 19:03:06 +01:00
Lukas Weber
f35130ad1c openth becomes seiyou
After this short break, I have to announce that this project is no longer called openth. The name was stereotypical and conflicted with Open Theme Hospital. Thus, gentlemen, we are now working on Seiyou (西洋). Thanks to lachs0r for this wonderful suggestion.

Also the lincense has changed. Farewell, gnutardedness, hello MIT. I feel somehow relieved now after freeing the project of nearly one thousand lines.
2011-03-05 13:44:21 +01:00
Lukas Weber
b1458e2725 more fancyness & fixes
second commit today. things from this morning were improved and there were some bugfixes. try focussing. :)
2010-11-28 13:08:39 +01:00
Lukas Weber
bdfceda7b9 Power! and fonts
I built some font support (new dependency: SDL_ttf). The Biolinum font of the Libertine project was included as the new ingame font.

Shot at fairies and you will get power. The system is pretty dumb currently, i guess i'll improve it somwhen. If you get a power level >= 2 you get a better shot. anyway, just testing. the player projectiles are somewhat uncomfortable to look at. to do.
2010-11-14 13:24:56 +01:00
Lukas Weber
95c257064c first commit
yay, let's get things started.
2010-10-12 10:55:23 +02:00