RSS

Forum | How long are 10 seconds?

January 4th, 2010 • Uncategorized
You must be logged in to post Login Register

Search Forums:


 






How long are 10 seconds?

No Tags
UserPost

7:14 pm
April 6, 2010


thaaks

Germany

Member

posts 97

This will be my little test game to get a feeling for the mbmFramework.

Idea is the following (and most of it is already working):

You move your player sprite with the mouse. Other obstacles are floating around the screen, reflected by the borders of the screen.
You must not touch the obstacles.
The simple "Avoid" game so far.
Now comes the "10 seconds" theme of the march contest of experimentalgameplay.com into the game.
You start the 10 second lasting level by clicking the mouse. And while avoiding the increasing number of obstacles you have to click again after 10 seconds to finish the level.
Aah, you might say - how do I know when the 10 seconds are over? You don't. You'll have to guess. The difference of your estimated time compared to real 10 seconds decide upon your level score. The difference in milliseconds is added to your overall fail time.
Also every collision with an obstacle adds half a second to your overall fail time.
The game ends as soon as your overall fail time exceeds 10 seconds.

While coding this I learn a lot about the framework and I must say: it's great! The app states, the GUI files, the resource handling for sprites and sounds and the animator stuff really help in creating a cool looking game with little effort!

As soon as the game is complete I will post here again and I think I will offer the source code for free to download.

Cheers,
Thomas

9:54 pm
April 6, 2010


matibee

Admin

posts 104

Don't forget to put some stress inducing sound effects in and some fast tempo music! That really pushes the player into thinking more time has elapsed than it actually has.

While coding this I learn a lot about the framework and I must say: it's great! The app states, the GUI files, the resource handling for sprites and sounds and the animator stuff really help in creating a cool looking game with little effort!

Thanks! I think I remember saying just that in the sales pitch Cool

http://www.matibee.co.uk/temp/mbmFramework-logo.png

9:02 am
April 7, 2010


thaaks

Germany

Member

posts 97

I know that you state that on your site. But I wrote it because reading it is one thing - experiencing it and seeing how everything fits together is way better Cool

The music is already on my hard disk (some track of mattmcfarland.com) - pulsing Laugh

For SFX I think I will click a few buttons on SFXR Wink

8:12 pm
April 26, 2010


thaaks

Germany

Member

posts 97

The first version is done! Go and download it from my site and have a play Cool

[url="http://www.rightanglegames.com/10seconds/index.html"]

Have fun,
Thomas

PS: Matt, many thanks for this great framework! It's a great help for finishing games and make them look and behave nice!

11:02 am
April 27, 2010


matibee

Admin

posts 104

Hey Thomas. The game runs and plays nicely. I tried timing to the beat of the music and got a best guess of 9.98 and worse of <8 when things got manic later on (I was concentrating on avoiding start collisions instead of synching my start!)

I'm really pleased you're into the frameworks way of doing things now and I wish you well for future games ;)

Releasing the source for this game is a very nice gesture.

5:55 pm
April 27, 2010


matibee

Admin

posts 104

Having had a look through, I have a suggestion / hint regarding your scaling logo on the main menu.

Instead of coding a scale animator, just put everything in the newtitle.txt file — including the image position on screen ;)

This defines an animator for x and y positions (and since all the animator params can be left as defaults all we need is a "data0=" line) scale and even a little rotation anim too.

In your main menu code you can do away with the animator, the setposition / setscale call and replace them with one update call titleSpr.Update( timeMS ).

xhandle=center
yhandle=center
<x>
data0=260
</x>
<y>
data0=300
</y>
<r>
data0=-20
data1=300
data2=20
script=SINE
playonce=0
</r>
<s>
data0=0.4
data1=200
data2=0.4
script=SINE
playonce=0
</s>

7:06 pm
April 27, 2010


thaaks

Germany

Member

posts 97

Oh wow! Laugh
That is sooo cool! You should definitely write a tutorial covering more of those tricks with the config files and animators!

If you have further suggestions / improvements / advices for my teeny weeny test game please go ahead - highly appreciated!

And thanks for your commendation - also highly appreciated Smile

10:12 pm
April 28, 2010


matibee

Admin

posts 104

That is sooo cool! You should definitely write a tutorial covering more of those tricks with the config files and animators!

I would but the two people in the world that are interested know now Confused

No Tags

About the Matt Bennett: CAD & Code forum

Most Users Ever Online:

11


Currently Online:

3 Guests

Forum Stats:

Groups: 4

Forums: 7

Topics: 58

Posts: 265

Membership:

There are 225 Members

There has been 1 Guest

There is 1 Admin

There are 0 Moderators

Top Posters:

thaaks - 97

Amiga Man - 53

Dabz - 5

niek - 4

semar - 2

Administrators: matibee (104 Posts)