Log In  

Discovered PICO-8 10 days ago, having dredged up TRS-80 and Amiga emulation. Not a programmer.

Just coding stuff to teach myself and pass on to the kids. This isn't a game but just something to add effects to and copy cool code.

I'm going to

  • cycle the colours when a target pinged
  • create a pulse wave
  • animate the targets
  • create nouns and verbs to do something
  • animate out (switching off CRT to a dot)
  • mini frequency graph
    etc etc

Anyway does anyone have any pointers on creating SFX for ...

  • sonar ping sound
  • pulse sound (eg Aliens motion tracker)
  • general static.

Cheers.

P#45137 2017-10-12 04:45 ( Edited 2017-10-23 12:11)

Hey BrisBob - welcome to PICO-8! :D

This looks great already!

With regards to SFX, I did attempt to make an Aliens Motion Tracker a while back, but

  • a) This was as part of a #TweetJam, where the code is limited to 140 chars
    • (So the code is not very user-friendly and also the SFX was coded, rather than made in editor)
  • b) I didn't quite get the pulse SFX right. I kept playing with tone/instruments, but couldn't quite get that soothing "thump/pip" sound. I'm sure you'll have more success!

TIP: Might wanna make the pulse SFX "fade out" by repeating the same note, just reducing the volume gradually. Might make a nice echo? Dunno.

Hope some of this helps - looking forward to seeing the progress on this.

Good luck & feel free to ask more Q's! :D

P#45138 2017-10-12 05:23 ( Edited 2017-10-12 09:23)

looks very good! I want to play a game in it!

here's a snippet that will fill the sfx memory with all kinds of blips and blops:

for a=0x3200,0x42ff do
    poke(a,rnd(256))
end
cstore()

then have a look in the sfx editor. the effects are especially interesting at low speeds (spd>200 for instance), which you don't tend to do naturally (200+ mouse clicks!). then note a single effect you like (like 'A#4176' spd=236) and enter it in an empty sfx slot.

I was thinking of coding something like blip(str,spd,channel) so you could do blip('A#4176',236,0). doesn't seem hard to do, but I haven't researched the mem format yet (must be unofficially documented in the wiki or here on the bbs)

P#45140 2017-10-12 07:05 ( Edited 2017-10-12 11:05)
1

Liquidream. Thank you for being so helpful so soon. I managed to do this for the sonar

C 4772
C 4722
C 4774
C 4745
C 4735
C 4725

SPD 16

Not quite there. The wav was 180k, so didn't upload.

And ultrabrite quite simply, brilliant. Fun to work through all through them.
Would never discover these sounds by trial and error.

Cheers.

P#45142 2017-10-12 08:02 ( Edited 2017-10-12 12:02)

You're most welcome.

P.S. - I just typed in the notes for your sonar and it sounds great! ;o)

P#45143 2017-10-12 08:26 ( Edited 2017-10-12 12:26)
1

Cart #45227 | 2017-10-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

I started working on another piece of code to add to the above Radar code based on Aliens motion tracker.

I added two sound effects - pulse and pip.

I need to apply the colour cycling to the letters (as per the smoke demo). Does anyone have suggestions to clean this up ?

I'd want to time the letters appearing when the pulse actually crosses them, then they fade through the colours. I'll take this code across to the radar.

P#45228 2017-10-15 06:21 ( Edited 2017-10-15 10:21)

I'm sticking with the pulse theme (circles, cos, sin etc) and then learn about collisions.

Started this morning with zep's two minute shooter code and finished the day with this.

Hit gold orbs with a pulse.
Next to do:
Shoot green orb or tractor beam.
Collision detection.
Ramp up difficulty for a 3 minute game.

Amazing that this seems to be only using 10% of CPU.

P#45412 2017-10-23 08:11 ( Edited 2017-10-23 12:11)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 19:20:18 | 0.012s | Q:21