Hamsterspeak doesn't have a negation operator. Write -1*x or 0--x instead.
BTW, you can use fixed point numbers to represent fractional values. It's doable but annoying and requires being careful. I like to multiply everything by 1000, and write 3 500 for 3.5, -1 000 for -1 etc.
Search found 4098 matches
- Fri Mar 06, 2015 8:16 am
- Forum: Game Discussion
- Topic: Is it unwise to use calculus?
- Replies: 9
- Views: 1871
- Fri Mar 06, 2015 8:08 am
- Forum: Q&A Discussion
- Topic: Out of curiosity: Checking byte
- Replies: 6
- Views: 1705
- Fri Mar 06, 2015 5:18 am
- Forum: Game Discussion
- Topic: Void Crypt - testers wanted
- Replies: 33
- Views: 7958
In general when you want to save the current palette, reset it, and then restore it later you could use Giz's script. But in this specific case it doesn't matter too much whether a light flicker is cancelled (that is, just calling resetpalette,updatepalette). You always need to call updatepalette or...
- Thu Mar 05, 2015 9:44 am
- Forum: Q&A Discussion
- Topic: How to make hero revert to "walking" sprite once key release
- Replies: 6
- Views: 1604
- Thu Mar 05, 2015 9:07 am
- Forum: Q&A Discussion
- Topic: Moving slices to make an attack.
- Replies: 4
- Views: 1392
- Wed Mar 04, 2015 8:21 am
- Forum: Game Discussion
- Topic: C++ Hath Happened
- Replies: 2
- Views: 1416
- Tue Mar 03, 2015 11:36 am
- Forum: Q&A Discussion
- Topic: Any suggestion on how to make this script more fluid?
- Replies: 5
- Views: 1491
Turning off bbcode isn't necessary, but you need to turn off html if your script contains the < and > characters. I'd never considered the case of changing the party while the heroes are moving. However, looking at the code it looks like doing that should be no problem, as the swapped hero takes the...
- Tue Mar 03, 2015 6:28 am
- Forum: Game Discussion
- Topic: 7DRL
- Replies: 22
- Views: 4575
- Tue Mar 03, 2015 12:21 am
- Forum: General Discussion
- Topic: Hi doods
- Replies: 11
- Views: 3828
Ah, ok. Actually, something quite similar to that is in the recently released Winged Realm. Except that that's only used in a couple places, and it's a 3D maze.
- Tue Mar 03, 2015 12:08 am
- Forum: Q&A Discussion
- Topic: Hitting switches in a certain sequence script
- Replies: 8
- Views: 1892
- Mon Mar 02, 2015 3:56 pm
- Forum: Q&A Discussion
- Topic: Big rolling boulder -- what type of sprite to use?
- Replies: 8
- Views: 2310
- Mon Mar 02, 2015 3:48 pm
- Forum: General Discussion
- Topic: Hi doods
- Replies: 11
- Views: 3828
- Sun Mar 01, 2015 3:18 pm
- Forum: Game Discussion
- Topic: Hans Stinkman 2015: A Cash Dollar Contest
- Replies: 139
- Views: 28302
Two-minute reviews! Gun pigs: Classic sheamkennedy aesthetic. But I couldn't really play it alone and see how it is. I'm not really sure how you're meant to dodge anything though, other than stepping off your side (which is penalty free). Took me a while to realise that this has tile-base movement, ...
- Sun Mar 01, 2015 3:10 pm
- Forum: General Discussion
- Topic: OHRRPGCE Magnets! for EVERYONE!
- Replies: 84
- Views: 19785
- Sun Mar 01, 2015 3:08 pm
- Forum: General Discussion
- Topic: Hi doods
- Replies: 11
- Views: 3828