8
u/Todask Sep 02 '20
This is nice. Is there source for us to look at?
16
u/Karki2002 Sep 02 '20
Not at the moment but I think I want to do a couple more improvements first before I pop the source code on GitHub or something
3
Sep 03 '20
I would upload it to GitHub as a private repo and just publish it as public when you feel ready. Get used to using version control, it also allows you to work on big changes and roll back to a working state when you bugger up.
2
5
3
u/RedEyesBigSmile Sep 02 '20
how did you create the scrolling window?
2
u/Karki2002 Sep 02 '20
On using the pygame module I created a surface in which I placed the map on, I then move the map around the window to make the perception of the camera moving
4
u/RedEyesBigSmile Sep 02 '20 edited Sep 02 '20
so the map im assuming is an image with resolution larger than your display window? So not all of the map is shown and by moving the map you're revealing a portion of it that previously wasn't able to be seen?
3
2
u/ZyanCarl Sep 02 '20
Heyy, I was planning of doing something like this but kinda super mario style and pocket tanks style. Is there a way to do random terrain generation with kinda smooth transition instead of steep terrain?
It was not anything urgent but I thought I’d make pocket tanks for windows
2
u/Karki2002 Sep 02 '20
Yes of course, I would think you could use polygons for terrain in pocket tanks and perlin noise for the random height of the terrain.
2
u/ZyanCarl Sep 02 '20
Yes I read about that but how would you calculate the parts where the ammunitions hit? Like in pocket tanks
1
2
2
2
u/Taken48 Sep 02 '20
like worldbox
2
2
Sep 02 '20
those tilesets are from open game art right?
1
u/Karki2002 Sep 02 '20
Yeah, I’ve been looking for someone to help make some pixel art for me, but it doesn’t really come free. So I thought the next best thing would be to checkout Open Game Art... I’m shit at art.
2
u/perryplatt Sep 02 '20
If you could include fog of war, you have the start of an rts.
1
u/Karki2002 Sep 02 '20
I do want to use this to make a game at some point, not sure what I’m gonna make yet though...
2
2
2
2
2
2
2
u/GlicketySplit Sep 03 '20
This is terrific! Something like this would be super useful in garden planning. Among a long list of other things, of course :)
2
1
2
2
2
0
Sep 02 '20
[deleted]
17
u/Karki2002 Sep 02 '20
It was just a little extra I added for fun, but I would like to add other weather effects in the future :)
19
u/Exodus111 Sep 02 '20
Cool, you using any framework for this? Like Pygame?