Page 1 of 1

car man! a short game

PostPosted: Mon Apr 09, 2012 11:29 pm
by tim4
Car!

I discovered Game Editor this weekend and decided to make the weekend of it. :) I made a song, some images, and threw in some C scripting, and voila: car!

Here are a couple pics.
Image
Image

Here's the game:

game-editor.com:
car.zip
the game
(1.55 MiB) Downloaded 135 times

filefactory.com: http://www.filefactory.com/file/2nntj0tdxy5l/n/car_zip

Controls are Z, X, and arrows.

Re: car man! a short game

PostPosted: Tue Apr 10, 2012 1:09 am
by SuperSonic
Wow, this is amazing. You made this over the weekend? Koodos and +1 to your score :P

Re: car man! a short game

PostPosted: Tue Apr 10, 2012 2:19 pm
by Hblade
awesome :D!

Re: car man! a short game

PostPosted: Tue Apr 10, 2012 2:22 pm
by Hblade
This is awesome :D

Re: car man! a short game

PostPosted: Tue Apr 10, 2012 9:19 pm
by JamesLeonardo32
Vey very VERY impressive for a first game- even the "end screen" reminds me of my early games where you'd walk to a section with text reading "The end, made by, etc. etc.". Though much more impressive. It was srange how quickly you could die :lol:

I like how its called Car man :P

Oh, did i even mention the graphics? +1! :)

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 12:44 am
by tim4
Thanks dudes. Everyone.score+=1; xD

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 1:42 am
by Hblade
tim4..

Just 1 thing... :D

EPIC WORMS ICON DUDE! :) I love Worms. (The game)


tim4 wrote:Thanks dudes. Everyone.score+=1; xD



sprintf(hblade.text, "lol");

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 11:10 am
by JamesLeonardo32
Haha, thanks.
Hblade wrote:sprintf(hblade.text, "lol");

Oohhh, that's how you script text! Now I don't have to set timers to set text! =o

Thanks =D

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 12:09 pm
by Hblade
lol y-...you didn't know that yet you made Axaria (I know it doesn't use text but yeah), a successful game :D'

Some are so lucky :'D

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 4:53 pm
by JamesLeonardo32
Hblade wrote:lol y-...you didn't know that yet you made Axaria, I mean Axria (I know it doesn't use text but yeah), a successful game :D'

Some are so lucky :'D

Yeah. When i did (in the 1-1 text), It was timer (12 ms) > Set Text. No scripts =(

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 5:45 pm
by Hblade
lol O-o well now you know ^^ you can also do this:

Code: Select all
strcpy(text, "yayness");


To display a variable in text:
Code: Select all
sprintf(text, "integers: %d, %i, decimals: %f, strings: %s", integer 1, integer 2, double/float 1, string_1 (Such as player name);


Now this code will not work because the messages I had in it

%d or %i displays an integer value
%f displays a float/double value (or a _real_ variable)
%s displays a string, such as player_score.text or something.

To display a score with text:
Code: Select all
sprintf(text, "Score: %d", score);


Or more advanced, the players name and then a score
Code: Select all
sprintf(pname, "name_here");
sprintf(score.text, "%s's score: %d", pname, score);

This will output:
Code: Select all
name_here's score: *value_here*

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 7:03 pm
by JamesLeonardo32
Hblade wrote:lol O-o well now you know ^^ you can also do this:

Code: Select all
strcpy(text, "yayness");


To display a variable in text:
Code: Select all
sprintf(text, "integers: %d, %i, decimals: %f, strings: %s", integer 1, integer 2, double/float 1, string_1 (Such as player name);


Now this code will not work because the messages I had in it

%d or %i displays an integer value
%f displays a float/double value (or a _real_ variable)
%s displays a string, such as player_score.text or something.

To display a score with text:
Code: Select all
sprintf(text, "Score: %d", score);


Or more advanced, the players name and then a score
Code: Select all
sprintf(pname, "name_here");
sprintf(score.text, "%s's score: %d", pname, score);

This will output:
Code: Select all
name_here's score: *value_here*

Intersting, I've been thinking of a hi score!

+

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 9:24 pm
by tim4
Hblade wrote:tim4..

Just 1 thing... :D

EPIC WORMS ICON DUDE! :) I love Worms. (The game)


An instantly recognizable image. Smart cartoonists, Team17. :)


And using a standard language for a game-making app's scripting language? Also very, very smart, official GE designer people. :D

Re: car man! a short game

PostPosted: Wed Apr 11, 2012 11:33 pm
by Hblade
:D