Log In  

A small playground level to test the flash version of Voxatron.

  • Wait a few seconds for it to load (~550k)
  • Click to get focus
  • Cursors + ZXCV or ASDW + JKLI & Space

This version of Voxatron is a 550k swf compiled from the C source using Adobe Alchemy. I can't imagine it will ever replace the native version as a way to play BBS levels, but it might become a nice way to preview them and to share stuff online. It also has the potential to become a convenient way to show replays. Only the key presses are recorded so the data needed is very tiny (around 3k for a long level).

After you finish the level, try ESCAPE (menu) -> "PLAYBACK >>" to see this in action. F to fast-forward.

You can check the frame rate with ESCAPE->OPTIONS->VIDEO OPTIONS. It does around 18 fps for me (Linux/Firefox). You can turn soft shadows on in the video options but it will cost around 4 FPS

No audio support yet

Have fun!

P#6368 2012-07-29 15:05 ( Edited 2012-07-29 19:05)

:: soren

Very nice! I get around 40 fps in Chrome on Windows 7 on a last years gaming laptop.

P#6369 2012-07-29 15:59 ( Edited 2012-07-29 19:59)
:: Tom.K

18 FPS here, too. However, this is for me somehow still very smooth. You could make Facebook version of Voxatron with this, to share levels, replays and scores.

P#6375 2012-07-29 18:07 ( Edited 2012-07-29 22:07)

when playing back my game play it showed monsters spawned differently and ended up killing me in the replay and so no accurately displaying what happened.

P#6379 2012-07-29 19:34 ( Edited 2012-07-29 23:34)
:: Brownd

~24 FPS on Windows 7 x64 with Chrome, hard shadows.
Wasn't expecting this, at all. I guess it will be awesome for sharing replays n' stuff. Maybe even an online demo of the game? (like some games that were actually built in flash)

P#6380 2012-07-29 21:52 ( Edited 2012-07-30 01:52)

Works well for me! Just a little slow down from explosions! Should be interesting how this develops! :D

P#6383 2012-07-30 23:09 ( Edited 2012-07-31 03:09)
:: Kinda

It was kind of strange, but after i used playback it hadn't actually recorded what I did ingame, and saw myself dying =(

P#6385 2012-07-31 03:22 ( Edited 2012-07-31 07:22)

Solid 40fps on Chrome 20.0 with flash 11.3; 37fps with the soft shadows. A not so very nice 90% cpu usage with 1.05GB of ram! so its pretty close to the boundary if nto slightly over for a flash app;

Running on a Macbook Pro 2.5Ghz i7; 16gb ram (so 1gb is nothing :-p).

Guessing the whole scene is being rendered every frame? Lots of stuff quite static that would save cpu for when nothing's happening; Also could probably cache the visible voxel in a large array to avoid having to re-compute the top most visible one per pixel. Also could run the game at a lower res and draw to a bitmap and then just scale it up (you may be doing this already :-p).

Would be interested to see how well it ran compiled with Haxe; Alchemy is a little outdated now but haxe requires you to port it all to "as3" like code rather than leaving as is.

Nice work anyhow :-D. Love the game.

P#6386 2012-07-31 03:40 ( Edited 2012-07-31 07:40)

37 fps on last year Mac Mini. ( @lightfoot256: I don't see 1gb flash usage, rather 200mb, probably it depends on amount of RAM you have installed )

47fps with 'hard' shadows ( which looks better for me in this environment )

And your 18fps only shows how much Adobe doesn't care about Linux...

P#6387 2012-07-31 04:01 ( Edited 2012-07-31 08:01)
:: zep

Drat -- it seems as if the flash version isn't as deterministic as I thought. (the playback thing depends on it).

But that's great to hear other machines are getting pretty decent framerates. I was planning on making some cut down demo levels designed just for web, but it looks any old BBS level will also be possible.

The problem with the dirty rectangle method is that it improves the average case, but makes the worst case worse (lots of stuff flying around). It might be worth using a hybrid approach though -- maintaining an image of the ground voxels and drawing the dynamics with a z-buffer or something.

The game is rendered at 128x200 :p

I like Haxe, but there's no way I could comfortably port the engine. It looks like Alchemy will get official support soon anyway.

P#6407 2012-08-04 19:11 ( Edited 2012-08-04 23:12)

@zep, I'd like to add you to the Alchemy 2 beta if you're interested, we've improved the performance of the generated code and generally made Alchemy a lot easier to use.

P#6431 2012-08-14 11:53 ( Edited 2012-08-14 15:53)
:: zep

For sure! I sent you an email.

P#6436 2012-08-16 18:10 ( Edited 2012-08-16 22:10)

I see there haven't been any comments in over a year, so I would assume that there haven't been any updates to the web version. It plays well on my AMD FX 6100 3.1ghz. (30 - 38 fps) but the playback isn't accurate. The movements were offset a bit and a lot of the items and monsters never spawned (perhaps because of the location difference). Using chrome and the browser instance for the game is using 16% cpu and 106mb ram. Since someone was guessing the usage had to do with how much ram is installed, I doubt it since I have 8 gb ram.

Looks great anyway. Keep up the good work.

P#7962 2013-11-29 12:48 ( Edited 2013-11-29 17:51)

so many bad guys and why a fox fave animal i see that i have playd a firefox very very very good

P#9439 2014-12-13 07:05 ( Edited 2014-12-13 12:18)

voxatron is very good my dad loves it becease im playing as a fox!

P#9453 2014-12-15 14:30 ( Edited 2014-12-15 19:30)

hey zep wanna play a game

P#9454 2014-12-15 14:30 ( Edited 2014-12-15 19:30)

zep is he best one on the site hey and like my picture is it funny giggles sorry

P#9465 2014-12-16 14:44 ( Edited 2014-12-16 19:44)

hey i made a couple of cringy as fuck comments here like 5 years ago? do not read them

P#63454 2019-04-12 17:19

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-08-18 03:56 | 0.038s | 4194k | Q:50