Another freebasic miner
Another freebasic miner
Edit: GitHub link: https://github.com/verybadidea/Another-freebasic-miner
Just a 'teaser', working on a new game, first code following soon:
Instead of creating or finding graphics for a game, I now try to make a game for a set of graphics.
Just a 'teaser', working on a new game, first code following soon:
Instead of creating or finding graphics for a game, I now try to make a game for a set of graphics.
Last edited by badidea on Feb 17, 2020 23:38, edited 2 times in total.
Re: Another freebasic miner
I like your art!
Re: Another freebasic miner
The tiles are form here, for free: https://opengameart.org/content/mining-pixel-game-assetdafhi wrote:I like your art!
Whats is a bit strange is that you can also buy the sprite set for $16 here: https://www.chupamobile.com/ui-graphic- ... heet-19054
Someone made an iOS / Android game with it: https://forums.imore.com/iphone-apps-ga ... nture.html
-
- Posts: 3908
- Joined: Jan 01, 2009 7:03
- Location: Australia
Re: Another freebasic miner
So how is it going so far?
Makes sense to use other people's images when artistically challenged as you can always change them later without changing the code.
The images can make a big difference. I duplicated some of the coding of the Wonderboy game. When I used the image data from the real game it suddenly became more professional looking!
I couldn't resist making a more manly version of the character you are using :)
Unfortunately I don't have the proper art software and hardware to do a good job as I might with pen and paper instead I am stuck with MSPaint and a heavy handed mouse to try and draw freehand lines.
Makes sense to use other people's images when artistically challenged as you can always change them later without changing the code.
The images can make a big difference. I duplicated some of the coding of the Wonderboy game. When I used the image data from the real game it suddenly became more professional looking!
I couldn't resist making a more manly version of the character you are using :)
Unfortunately I don't have the proper art software and hardware to do a good job as I might with pen and paper instead I am stuck with MSPaint and a heavy handed mouse to try and draw freehand lines.
Re: Another freebasic miner
Slowly working on it. Every day a small step.BasicCoder2 wrote:So how is it going so far?
Looks good, but I have 33 actor images (walking, climbing, with jet-pack). Too much to change now, maybe later.BasicCoder2 wrote:I couldn't resist making a more manly version of the character you are using :)
The code is already enough challenge.
E.g in this case. The miner is on a ladder, what should happen when I press left or right?
And in this case, what should happen when he walks left? Stop at edge? Fall 2 tiles down? Jump on the ladder on the left?
(at the moment he just goes 'sky-walking')
And answering the questions is the easy part. Implementing the code for it is not so easy.
Edit: Adding the 'ladder bridge' sprite simplifies it:
Edit: Forget 'ladder bridges' for now. Not sure how these sprites were intended. When climbing, the player should be drawn after (in front of) the 'ladder bridge' sprite. But when walking over the bridge then the player should be drawn before the ladder bridge. Too complicated for now.
-
- Posts: 3908
- Joined: Jan 01, 2009 7:03
- Location: Australia
Re: Another freebasic miner
It appears that with the purchase you get "ready-to-use App and Game Templates and something about being able to reskin an app? Maybe the graphics were for the Treasure Miner game and are just being given out.
Longer example,
https://www.youtube.com/watch?v=HFC0Q1pxeBg
This seems similiar with slightly different character art work.
https://www.youtube.com/watch?v=6H2wSlgvp2E
Are you using a tile editor to make a world?
Have you written a game engine?
Over the years I have experimented with different game engines to handle sprites and tiles and scroll worlds so the coding of a simple tile game is the easy part, the hard part is just the lack of imagination for a game people would have fun playing!!
Longer example,
https://www.youtube.com/watch?v=HFC0Q1pxeBg
This seems similiar with slightly different character art work.
https://www.youtube.com/watch?v=6H2wSlgvp2E
Are you using a tile editor to make a world?
Have you written a game engine?
Over the years I have experimented with different game engines to handle sprites and tiles and scroll worlds so the coding of a simple tile game is the easy part, the hard part is just the lack of imagination for a game people would have fun playing!!
Re: Another freebasic miner
There seems to be a 'Treasure Miner' and a 'Treasure Miner 2' with the last one using the same images as I use.BasicCoder2 wrote:It appears that with the purchase you get "ready-to-use App and Game Templates and something about being able to reskin an app? Maybe the graphics were for the Treasure Miner game and are just being given out.
Longer example,
https://www.youtube.com/watch?v=HFC0Q1pxeBg
This seems similiar with slightly different character art work.
https://www.youtube.com/watch?v=6H2wSlgvp2E
You mean a map editor? A have made a simple map editor before which I could adjust for this game. But I don't think a need a map editor, it will probably be a randomly generated map.BasicCoder2 wrote:Are you using a tile editor to make a world?
I don't know. I have a bunch of source code files which I have used for other game project and which I keep improving. One could call this a game engine, or a bunch for useful files :-)BasicCoder2 wrote:Have you written a game engine?
I don't know if it will be fun or even a complete game. The main goal for me is learning.BasicCoder2 wrote:Over the years I have experimented with different game engines to handle sprites and tiles and scroll worlds so the coding of a simple tile game is the easy part, the hard part is just the lack of imagination for a game people would have fun playing!!
-
- Posts: 3908
- Joined: Jan 01, 2009 7:03
- Location: Australia
Re: Another freebasic miner
Yes I meant a map editor. I also wrote a simple tile editor and sprite animation editor. However they are only as good as your art and animation skills.
A game engine lays the software framework to build and create video games. They provide features from animation to artificial intelligence. Game engines are responsible for rendering graphics, collision detection, memory management, and many more options.
https://www.youtube.com/watch?v=DKrdLKetBZE
This was supposed to be a simple game engine framework.
viewtopic.php?f=15&t=25485&
A game engine lays the software framework to build and create video games. They provide features from animation to artificial intelligence. Game engines are responsible for rendering graphics, collision detection, memory management, and many more options.
https://www.youtube.com/watch?v=DKrdLKetBZE
This was supposed to be a simple game engine framework.
viewtopic.php?f=15&t=25485&
Re: Another freebasic miner
Yes, most of that stuff I have implemented. Walking, climbing and falling is working now with collision detection. Falling animation is still missing. When I have that implemented and some clean-up, I will post some code.BasicCoder2 wrote:Yes I meant a map editor. I also wrote a simple tile editor and sprite animation editor. However they are only as good as your art and animation skills.
A game engine lays the software framework to build and create video games. They provide features from animation to artificial intelligence. Game engines are responsible for rendering graphics, collision detection, memory management, and many more options.
https://www.youtube.com/watch?v=DKrdLKetBZE
This was supposed to be a simple game engine framework.
viewtopic.php?f=15&t=25485&
In your demo, you move the player from 1 tile to the next. My miner movement is less locked to the grid, he get stop halfway to tiles. This makes things a bit more complex.
-
- Posts: 3908
- Joined: Jan 01, 2009 7:03
- Location: Australia
Re: Another freebasic miner
The reason for that is it makes it easier to line up a sprite to move between tiles.badidea wrote:In your demo, you move the player from 1 tile to the next. My miner movement is less locked to the grid, he get stop halfway to tiles. This makes things a bit more complex.
Re: Another freebasic miner
Project so far: https://nr100.home.xs4all.nl/badidea/mi ... -12-25.zip [637 kB]
Only walking, climbing and falling. Not yet tested on windows.
Only walking, climbing and falling. Not yet tested on windows.
-
- Posts: 1007
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
Re: Another freebasic miner
Hello! Very nice art. Compiles and works well under Windows 64. The man can walk, climb to ladders, and fall. Very promising. I will follow this project with interest.badidea wrote:Project so far: https://nr100.home.xs4all.nl/badidea/mi ... -12-25.zip [637 kB]
Only walking, climbing and falling. Not yet tested on windows.
By the way, I am a fan of the "old" FreeBasic Miner. ;)
-
- Posts: 3908
- Joined: Jan 01, 2009 7:03
- Location: Australia
Re: Another freebasic miner
Regarding FreeBasic Miner,
404 Not Found error from url given.
Found at,
http://games.freebasic.net/dumpbyid.php?input=166
404 Not Found error from url given.
Found at,
http://games.freebasic.net/dumpbyid.php?input=166
Re: Another freebasic miner
Thanks, but the art isn't mine, see posts above.Roland Chastain wrote:Hello! Very nice art.
For this project I have no predefined plan. Only vague ideas of what I want to add. This way, I can never be disappointed with the progress, I hope. Just go from one feature to the next and use the set of images for inspiration. No or limited sprite art myself, use whatever images I have now. They say limited resources results in creativity. We'll see.Roland Chastain wrote:Compiles and works well under Windows 64. The man can walk, climb to ladders, and fall. Very promising. I will follow this project with interest.
I am aware of that game, never played it thou. That is also why I named this 'Another freebasic miner' for now.Roland Chastain wrote:By the way, I am a fan of the "old" FreeBasic Miner. ;)
-
- Posts: 1007
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
Re: Another freebasic miner
In my opinion it's one of the best games ever made with FB. I have a son who played it for years without getting tired. :)badidea wrote:I am aware of that game, never played it thou. That is also why I named this 'Another freebasic miner' for now.
When I had time, maybe I will try to make a Linux compatible version.
About the new FB Miner, I saw that you use the main window for the debug. If I were you, I would compile in console mode and write all the debug to the console. Just my two cents. ;)
Anyway your project seems to start very well.