Search found 19 matches

by armanelgtron
Wed Dec 16, 2020 4:21 am
Forum: Bug Reports
Topic: Strange glitched graphics after death + message
Replies: 2
Views: 240

Strange glitched graphics after death + message

Steps to reproduce: 1) Turn ON Small Game Graphics (and you probably want to turn OFF Ask On Game Over as well as it will probably interfere) 2) Make the player die in some way 3) Press a key that opens a message, such as F1 or F2 as bound to tape save and load respectively 4) Dismiss the message Sc...
by armanelgtron
Thu Dec 10, 2020 9:09 pm
Forum: Help
Topic: Contributions 1998 Ben Braithwaite level 50
Replies: 6
Views: 618

Re: Contributions 1998 Ben Braithwaite level 50

All solved except 50. That one is either a broken design, or has been broken by some RnD behavior change since 1998... The latter seems to be the case. I loaded up rnd 1.2.0 (which actually includes the levelset in question!) in dosbox (the native linux binary didn't work), and it doesn't seem to c...
by armanelgtron
Wed Nov 25, 2020 9:38 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 18
Views: 685

Re: Rocks'n'diamonds in a browser!

2. I also got a WASM file of size 64,378,266 bytes initially, but when using "wasm-opt -O2" on it, it only shrinks to 61,650,594 bytes, which is much larger than "under 4 MB". :? Any idea what's missing here to also get that much smaller size? I have no idea. The WASM for me was 64,377,682 bytes (u...
by armanelgtron
Sat Nov 21, 2020 6:53 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 18
Views: 685

Re: Rocks'n'diamonds in a browser!

Does it have a noticeable effect on runtime speed, or just download time? I don't know, I couldn't notice a difference in runtime speed in my very limited testing. Can you put an optimized version up at e.g. https://armagetron.kevinh.us/rnd-opt/ ? Sure... though admittedly, I had already replaced t...
by armanelgtron
Sat Nov 21, 2020 12:44 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 18
Views: 685

Re: Rocks'n'diamonds in a browser!

Holger wrote:
Fri Nov 20, 2020 10:55 pm
(BTW: Do you have an idea what might cause the large size of the WebAssembly code?)
I would guess all of the dependencies. Although, it turns out passing the resulting wasm through Binaryen's wasm-opt (-O2) shrinks it right down to under 4MB.
by armanelgtron
Fri Nov 20, 2020 10:21 am
Forum: Programmer's Corner
Topic: Rocks'n'diamonds in a browser!
Replies: 18
Views: 685

Rocks'n'diamonds in a browser!

Rocks'n'Diamonds was compiled using Emscripten with some modifications (source and diff below, though admittedly not the best work). It actually wasn't as hard to get running as I thought it would be. If you want to build, you must have Emscripten and use `emmake make` Note that the wasm binary itse...
by armanelgtron
Sat Oct 24, 2020 7:57 am
Forum: Testing Area
Topic: test element_info
Replies: 4
Views: 7797

Re: test element_info

I think I wouldn't mind being able to see the number in the editor UI as well, could be useful when writing a script to output a level sketch or something and not sure what an element would be
by armanelgtron
Thu Oct 22, 2020 5:16 pm
Forum: Bug Reports
Topic: MIDI under Linux w/ QSynth
Replies: 3
Views: 811

Re: MIDI under Linux w/ QSynth

Ah, I didn't even think about trying to research how SDL handles MIDI... based on what you posted, I tried launching RnD with SDL_SOUNDFONTS=/usr/share/soundfonts/FluidR3_GM.sf2 rocksndiamonds ... and it worked! But that means it's launching its own instance of Fluidsynth to use rather than connecti...
by armanelgtron
Wed Oct 21, 2020 5:45 am
Forum: Bug Reports
Topic: MIDI under Linux w/ QSynth
Replies: 3
Views: 811

Re: MIDI under Linux w/ QSynth

Well, I was playing around some other utilities such as using naconnect to connect "Midi Through Port-0" to "Synth input port"... but after that failed I realized... (including applications running under WINE) So... I tried running RocksnDiamonds under WINE, and that does indeed work correctly. Not ...
by armanelgtron
Wed Oct 21, 2020 5:13 am
Forum: Bug Reports
Topic: MIDI under Linux w/ QSynth
Replies: 3
Views: 811

MIDI under Linux w/ QSynth

When running QSynth, RocksnDiamonds doesn't seem to pick it up and I get no music on the levelsets which include MIDI files. Other applications (including applications running under WINE) seem to pick the presence of QSynth just fine, though some do require changing the MIDI output from "midi throug...
by armanelgtron
Mon Jul 06, 2020 12:15 am
Forum: New Ideas
Topic: IDEA: Slow Pill
Replies: 2
Views: 1549

Re: IDEA: Slow Pill

You should be able to create a custom element that does that. I'm not quite sure how to make it collectable without having another custom element somewhere. However, you can make it "walkable over" and change the speed (and the element to empty space) when entered by player.
by armanelgtron
Mon Jun 15, 2020 3:36 am
Forum: Help
Topic: Emerald Mine engine with all elements
Replies: 2
Views: 1153

Re: Emerald Mine engine with all elements

I'm trying to replicate another Emerald Mine -based game which has some of the characteristics and timing of the Emerald Mine engine, but uses elements (well, just enemies IIRC) that are similar but not quite the same as the spaceship and bug (slightly different speeds [which is alright I suppose] a...
by armanelgtron
Fri Jun 12, 2020 2:28 am
Forum: Help
Topic: Emerald Mine engine with all elements
Replies: 2
Views: 1153

Emerald Mine engine with all elements

Apologies if this question has already been asked somewhere, but a quick search on these forums didn't reveal anything. Is it possible to use the Emerald Mine engine (or at least replicate it's behavior like moving latency, 1 element player explosion, and the player always facing down when not movin...
by armanelgtron
Thu Aug 06, 2015 1:50 am
Forum: Bug Reports
Topic: rnd plays wav 48000 KHz too slowly
Replies: 3
Views: 4945

Re: rnd plays wav 48000 KHz too slowly

filbo wrote:What OS & version; what version of RnD; built by you, downloaded prebuilt from here, or built by your distro; what version and build pedigree of SDL libraries?
Debian 7 Wheezy (64 bit)
3.3.0.1 SDL (built by debian)
snapshot51.png
snapshot51.png (16.66 KiB) Viewed 4928 times
I'll leave a thing whatever later.
by armanelgtron
Sun Aug 02, 2015 4:55 pm
Forum: Bug Reports
Topic: rnd plays wav 48000 KHz too slowly
Replies: 3
Views: 4945

rnd plays wav 48000 KHz too slowly

Rocksndiamonds plays WAV 48000 KHz files at the wrong speed and pitch. (sounds like a tape playing at the wrong speed). 44100 KHz WAV files work fine.