Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » SantaHack 2011

This thread is locked; no one can reply to it. rss feed Print
SantaHack 2011
Specter Phoenix
Member #1,425
July 2001
avatar

Timorg said:

I know quite a few people that suffer BPD, and they are all non violent. They quickly swing between overly excited to depressed, (or to a level of each). Neither of those states have any suggestion of violence.

Sorry I shouldn't have used physical violence only as an example. Medical journals and sites state that people with BPD are more a risk to themselves than to others. The do say it is possible and common for violence toward others though. Apparently people with BPD are more likely to be self destructive Suicide/Attempted Suicide, Drug/Alcohol abuse, cutting, and non-physical damage ('violence' to their own financial situation, relationships, and other elements of their lives as they act on impulse and pursue high risk behaviors).

Suicide makes since though as it comes with depression when you aren't thinking straight at the time. Though being overly happy makes you think things you really can't do at times too in some cases. Definitely not BPD as I'm down on my programming and nothing else, not violent, don't spend money on anything I don't absolutely need (clothes, food, shelter), been married to the same woman for 8 years with her 10, never attempted suicide and don't take risks. I'm about as far from BPD as you can get. Says the ups and downs last days, week, months, and even years. My downs last about 10 minutes if that then I'm over it:P.

On Topic: Hope everyone makes some awesome games. Plan to download them and play them when they are released to everyone.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Specter Phoenix
Member #1,425
July 2001
avatar

Sorry you won't be joining us Specter. I think you're probably capable of more than you give yourself credit for.

Yes, normally I don't give myself enough credit, but in this case that isn't true. I'm positive that I can't make a game in seven days. It took me a month to do a pong clone and that isn't technically finished.

MiquelFire
Member #3,110
January 2003
avatar

Only reason I didn't sign up was time. Based on the last time I entered, I'm not in a position to free up time to work on a game right now.

---
Febreze (and other air fresheners actually) is just below perfumes/colognes, and that's just below dead skunks in terms of smells that offend my nose.
MiquelFire.red
If anyone is of the opinion that there is no systemic racism in America, they're either blind, stupid, or racist too. ~Edgar Reynaldo

BAF
Member #2,981
December 2002
avatar

I'm positive that I can't make a game in seven days.

I'm positive that you can't either. At least not with an attitude like that.

bamccaig
Member #7,536
July 2006
avatar

I'm positive that I can't make a game in seven days. It took me a month to do a pong clone and that isn't technically finished.

I just made a game in 10 minutes. :-/

#SelectExpand
1#!/usr/bin/perl 2 3use strict; 4use warnings; 5 6our $VERSION = '0.0.1'; 7 8my $sides_per_die = 6; 9my $max_attempts = 3; 10my $start = 1; 11my $end = 100; 12my $number = int(rand($end - $start) + $start); 13 14print <<EOF; 15Guess the number!(tm) v$VERSION 16 17I'm thinking of a number! Can you guess it in $max_attempts guesses or less? 18 19EOF 20 21for(my $i = 0; $i < $max_attempts; $i++) 22{ 23 print "Enter a number between $start and $end: "; 24 25 my $guess = <STDIN>; 26 27 unless($guess =~ /^[0-9]+$/ && 28 $guess >= $start && $guess <= $end) 29 { 30 warn 'invalid guess'; 31 $i--; 32 next; 33 } 34 35 if($guess == $number) 36 { 37 print "You guessed it! The number was $number!\n"; 38 exit 0; 39 } 40} 41 42print "You suck. The number was $number. Go practice with ", 43 int($end / $sides_per_die + 1), 44 " dice instead of wasting my time.\n"; 45 46exit 1;

Making a game is easy. Nobody will fault you for trying and failing (most of us do every time :D). It's supposed to be fun! You will never gain confidence if you don't try. Hint: I have never finished a game either, let alone a game programming competition. :D I have, however, made progress with every [serious] attempt to do anything.

Specter Phoenix
Member #1,425
July 2001
avatar

I mean a game with graphics. I've made the guess a number app numerous times in C++. It took me a month to even make the pong clone and all I did was make ball and paddles using rectangles/squares. With only one game...well two counting the number guessing game, I know for a fact I can't do a game in 7 days with graphics. If I just stuck to the console/terminal app then I could have easily come up with something in a day for the compo then.

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

It's okay to use placeholder graphics at first and then replace them later. If you use a config file or a custom text data file, then it is really easy to replace them. Just send a new config file along with the new resources and suddenly your game is all prettified. ;)

bamccaig
Member #7,536
July 2006
avatar

  • Graphics are difficult.

  • Audio is difficult.

  • Collision is difficult.

  • Physics are difficult.

All of these things are outside of the domain of programming. Obviously, they are things that many games incorporate and therefore need to be programmed, but they aren't actually what a programmer does. In the strictest sense, a business programmer would ideally be told how to do these things (especially in the business world, the way things are done is not always the same as the conventional way things are done; it's normal to have things defined for you as required by the business), and his job would be merely converting that into code.

These things also don't have to be done well for a game to be fun. The key is to plan to do a minimalist job at the things that you aren't already good at. The player could be a circle, or a dot, or a scribble. :) Your collision could be imperfect and your other "physics" could be limited to simple, fixed-rate incremental movement of the player's position. Audio is especially optional in a programming competition.

It's normal for the things above to be difficult for you to do until you've done them enough times for it to be second-nature. The key is to take each thing one step at a time and keep things simple. Crawl before you walk before you run.

E.g.,

If somebody joined the competition without even so much as installing Allegro or writing a simple game loop before and managed to get these things done during the competition, but no actual game done, then they'll still have been successful because they will have progressed. :) EXP++;

BAF
Member #2,981
December 2002
avatar

Why did a pong clone take a month? Specifically, what were you doing for that whole month? If you discourage yourself by focusing on the mass of work to be done (as opposed to breaking it into parts), then you're sure to fail.

Pity parties aren't beneficial for anyone. It's quite simple - you will never succeed, unless of course you believe that you can, and actually do it. Of course it's easier to sit back and not do anything, but that's not how you get ahead.

Mark Oates
Member #1,146
March 2001
avatar

I got my snow particle generator and sleigh bells loop ready to go! 8-) I think I'll just leave them on the whole game. :P

BAF said:

but that's not how you get ahead.

It's a rat race, anyway. Whomever gets ahead is still just a rat. So many people fighting and competing for status. It's like... wow you're cool, rat!

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Johan Halmén
Member #1,550
September 2001

I think the voting list got sorted once you had casted your votes the first time. In ChristmasHack, that is. It was easy to review the votes and maybe change them while the voting phase was on.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Years of thorough research have revealed that the red "x" that closes a window, really isn't red, but white on red background.

Years of thorough research have revealed that what people find beautiful about the Mandelbrot set is not the set itself, but all the rest.

GullRaDriel
Member #3,861
September 2003
avatar

Voting !

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Arthur Kalliokoski
Second in Command
February 2005
avatar

BAF said:

It's quite simple - you will never succeed, unless of course you believe that you can, and actually do it.

{"name":"20111214.gif","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/c\/bcba80ca9c26aa77c17f6c49a95ea06b.gif","w":576,"h":1630,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/c\/bcba80ca9c26aa77c17f6c49a95ea06b"}20111214.gif

They all watch too much MSNBC... they get ideas.

Specter Phoenix
Member #1,425
July 2001
avatar

BAF said:

Why did a pong clone take a month? Specifically, what were you doing for that whole month?

Well first week was pretty simple. Typed up the code from the A5 Tut wiki for the ball. The also had to learn from trial and error how to draw the paddles and how to do the keys as I hadn't touched Allegro before the API changes. Second week I spent fighting the AI paddle to keep it on the screen. Third week I fought trying to figure out the collision detection. Fourth week I was still tweaking and figuring out the collision detection because the ball kept going through the AI paddle after so many hits on it.

The help I got near the beginning was "Understand the code.". SiegeLord finally helped me solve the collision detection. I understood the code but ultimately I had to add a header file and function in order to fix it and add a y coord check too.

When I'm not coding I'm normally helping wife and son. Having a wife and son with disabilities like FSHD requires me to do a lot and forces me to stay at home. This is why I thought I would turn my love of programming into a career, but looking bleak.

BAF
Member #2,981
December 2002
avatar

Don't feel bad. If you turn your love of programming into a career, you will no longer love programming. :-X

Matthew Leverton
Supreme Loser
January 1999
avatar

BAF said:

If you turn your love of programming into a career, you will no longer love programming

You get to berate your coworkers though, which is great fun. :-[ ;D

BAF
Member #2,981
December 2002
avatar

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Mark Oates
Member #1,146
March 2001
avatar

Ohm-em-gee-oh-em-gee-oh-em-geeeee~!!!1 ;D;D

--
Visit CLUBCATT.com for cat shirts, cat mugs, puzzles, art and more <-- coupon code ALLEGRO4LIFE at checkout and get $3 off any order of 3 or more items!

AllegroFlareAllegroFlare DocsAllegroFlare GitHub

Arvidsson
Member #4,603
May 2004
avatar

I have my sushi, time to get cracking! Goodluck y'all!

Desmond Taylor
Member #11,943
May 2010
avatar

Hey guys :) I like my task and will be starting in a couple of hours, have all stuff installed on my laptop so if I have to go anywhere it'll still be worked on. Bad news is now our entire streets phone lines have gone down so using my partners mobile phone to check things. This only means I won't be able to let you guys know my progress but rest assure that I'm working on the game. If need be I'll use the phone to upload my entry :P

Good luck guys :)

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

Specter Phoenix
Member #1,425
July 2001
avatar

Now that is depressing. Strangers have more confidence in me than I have in myself. :-/. :(

Dario ff
Member #10,065
August 2008
avatar

This only means I won't be able to let you guys know my progress but rest assure that I'm working on the game.

You're not supposed to drop hints on what kind of game you're doing anyway. :P

Anyways, I won't be able to join the hacking until I'm done with these finals on the 22th. >:( But on these days in my little breaks I'll try to get in some graphics and think a GOOD game idea for once instead of starting to code right away. Given that my time is more limitted, I'll go for a simple entry.

I got the task I liked, but the other 2 can't be merged with it. :-/

EDIT: Deploying Santa's development workbench in 3... 2... 1. (SH2011 folder copied) 8-)

TranslatorHack 2010, a human translation chain in a.cc.
My games: [GiftCraft] - [Blocky Rhythm[SH2011]] - [Elven Revolution] - [Dune Smasher!]



Go to: