Questions for DarkGod (or others)
Posted: Fri Feb 17, 2012 1:54 pm
Planning my 7DRL and there's a few things that come to mind that I'm not sure how to do...
1. Play a sound. How ToME does it is a bit of a mystery - there seem to be weird files involved. What's the easiest way to trigger a sound to be played?
2. Trigger an action on moving onto a square.
3. Show a full screen image overlaid on the map with transparency (is this possible?) An animation would be good too.
4. Use the shader thingummies to make everything greyscale apart from the colour red, which would be upped in brightness. (Is this possible?) Alternatively just reshade everything red, but without making things darker.
5. Have randomised colours of map tiles, so for instance a load of #'s in a forest would all be slightly randomised colours of green. Can you set the numbers in the tile declarations to be slightly random?
6. Adding blood stains to the map on creature death - essentially just recolouring the tiles.
7. Effects across the whole level on boss death, such as recolouring all tiles, changing tiles (earthquake style effect) and killing all other creatures.
8. Have a door that only opens if a flag is set (such as a certain boss dead).
Also, apart from my 7DRL, there's a few other things I was wondering for Unstoppable:
9. How to have a looping map. Both spatially and visually if possible. Would look like an infinite plane, but with big enough screen you'd see yourself in all directions.
10. How to have a high score record that could be displayed on the main screen.
11. Online high scores? I know modules can use the profile system, but I'm guessing high scores might be another matter.
Edit: Oh, and one other Q... DarkGod, you told me once that there's a way of turning off the module asking for a name at the start?
Edit2: And another other Q... How do you make a graphical resource bar? I tried copying some code before from ToME and it didn't work. Is there a simple way?
1. Play a sound. How ToME does it is a bit of a mystery - there seem to be weird files involved. What's the easiest way to trigger a sound to be played?
2. Trigger an action on moving onto a square.
3. Show a full screen image overlaid on the map with transparency (is this possible?) An animation would be good too.
4. Use the shader thingummies to make everything greyscale apart from the colour red, which would be upped in brightness. (Is this possible?) Alternatively just reshade everything red, but without making things darker.
5. Have randomised colours of map tiles, so for instance a load of #'s in a forest would all be slightly randomised colours of green. Can you set the numbers in the tile declarations to be slightly random?
6. Adding blood stains to the map on creature death - essentially just recolouring the tiles.
7. Effects across the whole level on boss death, such as recolouring all tiles, changing tiles (earthquake style effect) and killing all other creatures.
8. Have a door that only opens if a flag is set (such as a certain boss dead).
Also, apart from my 7DRL, there's a few other things I was wondering for Unstoppable:
9. How to have a looping map. Both spatially and visually if possible. Would look like an infinite plane, but with big enough screen you'd see yourself in all directions.
10. How to have a high score record that could be displayed on the main screen.
11. Online high scores? I know modules can use the profile system, but I'm guessing high scores might be another matter.
Edit: Oh, and one other Q... DarkGod, you told me once that there's a way of turning off the module asking for a name at the start?
Edit2: And another other Q... How do you make a graphical resource bar? I tried copying some code before from ToME and it didn't work. Is there a simple way?