The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Working on a Game...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Working on a Game... Posted: Mar 19, 2008 7:38 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Working on a Game...
Feed Title: Michael Lucas-Smith
Feed URL: http://www.michaellucassmith.com/site.atom
Feed Description: Smalltalk and my misinterpretations of life
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Michael Lucas-Smith

Advertisement

I'm working on being able to make games in VisualWorks (and for that matter, ObjectStudio). This requires a combination of game techniques, technology, 3d graphics, sound, collision detection, ... all kinds of stuff.

I have a grand vision for the game I want to make - but it'll take me a while to get there. So in the mean time, I decided to make an action game to test out all the tech I've built so far: OS-Keyboard, OpenGL, OpenAL, ExecutionLoop, et al.

As you can see in the video, it's actually working! it even has sound and effects, smooth game play and the VM doesn't even break a sweat. OpenAL failed me though, I'm now using FMOD Ex instead - which is free for non-commercial stuff.

For the last week I've had a crash that would take out the VM randomly and it was infuriating me. Finally, I narrowed it down to starving the FMOD Ex buffers - the game loop will send #update to FMOD Ex every 30hz unless something else in the game engine crashes.. in this case I have two outstanding bugs - one in my keyboard code and one somewhere in my vector code.

Tonight, the video you see is from the first stable version of the game - I wrapped up each iterative command in the execution loop with an exception catcher on Error which throws away the crash and keeps the game loop ticking away. This is something I'd consider for production but for now it means I can at least see that everything works as it should.

So without further rambling, here is a short game play video of FreqWars as it stands now:FreqWars-20080319-FirstLook.mov

For those interested, the code is in the public repository under the package name FreqWars. You'll need the music and sounds which I'm not distributing just yet.. so it's an academic exercise of reading the code, you probably won't be able to fire it up yourself.

Read: Working on a Game...

Topic: SPA 2008 Opens Previous Topic   Next Topic Topic: Industry Misinterpretations 79: My Atrocity Beats Your Atrocity

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use