BallMagnet??????

Talk about making games.

BallMagnet??????

Postby poopbrigade » Wed Oct 27, 2010 5:15 am

X:D
---------------------------------
jump--> space the faster the speed the higher the jump
a------> move counter clockwise
d------> move clockwise
s------>drop down

this is just a beta test ...

no enemies yet
adding sounds --> how do you do a loop in music???
adding puzzles
adding energy bar
adding compass
adding credits.....

__________________________________________________________________
thanx for DST's music haven't contacted him yet but thanks for the free music
also to Hblade for the many helps sp Many thanks too XD....
__________________________________________________________________

thanx to everyone in GE XD.....



2nd Update

bugs and other stuff that you may add or ideas I am open to all so don't be shy :D
Attachments
Ballmagnet_test_Beta_V001.rar
(3.15 MiB) Downloaded 84 times
printsrcn.PNG
Last edited by poopbrigade on Thu Oct 28, 2010 6:46 am, edited 2 times in total.
When life gives you oranges, make orange juice. When life gives you poop, make fertilizer not poop juice.

Image
Current project __ CorPsEdEaRtH
Estimated work done __ 12%
User avatar
poopbrigade
 
Posts: 129
Joined: Thu Aug 27, 2009 12:17 pm
Location: In Earth. Being Burried XD
Score: 46 Give a positive score

Re: BallMagnet??????

Postby poopbrigade » Wed Oct 27, 2010 2:02 pm

progress update
picture only....
>:D
Attachments
Ballmagnet02.PNG
Just the image...
When life gives you oranges, make orange juice. When life gives you poop, make fertilizer not poop juice.

Image
Current project __ CorPsEdEaRtH
Estimated work done __ 12%
User avatar
poopbrigade
 
Posts: 129
Joined: Thu Aug 27, 2009 12:17 pm
Location: In Earth. Being Burried XD
Score: 46 Give a positive score

Re: BallMagnet??????

Postby Hblade » Wed Oct 27, 2010 3:52 pm

SWEET
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: BallMagnet??????

Postby Chai » Wed Oct 27, 2010 3:56 pm

Wow, it's getting interesting.
User avatar
Chai
 
Posts: 361
Joined: Sat Apr 30, 2005 2:26 pm
Location: Thailand
Score: 30 Give a positive score

Re: BallMagnet??????

Postby Hblade » Wed Oct 27, 2010 3:57 pm

For looping music -

View - Create Actor - Script Editor
Code: Select all
Click "Functions" and then go to play music. Set the loop to 1. Then find the solid "1" in the script it just gave you, and change it to 0
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: BallMagnet??????

Postby poopbrigade » Wed Oct 27, 2010 10:56 pm

@ Chai--XD thanx
@ Hblade--thanx it worked great, how about multiple music looping??? I did read that once in a forum now i forgot XD.....
When life gives you oranges, make orange juice. When life gives you poop, make fertilizer not poop juice.

Image
Current project __ CorPsEdEaRtH
Estimated work done __ 12%
User avatar
poopbrigade
 
Posts: 129
Joined: Thu Aug 27, 2009 12:17 pm
Location: In Earth. Being Burried XD
Score: 46 Give a positive score

Re: BallMagnet??????

Postby Hblade » Thu Oct 28, 2010 12:23 am

O.o

Save the song as a compressed wav or other sound effect file, then you create a variable and it adds up by 1 each frame, then when the frames are equal to the video's length (Video seconds times the ammount of frames per second), have a script to play the next song.
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: BallMagnet??????

Postby poopbrigade » Thu Oct 28, 2010 1:52 am

So? should I use a timer???
what is the equivalent of 1 min???
When life gives you oranges, make orange juice. When life gives you poop, make fertilizer not poop juice.

Image
Current project __ CorPsEdEaRtH
Estimated work done __ 12%
User avatar
poopbrigade
 
Posts: 129
Joined: Thu Aug 27, 2009 12:17 pm
Location: In Earth. Being Burried XD
Score: 46 Give a positive score

Re: BallMagnet??????

Postby Hblade » Thu Oct 28, 2010 4:55 am

The basic game editor game, unchanged in the settings, is 30FPS. So 1 minute is 60 seconds right? You do 60 * 30, or 60 times 30, which makes 1800 so a 1 minute song would take 1800 frames.

timers use Miliseconds, but you you do this, make a variable called TIMER - Actor Variable if needed
Code: Select all
TIMER++;

in the draw actor of the view, then do this:
Code: Select all
if (TIMER >= 1800 && SONG == 0) {
    PlayMusic2...
}


Or this:
Code: Select all
if (TIMER >= (real_fps * 60) && song == 0) {
    playmusic2...
}


Use the song variable to hold different length's for each song :D
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: BallMagnet??????

Postby poopbrigade » Thu Oct 28, 2010 6:32 am

XD :shock:

if (TIMER >= 1800 && SONG == 0) {
PlayMusic2...
}


so whats SONG in the code, a variable?? :oops: :mrgreen:
Last edited by poopbrigade on Thu Oct 28, 2010 7:29 am, edited 2 times in total.
When life gives you oranges, make orange juice. When life gives you poop, make fertilizer not poop juice.

Image
Current project __ CorPsEdEaRtH
Estimated work done __ 12%
User avatar
poopbrigade
 
Posts: 129
Joined: Thu Aug 27, 2009 12:17 pm
Location: In Earth. Being Burried XD
Score: 46 Give a positive score

Re: BallMagnet??????

Postby Hblade » Thu Oct 28, 2010 6:41 am

I'm officially confused lol
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: BallMagnet??????

Postby SirAz » Thu Oct 28, 2010 10:52 pm

Yeah, Song would be an added user variable. They just set it to however long the song is. Still seems like a really longwinded way of doing it, and what if you get lag? The music would carry on but the timer would get delayed. :?
User avatar
SirAz
 
Posts: 23
Joined: Fri Oct 01, 2010 10:47 pm
Location: United Kingdom
Score: 2 Give a positive score

Re: BallMagnet??????

Postby poopbrigade » Fri Oct 29, 2010 10:50 am

so SONG means the name of the song like Letsfatry.ogg and 0 is the state when the music ends????
:oops: sorry I'm still a bit confused.....
When life gives you oranges, make orange juice. When life gives you poop, make fertilizer not poop juice.

Image
Current project __ CorPsEdEaRtH
Estimated work done __ 12%
User avatar
poopbrigade
 
Posts: 129
Joined: Thu Aug 27, 2009 12:17 pm
Location: In Earth. Being Burried XD
Score: 46 Give a positive score

Re: BallMagnet??????

Postby Hblade » Fri Oct 29, 2010 2:31 pm

You need to make the variable called Song xD


In other words... if SONG = 0, play music (Bgm1.ogg)
if (SONG = 1) - Play Music (Bgm2.ogg)

stuff like that
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: BallMagnet??????

Postby lcl » Fri Oct 29, 2010 7:02 pm

Hey could you make windowed version? My computer doesn't support this full screen version. :P
It seems good! :D
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Next

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest