Allegro.cc - Online Community

Allegro.cc Forums » The Depot » game programming youtube video

This thread is locked; no one can reply to it. rss feed Print
 1   2 
game programming youtube video
Mike Farrell
Member #248
April 2000
avatar

I got a funny idea today to put together a blitz programming youtube video. Essentially I recorded myself putting together a little 2D game using allegro.

I had no idea what I was gonna do even as I was starting to code, nonetheless I ended up with something pretty funny.

http://www.youtube.com/watch?v=P1MvnsTlJ9E

StevenVI
Member #562
July 2000
avatar

You should have shown the game in action. And sped it up. I got impatient and skipped over many many minutes of it.

__________________________________________________
Skoobalon Software
[ Lander! v2.5 ] [ Zonic the Hog v1.1 ] [ Raid 2 v1.0 ]

Mike Farrell
Member #248
April 2000
avatar

its a real time video, so I didn't pause it at all except to split the parts. Part 2 shows the game, as does part 1.5 (stupid youtube cut the video off for part 1)

piccolo
Member #3,163
January 2003
avatar

try doing that for a mmrpg

wow
-------------------------------
i am who you are not am i

Neil Black
Member #7,867
October 2006
avatar

We'll leave that up to you, piccolo. But I won't guarantee we'll watch it.

Archon
Member #4,195
January 2004
avatar

Some issues with the video: I prefer to return negative numbers for failures (eg. set_gfx_mode), 0 for success and 1 for "the end result is the same, but it's not as you expected".

Fortunately you were smart and didn't show the results of compiling your code :P

piccolo
Member #3,163
January 2003
avatar

Quote:

Fortunately you were smart and didn't show the results of compiling your code

i think he did show it really quick one time in vid 1.5 then he showed a quick debug

wow
-------------------------------
i am who you are not am i

Vanneto
Member #8,643
May 2007

What IDE is you using?

In capitalist America bank robs you.

Mike Farrell
Member #248
April 2000
avatar

I actually don't bother with IDE's for small projects.

Its just a text editor - kwrite that I personally colored with dark blue settings cause its better on my eyes, and a linux commandline for compilation.

I show the game in its entirely several times in 1.5 and in 2 towards the end.

Slartibartfast
Member #8,789
June 2007
avatar

It was interesting and amusing to watch, good job.
It was also really funny to watch you make a mistake and then think "no no no! you should have done X" or "argh! the variable is named "dead" not "alive"!", and then watch you fix it :)
A couple of things that did bother me enough to post here are:
Doing random()/RAND_MAX (I remember you doing it in one point, not sure if you fixed it when I wasn't paying attention) is pointless. Since both should be integers it will always return 0.
Also, doing random()%something works, but is not that great of an idea as IIRC it will give you lower quality random numbers. (I admit it doesn't really matter for a game like this.)

Also, you fiddled with the background image way too much :P

And some random stuff I had to say:
The game is incomplete, but looks cool enough :)
For these kinds of games I usually make do with the primitives since I'm too lazy to draw stuff :P

Mike Farrell
Member #248
April 2000
avatar

hah! you're right. I forgot to cast the divisor to float, thus all of them are moving at the same speed to the left.

oh well. i didn't realize that til you said something.

yea the bg image was pissing me off. I just gave up and put a simple blend.

Its clearly not finished but I got bored with it. You can go off infinitely in any direction but down. But its good enough for the vid

ixilom
Member #7,167
April 2006
avatar

Best of the video was the music :P

___________________________________________
Democracy in Sweden? Not since 2008-Jun-18.
<someone> The lesbians next door bought me a rolex for my birthday.
<someone> I think they misunderstood when I said I wanna watch...

Trezker
Member #1,739
December 2001
avatar

Damnit, you stole my idea! ;)

Just a few weeks ago I thought it'd be cool to put a video like this on youtube. But I'm just not crazy enough to actually go through with it.

Mark Oates
Member #1,146
March 2001
avatar

Cool. I want to see more videos like this from more people! (sped up of course)

--
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

Vanneto
Member #8,643
May 2007

What be the filming appz for filming?

In capitalist America bank robs you.

ReyBrujo
Moderator
January 2001
avatar

This could be funny for SpeedHacks :)

--
RB
光子「あたしただ…奪う側に回ろうと思っただけよ」
Mitsuko's last words, Battle Royale

Mike Farrell
Member #248
April 2000
avatar

I used the only video capture program for linux that doesn't utterly dissapoint me: xvidcap

Jonny Cook
Member #4,055
November 2003

That's really cool. I like looking at peoples source code because it interests me to see the way people do things. This is even better! I get to see the thought process as well! More people should do this kind of thing, it's neat.

The face of a child can say it all, especially the mouth part of the face.

kenmasters1976
Member #8,794
July 2007

That's cool!. It's hard to find anything Allegro-related on youtube so, Well Done!.

nonnus29
Member #2,606
August 2002
avatar

Pretty cool, good job. Kinda boring though...

Mike Farrell
Member #248
April 2000
avatar

Here be the game

http://ltsword.allegronetwork.com/src/marineman.zip

it'd be cool to add like sidescrolling levels and new kinds of enemies, but alas i haven't the time. at least not for awhile

Neil Black
Member #7,867
October 2006
avatar

This kicks the ass of everything I've ever done. It makes me kinda sad to think of that.

psycho
Member #5,042
September 2004

Hey guy, this rocks :o
Taught me some things now.

And by the way, Compiz rocks, too ;D

BAF
Member #2,981
December 2002
avatar

You make a lot of typos. :P

Mike Farrell
Member #248
April 2000
avatar

you'd be surprised now much you mess up when the "camera's rolling"

 1   2 


Go to: