Search found 29 matches

Page 1, 2  »
Hamsterspeak runtime cost
by DWRL at Wed Mar 10, 2021 8:32 pm in Q&A Discussion
I don't know what that has to do with for-each loops.
Uhm, nothing, I just wrote an example for a list-comparison without thinking too much. I was on lunch-break... Hurr

CPUs can perform billio ...
Hamsterspeak runtime cost
by DWRL at Wed Mar 10, 2021 10:44 am in Q&A Discussion
HamsterSpeak has no List-Comparison, e.g. in Python:

if x in list:

Of course, one could use if or switch/case, but is there a point upon which those drag the engine down?
For example, limit ...
Thank you both for the fast replies Grin

"
Great, that does the trick Smile

I'd like to add a builtin settings menu, and let people customise its appearance as a slice collection, in such as ...
Is there any way to just end the game from hamsterscript, set it to fullscreen, change the volume etc?
I am using my own menus, and would like to build myself a nice 'Settings'-Screen.

Also, leavi ...
We have rules
by DWRL at Sat Jun 20, 2020 7:33 pm in Front Page
At least ss isn't some kind of fascist dictatorship
You know, my first question as I read that was if we might have different ideas about the SS.
Then I realized ss is just the abbreviation for slim ...
Thread of useful utilities
by DWRL at Tue Jun 16, 2020 7:22 pm in Game Discussion
For Music I'd like to throw some good, old Trackers in the ring.

have to learn the basics.
Once you get them down (stepping, sampling, chiptuning, song structure) it's almost ridiculously easy to ...
(...) I would have gone the route of saving the data in slices, but I know a lot of people aren't a fan of doing that.
I am a bit cautious about that, since I a) don't fully understand slices to this ...
Xoo: Xeno Xafari release imminent
by DWRL at Mon Jun 15, 2020 6:45 pm in Game Discussion
Ok, the descriptions of the creatures are hilariously funny.
After a quite long day this was the dose of humor I needed, so thank you for making my evening Grin
There is a bitset to save script-generated slices. (...) The other route is to have a load-game script that re-generates all of the necessary slices based on globals, etc.
Well, I went the latter rou ...
Why does your script convert indvidual choices into 1 variable and then convert them back again?
why not just have the editor or equip screen set pGender pHairstyle pHaircolor pSkintone and pClothe ...
(...)Although it only works because the OHR doesn't use floating point numbers... else there would be problems at rounding, I think.(...)
I guess in that case we'd need (and might have) a floor opera ...
To be honest, it wouldn't have occured to me if I hadn't seen it in the three-frame walking script Angel
Show off your graphics!
by DWRL at Sat Jun 13, 2020 1:28 pm in Game Discussion
Thanks Grin

And yes, still OHR.
At the moment I have the base and hair layer, with clothes and weapon layer planned.
I am a bit unsure if I should include two cloth layers (say, upper and lower b ...
Here is the script as I currently have it, in case anybody might find it useful, or find something to improve Smile

It needs the walkabout for the hero to be set to one of the same size as wished, b ...
Show off your graphics!
by DWRL at Sat Jun 13, 2020 8:59 am in Game Discussion
Character Creation screen:
(With some debug text shown)

https://dwrl.de/misc/menu.gif
Page 1, 2  »