Arrow Sequence game template

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

Arrow Sequence game template

Postby Jagmaster » Sun Aug 14, 2011 4:53 am

Ah, the old arrow sequence game. Often presumed to be a lame attempt to get people "Fit" by implementing a smelly vinyl-plastic sheet with arrow buttons to get people to get up off the couch (this is pre-kinect tech :P) it's versatility is often overlooked because it's usual tackiness. These type of minigames can be implemented into platformers or rpgs as a fight sequence, or a training session. It has also been used for filler in certain move-based games, for example, my brother has a game based off of Kung Fu Panda, that implements this genera into the boss fights, which added a neat "cinematic" element and broke away from the normal double jump and press X routine.

Now, the demo itself has nothing graphical due to the fact that the uploader is being fixed. But, with some minor tweaking, you could easily add some elements such as an opponent, or a background.

I tried to make it as easy to understand as possible, if anyone wants me to explain anything let me know.

Oh, and one more thing, I added some random MIDI music files in the mix as well. Tell me if you recognize any. ;)
Arrow_Sequence.zip
(236.41 KiB) Downloaded 239 times

Screenshot.jpg
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Arrow Sequence game template

Postby master0500 » Sun Aug 14, 2011 6:49 am

its better that a demo!
it a game
five star*****
and music doesn't work
master0500
 
Posts: 409
Joined: Sun Jun 26, 2011 9:42 pm
Score: 27 Give a positive score

Re: Arrow Sequence game template

Postby Camper1995 » Sun Aug 14, 2011 10:45 am

Great! I was wondering how to do this for a long time and now you've made a demo of it. Thank you. +

It reminds me of the GTA San Andreas where you dance with cars and press the numbers in the right sequence. :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: Arrow Sequence game template

Postby Jagmaster » Sun Aug 14, 2011 1:44 pm

master0500 wrote:its better that a demo!
it a game
five star*****
and music doesn't work


Thanks, glad you liked it. But the music didn't work?!? Ah well, you can look in the data folder and play the music from there. Either your sound card is not MIDI compatible, (Which it probably is) or the rand (random) function was set to 7. There are 6 music tracks, and if I set rand to 6, it wouldn't play track 6. Which was an awful shame because track 6 was an awesome song. :P

If this is the case, you could try clicking the text that says "Randomize music" and maybe that will work. If not, you can add your own music by editing the create actor event for the view. You will see a bunch of PlayMusic lines, you can carefully backspace them and put in a new one by clicking functions and then clicking Playmusic2. (Just make sure that the new line is in the same spot as the old one.) Then, you can copy that script and paste it in the mousebuttondown event for the "Randomize music" text. :D
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Arrow Sequence game template

Postby Jagmaster » Sun Aug 14, 2011 1:50 pm

Camper1995 wrote:Great! I was wondering how to do this for a long time and now you've made a demo of it. Thank you. +

It reminds me of the GTA San Andreas where you dance with cars and press the numbers in the right sequence. :D


Glad you liked it :mrgreen:

The only thing that could be improved would be if the actor that created the arrows were a single actor instead of clones. Like I mentioned above, the rand function does not use the max number. So, I used clones and had the arrows change their state based on their creator's cloneindex.

Anyway, glad you all liked it. See if you can make it to level 6 and still maintain 100% accuracy. :P
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Arrow Sequence game template

Postby lcl » Sun Aug 14, 2011 2:22 pm

I will try this soon! :)

But about rand(); it works just as it's supposed to.
If you set rand(10); the return will be between 0 and 9. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Arrow Sequence game template

Postby Jagmaster » Sun Aug 14, 2011 2:29 pm

lcl wrote:I will try this soon! :)

But about rand(); it works just as it's supposed to.
If you set rand(10); the return will be between 0 and 9. :)


Ah, right, but I have a switch that goes from 0 to 6, it doesn't play number 6 (Which is actually 7) so, I have to set rand to 7. (An edit to my last post, there are 7 songs XD)
Also, rand tends to favor the number in the middle.
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Arrow Sequence game template

Postby schnellboot » Sun Aug 14, 2011 2:31 pm

no rand really is random
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Arrow Sequence game template

Postby lcl » Sun Aug 14, 2011 2:34 pm

Jagmaster wrote:
lcl wrote:I will try this soon! :)

But about rand(); it works just as it's supposed to.
If you set rand(10); the return will be between 0 and 9. :)


Ah, right, but I have a switch that goes from 0 to 6, it doesn't play number 6 (Which is actually 7) so, I have to set rand to 7. (An edit to my last post, there are 7 songs XD)

That's how rand works, if you want it to return number from 0 to 6, you need to give it 7. :)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Arrow Sequence game template

Postby Jagmaster » Sun Aug 14, 2011 2:36 pm

I guess, but nothing in the computer world is completely random.

It still wants to favor three or four, (if you click that random button, sometimes you will get the same song 3 or 4 times in a row.)

@lcl: that makes sense I guess, it checks for a number in between. It would be nice if you could check between -5 and +7 or something like that. :roll:
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Arrow Sequence game template

Postby lcl » Sun Aug 14, 2011 2:54 pm

Jagmaster wrote:@lcl: that makes sense I guess, it checks for a number in between. It would be nice if you could check between -5 and +7 or something like that. :roll:

And you can with a function that genious Bee-Ant once made!
Here: viewtopic.php?f=4&t=8646&p=63677&start=50
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: Arrow Sequence game template

Postby schnellboot » Sun Aug 14, 2011 2:59 pm

or dst's
Code: Select all
float xx=rand(23)+9;
:D
schnellboot
 
Posts: 819
Joined: Sat Mar 31, 2007 1:35 pm
Location: Germany
Score: 102 Give a positive score

Re: Arrow Sequence game template

Postby Jagmaster » Sun Aug 14, 2011 3:04 pm

Thanks guys, I'll try these. :D
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: Arrow Sequence game template

Postby Hblade » Sun Aug 14, 2011 3:38 pm

This is awesome! :)
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: Arrow Sequence game template

Postby Jagmaster » Sun Aug 14, 2011 3:44 pm

Thanks!
:D
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Next

Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest