Page 1 of 1

Game Ideas

PostPosted: Fri Mar 18, 2005 9:32 pm
by willg101
Anyone have a few, simple, addicting game ideas?
I'm running a bit dry right now.

PostPosted: Fri Mar 18, 2005 9:53 pm
by Just4Fun
Hi Will,
What type of games do you enjoy writing? It seems like a lot of people in the forum like platform games so they must be pretty popular.

Personally, they aren't my forte, but then again, I just enjoy playing around with GE anyway. I'm not making money... just having fun. It sure beats crossword puzzles (unless you are designing them).

How about doing a demo remake of hangman or some game that uses the new input Actor. I haven't really gotten a good grasp of the input Actor yet. It would be nice to see some example code that uses it.

As far as ideas for addictive games, I imagine that Ingsan will have a few. She's got a great imagination for this stuff...

Later

PostPosted: Tue Mar 22, 2005 12:03 am
by willg101
thanks!

PostPosted: Tue Mar 22, 2005 1:38 am
by Just4Fun
Will,
How did you fair with Hangman?

PostPosted: Tue Mar 22, 2005 10:14 pm
by willg101
Uhh...
Well, I'm very sorry! My school work has caught up with me and I've been working on my campaign for class president lately, so I haven't been able to do much with GE.
So, as soon as I can, I will make one!
Again, I'm so sorry! :(

PostPosted: Wed Mar 23, 2005 4:31 am
by Fuzzy
A vast overlooked field are the games we played as kids. Things like tag, various card games, doctor(jk), target shooting, either with a gun, or with a slingshot, hide and seek, and PIRATES! ARRRR!

PostPosted: Wed Mar 23, 2005 10:59 pm
by Just4Fun
Will,
Good Luck on your bid for President!

ThreeFingerPete,
I agree.

It is the simple, well known games(or even a slight twist on them), that sometimes offer the hardest challenge to program, but they keep people coming back generation after generation...

PostPosted: Thu Mar 24, 2005 1:51 am
by willg101
Thanks!
The results came out today, and I had a 12-?-? victory (out of 18 votes)[side note-the reson I won was partly due to GE, I made a game for all of my class mates!]

Anyway, now I will start on a game. I couldn't get hangman to work the other night, becuase I couldn't get strcpy to work. So, I'll continue on my other project for now.

PostPosted: Thu Mar 24, 2005 6:33 pm
by yep
idieas eh....how about that snake game...i'm doing one right now

:D

Good Luck on your bid for President!


hope u loose 8)

PostPosted: Thu Mar 24, 2005 10:14 pm
by willg101
Boy, thanks, yep!
I already won before you posted your message.

PostPosted: Fri Mar 25, 2005 12:01 am
by Just4Fun
Hey Will,
Congradulations Mr. President(BTW,your class sounds very small)
Now GE has a new use: Politics! :shock:
As far as Hangman goes, it is actually a pretty difficult game to program.

Here is the scoop (well, part of it on strcpy):
arg 1 (destination), arg 2(source)
char *strcpy(char * dst, const char * src)
Copies the second argument (a string) into its first argument (a character array that must be large enough to store the string and terminating null character, which is also copied.) GE handles the null character.

Example:
If "MyActor" has some text set in the Actor Control Panel, use:
strcpy(MyActor.text,"Hello World.");

PostPosted: Fri Mar 25, 2005 5:24 am
by yep
willg101 wrote:Boy, thanks, yep!
I already won before you posted your message.



:lol:

:mrgreen:

PostPosted: Sat Mar 26, 2005 2:11 pm
by willg101
Thank-you very much J4F!
Yes, my class is very small to most people, but I go the grand haven christian (a small school, 350 kids in preK-8th), and there are only 20 kids in my class, two of which were sick that day and one happened to be my VP.

Anyway, thanks for showing me the code! :)

PostPosted: Tue Mar 29, 2005 10:14 pm
by willg101
I couldn't get the code to work. Could you please give me an example?
Thanks in advance!

PostPosted: Tue Mar 29, 2005 11:53 pm
by Just4Fun
Ok Will,
ARe YOu REady?
Here is a step-by-step(some of which is probably WAY too elementary for you, but maybe some newbie will also benefit.)

1. Create Actor(Normal): Name it "myactor" (without quotes).

2. Right Mouse Click on the "myactor" smiley icon. Select "Actor Control".The Actor Panel will open.(Make sure "myactor" is selected in the "Actor Name:" box.)

3. Select the text button in the "myactor" Actor Panel.
The "Set Text" Panel will open.

4. Put the following text into the grey text box area: "Elect Will for President. He knows how to lead and he knows how to listen!"

5. Now, select the "New Font" button -->truetype font. Select a font of your choice; say "arial.ttf". Change the font size to 12. Select OK. (Now you should see your text displayed on the GE screen. So, now you have placed some text into your Actor.

6. Next, add the Event: "Create Actor" and the Action: "Script Editor". The "myactor" Script Editor Panel will open.

7. Finally, copy and paste the following code into the script editor:

strcpy(myactor.text,"Once you can accept the universe as \n");
strcat(myactor.text,"matter expanding into nothing that is something,\n");
strcat(myactor.text,"wearing stripes with plaid comes easy.\n");
strcat(myactor.text," --Albert Einstein.\n");

8. Select the OK --> Immediate Action.

9. Run the program.

If you have followed all the steps correctly, you will see the strcpy() text has been copied into "myactor" text and it will replace the original text that you typed into "myactor" on the text panel in Step 4. The"\n" is a special C programming character that simply means insert a newline. Or in older terminology: carriage return.

Hey, but what the heck is the strcat() function? I'll leave that one up to you to find out! Hint: look it up in a C programming reference.

That is about it for now. HTHs...J4F
:lol: