Zaphos
Guest
|
|
« Reply #100 on: December 03, 2007, 07:20:10 PM » |
|
thinking about wether i should take 48hours next weekend to work on this:
48 hours? Not for Ludum Dare I hope ... edit -- er, I meant to also say I really like the little guys. Also, the way the scaled-up pixels got a still-chunky 'texture' on some pixels; haven't seen that style before, it's nice
|
|
« Last Edit: December 04, 2007, 12:51:55 AM by Zaphos »
|
Logged
|
|
|
|
Derek
|
|
« Reply #101 on: December 04, 2007, 12:15:11 AM » |
|
thinking about wether i should take 48hours next weekend to work on this:
Me says yes.
|
|
|
Logged
|
|
|
|
Spincut
Level 1
Playing the games you make
|
|
« Reply #102 on: December 04, 2007, 12:27:19 AM » |
|
I don't mean to sound offensive, but...those sprites are SO ADORABLE!! Especially the one going "Puit"!
...If you do find that offensive, I mean it's very manly. >_>
|
|
|
Logged
|
|
|
|
Derek
|
|
« Reply #103 on: December 04, 2007, 01:30:10 AM » |
|
geeq, you should be quite flattered to be paid such a compliment by Alanis Morisette. ^____^
|
|
|
Logged
|
|
|
|
oneup
|
|
« Reply #104 on: December 04, 2007, 02:04:55 AM » |
|
hihi, thanks guys. well... the plan was to see ludumdare as timeframe to do it. i guess it would be quite unfair to enter the compo with all the graphics already done...
and the way upscaled+chunky texture style... yes.
thanks a lot guys! i'm looking forward to (maybe) creating the game soon ^__
|
|
|
Logged
|
|
|
|
oneup
|
|
« Reply #105 on: December 05, 2007, 07:38:20 AM » |
|
update & help needed: any ideas for a metal slug style knife-stab animation (2-3 frames) ?
|
|
« Last Edit: December 05, 2007, 07:41:46 AM by geeq »
|
Logged
|
|
|
|
Redwire
Level 0
|
|
« Reply #106 on: December 05, 2007, 11:28:50 AM » |
|
My very first Vector drawing. I hope I'll find a use to it I should have made it sideway...
|
|
|
Logged
|
|
|
|
J.W. Hendricks
Freeware Ninja
Level 10
|
|
« Reply #107 on: December 05, 2007, 07:56:51 PM » |
|
I don't know if this counts (and don't ban me, please)... but I'm working on a Fraxy movie
|
|
|
Logged
|
The artist formally known as "Javet."
|
|
|
skaldicpoet9
|
|
« Reply #108 on: December 05, 2007, 08:12:54 PM » |
|
This is what I am working on: #include <stdio.h>
int main() { char kitty[20]; printf("What would you like to name your cat?"); gets(kitty); printf("%s is a nice name. What else do you have in mind?",kitty); gets(kitty); printf("%s is nice,too.\n",kitty); system("pause"); return(0); } Got to start somewhere right? :D
|
|
|
Logged
|
\\\\\\\"Fearlessness is better than a faint heart for any man who puts his nose out of doors. The date of my death and length of my life were fated long ago.\\\\\\\"
|
|
|
Melly
|
|
« Reply #109 on: December 05, 2007, 09:52:09 PM » |
|
I'm pretty sure there are plenty of nerdlords around here to help you out skaldic.
|
|
|
Logged
|
|
|
|
Montoli
|
|
« Reply #110 on: December 06, 2007, 01:37:35 AM » |
|
I'm pretty sure there are plenty of nerdlords around here to help you out skaldic. Very true! Here, let me help: The biggest problem that I see with your code is a common mistake among fresh C programmers: You are being far, far too polite to the end user. (True factoid: 80% of all good programming is made of abuse!) It's an easy mistake to make, but realize - in the example you gave, the user could easily enter in a very bad name for the kitty! Clearly this is unacceptable, and handling that sort of case is what separates the script kiddies from the L337 h4x0rz. Here, I've taken the same code you started with, and just tightened it up a little bit, to show you what I mean: #include <stdio.h>
int main() { char kitty[20], best_name_evar[] = "Mr. Snookums"; int name_is_stupid = 1; printf("What would you like to name your cat?"); gets(kitty); name_is_stupid = strcmp(kitty, best_name_evar); while (name_is_stupid != 0) { printf("%s is dumb. It's nowhere near as good a name as %s.\n", kitty, best_name_evar); printf("Do you have any other names?\n"); gets(kitty); name_is_stupid = strcmp(kitty, best_name_evar); } printf("I like that name too!\n"); return(0); } What do you think? Muy awesome, no? ((P. S. It may seem silly now, but never underestimate the importance of knowing how to do basic string parsing and manipulation with things like stdio! And when it comes down to it, everyone started somewhere around there!))
|
|
« Last Edit: December 06, 2007, 01:42:06 AM by Montoli »
|
Logged
|
|
|
|
mjau
|
|
« Reply #111 on: December 06, 2007, 04:14:27 AM » |
|
I'd like to name my kitty "Little Miss Segmentation Fault The Third, Supreme Ruler Of Monocles".
(Also maybe check out the fgets function. Bounds checking is good.)
|
|
|
Logged
|
|
|
|
skaldicpoet9
|
|
« Reply #112 on: December 06, 2007, 10:40:30 PM » |
|
Right on, you guys rock I actually got that little piece of code from C Programming for Dummies lol What do you think? Muy awesome, no? Nice. It may seem silly now, but never underestimate the importance of knowing how to do basic string parsing and manipulation with things like stdio ? String Parsing... I have no idea what that is lol elaborate please
|
|
|
Logged
|
\\\\\\\"Fearlessness is better than a faint heart for any man who puts his nose out of doors. The date of my death and length of my life were fated long ago.\\\\\\\"
|
|
|
Chris Whitman
|
|
« Reply #113 on: December 06, 2007, 10:49:18 PM » |
|
Getting information out of strings, essentially.
|
|
|
Logged
|
Formerly "I Like Cake."
|
|
|
skaldicpoet9
|
|
« Reply #114 on: December 06, 2007, 11:07:04 PM » |
|
Getting information out of strings, essentially.
And that information is then used to run the various functions in the program?
|
|
« Last Edit: December 06, 2007, 11:09:09 PM by skaldicpoet9 »
|
Logged
|
\\\\\\\"Fearlessness is better than a faint heart for any man who puts his nose out of doors. The date of my death and length of my life were fated long ago.\\\\\\\"
|
|
|
Chris Whitman
|
|
« Reply #115 on: December 06, 2007, 11:40:19 PM » |
|
Yeah! Think of a text adventure game, when you type: "GET EXPLOSION," the parser splits the string up by spaces into the parts GET and EXPLOSION. By text adventure convention, the first term is the verb, so it matches it with whatever it can find in its dictionary, calls a 'get' command, and passes it EXPLOSION as the subject, at which point the game notifies you that you are dead for trying to pick up an explosion.
You get the idea, anyway.
|
|
|
Logged
|
Formerly "I Like Cake."
|
|
|
skaldicpoet9
|
|
« Reply #116 on: December 07, 2007, 12:06:42 AM » |
|
Right on, thanks man... From what I can tell so fr it seems as though I am going to thoroughly enjoy learning C. So far I haven't messed around with but a few basic programs but I already dig it a lot. I am sure you guys know what I am talking about...there is just something inherently intriguing in messing around with code, I don't know what it is it is just very satisfying... Now I now where to look when I need some help
|
|
|
Logged
|
\\\\\\\"Fearlessness is better than a faint heart for any man who puts his nose out of doors. The date of my death and length of my life were fated long ago.\\\\\\\"
|
|
|
Montoli
|
|
« Reply #117 on: December 07, 2007, 12:25:54 AM » |
|
I am sure you guys know what I am talking about...there is just something inherently intriguing in messing around with code, I don't know what it is it is just very satisfying...
True dat! The problem is the entry barriers to discovering this - Now days, to even get to the point where you can enter a simple program in and watch it go, you have to jump through so many extra hoops.... You have to get a compiler and linker, and get them all set up, often with some esoteric commands telling them where to find various common library paths, etc. Not saying that it's impossible, or even all that hard (although I've seen some mighty obtuse error messages) but it's an extra hurdle. I miss the days of the Apple IIe and Commodore 64, a little bit. Where every computer could give you access to BASIC, just by turning it on. Sure, it was a crappy language, but it was a REALLY low entry barrier to start discovering how much fun it was to get things to happen on the screen. I remember a lot of magical feelings the first day I borrowed a simple book from the library and started painstakingly copying its code into the computer. ("You can write ADVENTURE GAMES!", it was called. It walked you through making a simple zork-like game.) Heck, even the old DOS machines used to at least ship with QBasic installed. I worry a little that there seems to be an absence now of the simple programming "toys" for people to discover when they're young. About all that seems to be around now days are the power tools, which you usually don't get to play with unless you're very determined, or someone sets up for you. Oh well, I guess there is always LOGO, with which to tempt today's youth... Anyway, glad to hear you're finding it satisfying! Good luck with your endeavors. And by way of encouragement, I offer this parting thought, a poem that was on the wall in the computer lab at my college: I sometimes hate this darned machine, and sometimes wish they'd sell it. It never does quite what I want... only what I tell it.Happy coding!
|
|
|
Logged
|
|
|
|
skaldicpoet9
|
|
« Reply #118 on: December 07, 2007, 12:38:08 AM » |
|
Yeah, I really wished that my parents actually were somewhat computer literate back in the day. There was never any sort of outlet for me to experiment with computers (except for at school). I remember many times thinking about how cool it would be to code but didn't have the resources at the time to attain that goal. It seems that nowadays there would be a lot more of an emphasis on teaching people even something as rudimentary as Basic but of course this is strangely not the case. However, for me, I just enjoy the prospect of a new challenge
|
|
|
Logged
|
\\\\\\\"Fearlessness is better than a faint heart for any man who puts his nose out of doors. The date of my death and length of my life were fated long ago.\\\\\\\"
|
|
|
Chris Whitman
|
|
« Reply #119 on: December 07, 2007, 12:51:22 AM » |
|
Yeah, I miss the old GW Basic interpreter days sometimes. I wrote some pretty retarded text games in that.
On the other hand, automagical memory management and OpenGL and the widespread availability of cheap/free art tools and... well, the list goes on. The point is we have a lot of great stuff now, too.
|
|
|
Logged
|
Formerly "I Like Cake."
|
|
|
|