haw-haw ~~ My first game

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

haw-haw ~~ My first game

Postby cforall » Fri Aug 07, 2009 10:05 am

I am an Chinese. My english is not very good. sorry for that.
This is my first game which called BBShooter.
I have basic knowledge of C. but I have never made any game before.
I spend 7 days to make this game. I manage to do that because of the great gamemaking platform GE!
GE —— The Awesome Tool

I check the prog and find there may be some "Timer" and "DrawActor" problems...... :?

If these sourcefiles donnot perform well on your computer, you guys can download the .exe file to try, I just upload it.
I hope the .exe file will do a good job on your computer. :)

screenshot.JPG


:arrow: exefile
__________________________________________________________________________________
BBShooter(.exe).part1.rar
(1 MiB) Downloaded 842 times

BBShooter(.exe).part2.rar
(1 MiB) Downloaded 640 times

BBShooter(.exe).part3.rar
(1 MiB) Downloaded 655 times

BBShooter(.exe).part4.rar
(1 MiB) Downloaded 652 times

BBShooter(.exe).part5.rar
(71.85 KiB) Downloaded 273 times



:arrow: sourcefiles
__________________________________________________________________________________
BBShooter(nosound).part1.rar
(1 MiB) Downloaded 269 times

BBShooter(nosound).part2.rar
(1 MiB) Downloaded 259 times

BBShooter(nosound).part3.rar
(1 MiB) Downloaded 252 times

BBShooter(nosound).part4.rar
(247.46 KiB) Downloaded 243 times
Last edited by cforall on Sat Aug 08, 2009 3:12 am, edited 1 time in total.
User avatar
cforall
 
Posts: 65
Joined: Thu Aug 06, 2009 2:46 pm
Location: Shanghai
Score: 8 Give a positive score

Re: haw-haw ~~ My first game

Postby makslane » Fri Aug 07, 2009 1:14 pm

Hi cforall, after run the game, the play screen blinks and stays only a black screen
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: haw-haw ~~ My first game

Postby cforall » Fri Aug 07, 2009 3:01 pm

makslane wrote:Hi cforall, after run the game, the play screen blinks and stays only a black screen


Thank you for your update.
But I have to say its weird because it works well on my machine......
Could you see the screen like the screenshot I put out?
Anyway I will check my prog carefully. Maybe I should put out a .EXE edition?
I will update as soon as I find what the problem is......

Thank you again!
User avatar
cforall
 
Posts: 65
Joined: Thu Aug 06, 2009 2:46 pm
Location: Shanghai
Score: 8 Give a positive score

Re: haw-haw ~~ My first game

Postby makslane » Sat Aug 08, 2009 3:41 pm

I've downloaded again and it's working now :-)
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: haw-haw ~~ My first game

Postby Camper1995 » Sat Aug 08, 2009 8:41 pm

Hey man, excellent work! Good is that line what you have like line where your shot will go...

Good work! :D
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: haw-haw ~~ My first game

Postby cforall » Sun Aug 09, 2009 1:09 am

I'm happy its working now :D

Thanks for your spending time on my little work.

As I know in China and Japan
many people like me who loves game and wants to make it easily
use software called "RPG MAKER" to make JRPG
and use software called "NScripter" and "KRKR" to make AVG.
they are all Japanese style and very popular......
I want to look for something different so I google and finally find GE.
Glad to be one of its users :)

I have no idea If you are interested in JRPG or AVG......
Haw haw...maybe you guys could compare these different softwares and find a way to make GE better. :idea:
User avatar
cforall
 
Posts: 65
Joined: Thu Aug 06, 2009 2:46 pm
Location: Shanghai
Score: 8 Give a positive score

Re: haw-haw ~~ My first game

Postby Camper1995 » Sun Aug 09, 2009 9:50 pm

:D Man, but I dont uderstand how do you make that aimline...can you explain me that little bit more please?

And one more question about graphics...In start in the game,..that black line which cover the text...how do you make it invisible slowly.. :-S I cant explain that in english...

but how do you make that line..so the are in start full black color...and then slooowly invisible and at end they are invisible...

Man, just look at that image and tell how to paint this... Thx :D


Thank you
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: haw-haw ~~ My first game

Postby cforall » Mon Aug 10, 2009 1:47 am

Camper1995 wrote::D Man, but I dont uderstand how do you make that aimline...can you explain me that little bit more please?

And one more question about graphics...In start in the game,..that black line which cover the text...how do you make it invisible slowly.. :-S I cant explain that in english...

but how do you make that line..so the are in start full black color...and then slooowly invisible and at end they are invisible...

Man, just look at that image and tell how to paint this... Thx :D


Thank you


Sure, very pleasant to explain how I did it.
Because of the different timezones I cannot reply in time... :( sorry

In DrawActor func of actor shootballcenter:
step 1, find the "xscreen" and "yscreen" of the center of the blue flame;
step 2, use "distance" func to calculate the distance between mouse and of the center of the blue flame;
like this: temp = distance(xmouse , ymouse , xscreen, yscreen);
step 3, use "direction" func to calculate the launch angle and use "degtorad" func turn it from rad to deg;
like this: angle = degtorad(direction(xmouse, ymouse, xscreen ,yscreen));
step 4, use pythagorean theorem to calculate the screen coordinate of every aimline;
like this: (-1*(temp/10)*cos(angle), 1*(temp/10)*sin(angle)) , (-2*(temp/10)*cos(angle), 2*(temp/10)*sin(angle)) , etc.
step 5, use "CreateActor" to draw these little aimlines;
like this: for(i=1;i<=9;i++) CreateActor("aimline", "aimline", "(none)", "(none)", -i*(temp/10)*cos(angle), i*(temp/10)*sin(angle),false);

In CreateActor func of actor aimline:
step 6, use a "CreateTimer" to ctrl the dying time of aimline;
like this: CreateTimer("Event Actor", "amilinetodie", 20);

In Timer(amilinetodie) func of actor aimline:
step 7, after the timer amilinetodie, use "DestoryActor" to destory the aimline;
like this: DestoryActor("Event Actor");
Last edited by cforall on Tue Aug 11, 2009 3:29 am, edited 4 times in total.
User avatar
cforall
 
Posts: 65
Joined: Thu Aug 06, 2009 2:46 pm
Location: Shanghai
Score: 8 Give a positive score

Re: haw-haw ~~ My first game

Postby cforall » Mon Aug 10, 2009 2:00 am

Camper1995 wrote::D Man, but I dont uderstand how do you make that aimline...can you explain me that little bit more please?

And one more question about graphics...In start in the game,..that black line which cover the text...how do you make it invisible slowly.. :-S I cant explain that in english...

but how do you make that line..so the are in start full black color...and then slooowly invisible and at end they are invisible...

Man, just look at that image and tell how to paint this... Thx :D


Thank you


About the "slooowly invisible" ...Ahh...I type so many english...But Its OK :D
Just look at the picture overbar.png of the data folder you will know.
What I do is to just ctrl the speed of the overbar.png
At the beginning I give a 30 speed to the overbar.png likethis: xvelocity = 30;
When Its x >= 100 && x<1000 , I change its speed to 10, now slowly;
when Its x >= 1000 , I change its speed tp 0, now its stop;
Haw Haw all you need is to find the overbar.png you will see how simple it is. :D
User avatar
cforall
 
Posts: 65
Joined: Thu Aug 06, 2009 2:46 pm
Location: Shanghai
Score: 8 Give a positive score

Re: haw-haw ~~ My first game

Postby Camper1995 » Tue Aug 11, 2009 12:20 pm

Thank you man,...I will try to do this. Thx :)
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: haw-haw ~~ My first game

Postby Gdude88 » Wed Aug 12, 2009 6:38 am

how do u open? :cry:
Gdude88
 
Posts: 1
Joined: Sat Jul 18, 2009 3:44 am
Score: 0 Give a positive score

Re: haw-haw ~~ My first game

Postby cforall » Thu Aug 13, 2009 1:15 am

Gdude88 wrote:how do u open? :cry:

Oh... Please use Game Editor to open the sourcefiles . :)
User avatar
cforall
 
Posts: 65
Joined: Thu Aug 06, 2009 2:46 pm
Location: Shanghai
Score: 8 Give a positive score


Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest