Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » MinorHack Returns!

This thread is locked; no one can reply to it. rss feed Print
MinorHack Returns!
Kibiz0r
Member #6,203
September 2005
avatar

o.O

Uh...what gravity physics?

Also, you can die, after 100 hits. (it is very easy to get hit)

Are you sure you downloaded the right one? ;)

Simon Parzer
Member #3,330
March 2003
avatar

Quote:

Uh...what gravity physics?

I think it's some kind of bug. Sometimes one of the bullets I shoot orbits around me (green dot). It somewhat looks like it would be some kind of gravity source ;)

Quote:

Also, you can die, after 100 hits. (it is very easy to get hit)

Ok, I didn't play that long. Or wait.. maybe this is the reason why the game quit itself so often. Thought it was a crash ;D.
I'm sure I downloaded the right one. It's the game where you play Greindor, the Green Dot who has to defeat the Red Rectangles of Death.

EDIT: I shouldn't have been coding so much. I've been coding almost the entire day. I think something in my brain got damaged.

Kibiz0r
Member #6,203
September 2005
avatar

Quote:

It's the game where you play Greindor, the Green Dot who has to defeat the Red Rectangles of Death.

You have no idea how hard I laughed at that. Genius. Pure genius.

Victor Williams Stafusa da Silva
Member #4,212
January 2004
avatar

The score:

            CGamesPlay Kibiz0r Kikaru Simon Victor
CGamesPlay  *          4th     1st    3rd   2nd      
Kibiz0r                *
Kikaru      2nd        4th     *      3rd   1st
Simon       2nd        4th     1st    *     3rd
Victor      2nd        3rd     1st    4th   *

Kibiz0r didn't vote?

Considering 3 points for 1st, 2 for 2nd, 1 for 3rd and 0 for 4th. We have:

            CGamesPlay Kibiz0r Kikaru Simon Victor
Total       6          1       9      2     6

First - Kikaru
Second and third - CGamesPlay and me tied
Forth - Simon
Fifth - Kibiz0r

I'll edit if Kibiz0r vote(d).

[The attack of the space bugs - Speedhack 2005] [Rambananas - Speedhack 2006] [Make clean - Speedhack 2009] [The source god - TINS 2010]

CGamesPlay
Member #2,559
July 2002
avatar

It's been 24 hours, and kibiz0r didn't vote... I think that means he is disqualified... Simon gets and extra point, but the places are unchanged.

Well, I came closer this time! :)

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Kikaru
Member #7,616
August 2006
avatar

Wow, I won! Neat. Well, as was said, small ambitions pay off I guess. :)

Oh, and CGames, the gameplay was good, it was just too hard to see what was happening. ;)

CGamesPlay
Member #2,559
July 2002
avatar

If I had more time, I would have used two back buffers, that way I could draw a blac outline around the asteroids. Also there is a collision problem somewhere in there.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Kikaru
Member #7,616
August 2006
avatar

I just meant if it refreshed the screen, instead of leaving trails.

CGamesPlay
Member #2,559
July 2002
avatar

No, I wanted to leave the trails, but I wanted it to highlight the present state over top of that.

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Victor Williams Stafusa da Silva
Member #4,212
January 2004
avatar

I created this new skeleton game for minorhack:

1#include <allegro.h>
2 
3#define MODE GFX_AUTODETECT_WINDOWED
4#define WIDTH 640
5#define HEIGHT 480
6 
7BITMAP *buffer;
8int logic_time = 0, close_game = 0;
9void logic_timer() {logic_time++;}
10END_OF_FUNCTION(logic_timer)
11void close_callback() {close_game = 1;}
12 
13void do_logic() {
14 /* Update game logic here. */
15}
16 
17void draw_screen() {
18 /* Draw things to screen here. */
19}
20 
21int main() {
22 allegro_init();
23 install_keyboard();
24 install_mouse();
25 install_timer();
26 int colors = desktop_color_depth();
27 set_color_depth(colors == 0 ? 32 : colors);
28 set_gfx_mode(MODE, WIDTH, HEIGHT, 0, 0);
29 set_window_title("Minorhack");
30 set_close_button_callback(close_callback);
31 LOCK_VARIABLE(logic_time);
32 LOCK_FUNCTION(logic_timer);
33 install_int_ex(logic_timer, BPS_TO_TIMER(30));
34 
35 int tick = 0;
36 
37 buffer = create_bitmap(WIDTH, HEIGHT);
38 
39 while (!key[KEY_ESC] && !close_game) {
40 while (tick < logic_time) {
41 do_logic();
42 tick++;
43 }
44 draw_screen();
45 }
46 destroy_bitmap(buffer);
47 return 0;
48}
49END_OF_MAIN()

[The attack of the space bugs - Speedhack 2005] [Rambananas - Speedhack 2006] [Make clean - Speedhack 2009] [The source god - TINS 2010]

Kikaru
Member #7,616
August 2006
avatar

Ok. Anyway, good try!

The next one is for people in Europe I think, and is in 3 days.

[EDIT]
That skeleton looks pretty good, really.

Nils Fagerburg
Member #7,193
May 2006
avatar

I think I'll be able to do the next one. Lucky other participants, you know you won't have last place. :P

--
There's no place like ~.

Kibiz0r
Member #6,203
September 2005
avatar

I think we should make a new thread for the next one, this one is getting too long...not really going to attract any new participants this way.

Simon Parzer
Member #3,330
March 2003
avatar

Quote:

The next one is for people in Europe I think, and is in 3 days.

In Europe it's at 1:00 am ...

LennyLen
Member #5,313
December 2004
avatar

Quote:

In Europe it's at 1:00 am ...

That really depends on what part of Europe you live in. ;)

Victor Williams Stafusa da Silva
Member #4,212
January 2004
avatar

I will be able to participate the next contest (2nd november), at least i hope do.

[The attack of the space bugs - Speedhack 2005] [Rambananas - Speedhack 2006] [Make clean - Speedhack 2009] [The source god - TINS 2010]

Kikaru
Member #7,616
August 2006
avatar

Well, MinorHack B in one and a half days.

wiseguy
Member #44
April 2000
avatar

I'd like to get into this but I'm not sure if I'm up to it ...

Kikaru
Member #7,616
August 2006
avatar

MinorHack B is in exactly 25 hours! This comp is really cool. :)

CGamesPlay
Member #2,559
July 2002
avatar

You might have an unhealthy obsession with MinorHack, Kikaru... Not that I mind! :D

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

Kikaru
Member #7,616
August 2006
avatar

Not quite an obsession. However, it's one of the fun things I do on Saturdays. (replacing LAN parties, since my brother is now at college)

What I've been doing is called "bumping," only I actually say something. ;)

Kibiz0r
Member #6,203
September 2005
avatar

My entry is going to be horrible. I was in a zen state of coding last night and I tried to pick it back up today and caused more trouble than anything else.

2 hours.

CGamesPlay
Member #2,559
July 2002
avatar

hmm, I may be able to participate in this one, but I gotta get some homework done. I think coffee may be the solution to this one. 

--
Tomasu: Every time you read this: hugging!

Ryan Patterson - <http://cgamesplay.com/>

wiseguy
Member #44
April 2000
avatar

so ...basically you get one hour to code something? I would like to do this but, I'm not sure... I mean...do I have to stay online the whole hour?

Kibiz0r
Member #6,203
September 2005
avatar

You don't have to stay online the whole hour, but you have to get online in order to upload your source file.



Go to: