Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Colour Cycling
#9
Hi again,
I have managed to use aiff, ogg for sound effects using...
sounds = Sound(number of channels, path)
sounds.load(name, file)
and
sounds.play(name, channel)
...with the python binding and was pleasantly supprised that I could use a mod from MilkyTracker v1.02 for some background music.
However I was wondering though, how do I use other SDL_mixer commands through the PySDL2 python binding?

Also a version of Tilengine with “bitmap-based background layers” sounds interesting.

If you release a version with “bitmap layers” could you also add a few more Keyboard Inputs for the python binding ie/ “SPACE”, “TAB” possidly “W,A, S,D” for people who have no Joystick or game controller pluged in? This would allow for coding “tln.Input.TAB” to switch Colour Cycling on & off (like many paint programs on the Amiga) and “tln.Input.SPACE” (Spacebar) for Jumps or Fire and “W,A,S,D” keys for another player. I’m afraid I don’t know how to do this through SDL2 & PySDL2 due to the same reason I don’t know how to use the PySDL2 python binding to add more SDL_mixer commands.
I hope this makes sense.
Reply


Messages In This Thread
Colour Cycling - by PerspexSphinx - 04-18-2018, 06:09 AM
RE: Colour Cycling - by megamarc - 04-19-2018, 03:51 AM
RE: Colour Cycling - by PerspexSphinx - 04-28-2018, 06:08 AM
RE: Colour Cycling - by megamarc - 04-28-2018, 11:37 PM
RE: Colour Cycling - by PerspexSphinx - 04-29-2018, 02:53 AM
RE: Colour Cycling - by megamarc - 04-30-2018, 04:06 PM
RE: Colour Cycling - by PerspexSphinx - 05-06-2018, 03:33 AM
RE: Colour Cycling - by megamarc - 05-07-2018, 10:50 PM
RE: Colour Cycling - by PerspexSphinx - 05-17-2018, 03:36 AM
RE: Colour Cycling - by megamarc - 05-21-2018, 07:18 AM
RE: Colour Cycling - by PerspexSphinx - 05-31-2018, 02:33 AM
RE: Colour Cycling - by megamarc - 06-02-2018, 01:19 AM
RE: Colour Cycling - by PerspexSphinx - 02-27-2019, 08:26 AM
RE: Colour Cycling - by megamarc - 02-28-2019, 07:43 AM
RE: Colour Cycling - by PerspexSphinx - 04-26-2019, 05:24 PM
RE: Colour Cycling - by megamarc - 05-01-2019, 09:31 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)