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!
Simon Parzer
Member #3,330
March 2003
avatar

Ready ... steady ... reload your browsers ... GO!

Kikaru
Member #7,616
August 2006
avatar

FOR THE MINORHACK!!! ;)

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

It will start now

[Edit] The rule:
The game must use the trigonometric functions. These include sin, cos, tan, atan2, and others. Remember, only the bold part is the rule, and bending the rules is strongly encouraged.

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

LennyLen
Member #5,313
December 2004
avatar

Doh! Missed the start. DrunkHack is probably a bad idea anyway. (So is drunkPost. Took me ages to make sure this post was error-free).

razor
Member #2,256
April 2002
avatar

Oops, I slept through it. Heh, I was afraid I was going to do that. Oh well, I don't code well in the morning anyways.

Whoooo Oregon State University

Simon Parzer
Member #3,330
March 2003
avatar

I'm done... but it isn't playable. I wasted like 10 minutes thinking about trigonometry, recalling stuff from school. :)

So.. as said before, my entry compiles, runs, is beautiful to watch, but you can't do anything. Because I ran out of time. sigh :-/

CGamesPlay
Member #2,559
July 2002
avatar

I made something... playable.

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

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

Kibiz0r
Member #6,203
September 2005
avatar

Oh man did that suck. I was working on it for about 40 minutes before I tested it. Always a bad idea. Oh well, at least you can shoot stuff. :-/

Kikaru
Member #7,616
August 2006
avatar

well, i finished a so-so game. it plays, but there is one glitch with the collision detection in the first version.

[EDIT]
Strangely, I can't compile anything using <windows.h>. I need windows binaries. :'(

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

I did something playable. However there was a bug in the first version which makes the player lose lives without no reason and the bullets disappear with no reason. The score was stuck in zero too.

Four minutes after deadline that was fixed. It's just a three-lines fix.

[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

Kikaru: Nice game! Looks well done and has a decent menu.

Victor: The enemies seem to hit me without hitting me, but other than that it is pretty cool.

Simon: Really nice graphics!

Kibiz0r: Is there a way to win or lose? :)

That's my ranking.

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

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

Kibiz0r
Member #6,203
September 2005
avatar

Well, after another 12 minutes of work, it's kinda playable, after 30 minutes of work on it. I hate it when you have to scrap stuff. :'(

So, if you multiply it by 2...I win? ;D

Kikaru
Member #7,616
August 2006
avatar

Well, I can't judge anything yet, because I need Windows binaries.

CGamesPlay
Member #2,559
July 2002
avatar

I'm very curious how you can compete in this competition if you don't have a compiler...

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

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

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

@CGamesPlay:

Being hitted by the enemies without being hitting or hitting them without hitting is caused by x*x+y+y which should be x*x+y*y.

The revised version fixed that.

[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

I do have a compiler, however, I can't seem to use anything containing "windows.h". Victors' gave some weird errors when I tried to compile. I think it might have been something about casting.

But still, I would like binaries.

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

@Kikaru: Which errors?

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

Kibiz0r
Member #6,203
September 2005
avatar

Boom. Binary.

LennyLen
Member #5,313
December 2004
avatar

Quote:

I do have a compiler, however, I can't seem to use anything containing "windows.h".

And why exactly do you need "windows.h"? I can honestly say I've never once included it in any of the projects I've written to work on wondows.

Kikaru
Member #7,616
August 2006
avatar

@victor
A bunch of 'conversion errors'.
on lines 177 - 188. And a return statement on line 250.

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

My game is very similar to Kibiz0r's and Kikaru's games.

Simon Parzer: Your game could be great. Too bad that is too unfinished and unplayable. Nice graphics though.

CGamesPlay: Your game is interessing, very good idea. But that colorfullness hurt my eyes (and is gay too).

My score:
1. Kikaru
2. CGamesPlay
3. Kibiz0r
4. Simon Parzer

[Edit]
I was using a C compiler. If you use a C++ compiler, you may get some errors. The return in line 250 is because main returns int and the return statement returns nothing. Put "return 0;" there. About the conversions, i think that could be this:

dx = tiro<i>.x - inimigo[j].x;
dy = tiro<i>.y - inimigo[j].y;

Where i'm converting float to int without a cast. Just cast to int and it will be ok.

By the way, the C compiler don't even warn about that, where C++ could give errors.
By the way I should remember to use -Wall and -Wextra to avoid this.

[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

binaries please? :-/

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

Binaries here.

[Edit] As I have some SVN version of Allegro 4.3 from somewhere in time. I putted that there too. JUST FOR TESTING PURPOSES. DON'T USE THAT DLL FOR ANYTHING ELSE.

[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

My ranking goes as follows:
Victor - this game is pretty neat. If it wasn't for the glitch, it would be truly awesome.

CGamesPlay - The game is cool, and pretty simple. Just a little hard see what's going on.

Simon Parzer - Very pretty, but no point.

Kibiz0r - Neat, but it crashes my system.

Simon Parzer
Member #3,330
March 2003
avatar

So, after dinner I thought I could finish my little game. Took me more than one hour, but anyways.
The revised source can be found on the MinorHack page, and it is attached to this post.

I cannot provide a Windows binary, because I haven't yet had the time to set up Allegro under Windows.

EDIT:
Here's my rating
1. Kikaru - Great idea, nice "radar explosion" effect. Not very challenging, though.
2. CGamesPlay - Beautiful colors, but not very playable.
3. Victor Williams Stafusa da Silva: You should have limited the bullet count.
4. Kibiz0r: Nice gravity physics, but I don't have a mouse cursor and the player is not able to die.



Go to: