!Daleks
Stephan Kleinert (2271) 70 posts |
Hi all! Sometime last year I realized there was no Daleks game for RISC OS, so I decided to write my own as a weekend challenge to teach myself a bit of WIMP programming. Just rediscovered the results on my old RiscPC hard drive, so here it is. Have fun :) http://code.stephan-kleinert.de/riscos/Daleks.zip Kind regards P.S.: MIT-License and all, so do with it what you want ;) |
Kevin (224) 322 posts |
It works OK on the ARMX6 |
Stephan Kleinert (2271) 70 posts |
Perfect :) And it should as well, the whole thing is written in BBC Basic ;) |
Willard Goosey (5119) 257 posts |
Ha! Cool little game! Always a classic! |
John Williams (567) 768 posts |
If you rename your Help file to !Help – ie, add a leading “pling” – the Help will be accessible from the Filer Application menu appearing with Menu button over the Application icon. Saves people having to delve inside to find the Help! And there’s a rogue black pixel top-right in the icon sprite! |
John Sandgrounder (1650) 574 posts |
Nice. and it is not squashed, so very readable as well.
That would also need to ShowHelp procedure updating to filer_run the revised filename |
Chris Evans (457) 1614 posts |
Maybe I misunderstand but for ‘Help’ to be accessible from the Filer menu nothing needs to be put anywhere. On a RISC OS 3.7 computer I just created a directory !Test and put a text file in it called !Help. After copying it to another drive the menu option worked |
John Williams (567) 768 posts |
John S is referring to the Help file being available from the iconbar menu item as well. I hadn’t even noticed that it had an iconbar icon when I made the original observation. I’ve altered the BASIC on my copy, but the same effect could be obtained by keeping the duplicate file without the pling as well. |
Stephan Kleinert (2271) 70 posts |
Nice! I didn’t know this :) Thank you! |
John Williams (567) 768 posts |
Which is why I posted it! But you also need, as JS suggested, to change your internal reference to the Help file to change the path for the iconbar menu! And fix that rogue pixel in the icon! |
John Williams (567) 768 posts |
Because it may suggest that people have a dodgy pixel on their actual display! |
John Williams (567) 768 posts |
OK – and I haven’t said Well done for an example program in BASIC to spur on other programmers! I don’t do games myself, but well done for those that do! Churlish! |
Stephan Kleinert (2271) 70 posts |
Done ;)
Of course ;)
Also done!
Thank you. My actual favourite on RISC OS is RiscLua but BBC BASIC is also great, even more so considering its age. Wouldn’t really want to do C because I do a lot of C/C++/ObjectiveC programming on mobile platforms in my day job (so a little recreation by means of RISC OS coding is always welcome… especially after a busy week of dealing with absurd timeframes and ignorant customers :)) |
Matthew Phillips (473) 719 posts |
It doesn’t seem to run out of Teleports. When Safe Teleports goes down to 0 I can still press T. Good job because it’s pretty hard to get them to collide otherwise! |