Another way to formulate your bassline is all around a simple chord development. Starting with a primary I IV V prog (or should you’re in C significant, C file G) is the most popular house music/chordal set https://www.youtube.com/watch?v=WX51gm6a4Hs