SFML community forums
General => SFML projects => Topic started by: Hyden on March 25, 2016, 10:25:11 pm
-
Hello, my name is Hyden. I'm developing Amsale, a skyview game where you manage a colony on the alien planet, Zeus. Currently, the game is in a very early stage of development. In the theme of Zeus (the Greek god of the sky and the lightning) the planet will be cold, stormy and lifeless.
Below are all versions of the game with the latest at the top.
Amsale 1A (https://www.dropbox.com/s/sj23nnhtixolqkw/Amsale.rar?dl=0 (https://www.dropbox.com/s/sj23nnhtixolqkw/Amsale.rar?dl=0)) - Basic sprites, basic building mechanics, moveable character, basic collision. - 2 days of development.
Amsale 1B (https://www.dropbox.com/s/0hmevs4oqeqofbw/Amsale%201B.rar?dl=0 (https://www.dropbox.com/s/0hmevs4oqeqofbw/Amsale%201B.rar?dl=0)) - Fixed jumpy movement, can't place objects where player is, game doesn't randomly crash. - 3 days of development
Amsale 1C (https://www.dropbox.com/s/f0iotllrv5y6161/Amsale%201C.rar?dl=0 (https://www.dropbox.com/s/f0iotllrv5y6161/Amsale%201C.rar?dl=0)) - Redid all the code, added in game stats, etc
(http://i.imgur.com/rKR4s7P.png)
Project started on the 23rd of March, 2016.
-
I couldn't run it, I got a message saying that "libgcc_s_sjlj-1.dll" was not found. That probably is not the only .dll missing, so make sure to include everything.
Also, it would be nice if you could include some images, even if the graphics are just placeholders, mostly to see how your project evolves later on ;)
-
Sorry, I've uploaded the download link and I'll add screenshots soon.
-
Sorry, I've uploaded the download link and I'll add screenshots soon.
Oh noes! I'm so curious but when i start the game all i see is a basic black window with a flashing cursor !!! :(
-
Right, clearly there's an issue so I'll take a look at it and post again when I work out what's wrong.
-
Alright, I've added a new link, I'm hoping this will fix any problems.
-
Alright, I've added a new link, I'm hoping this will fix any problems.
It works!!!
-
Woooo! Thanks for trying it! Can you post your opinion and any suggestions so far?
-
Alright, I've added a new link, I'm hoping this will fix any problems.
Works now! Movement is a bit jumpy, every 1 second or so he skips a beat and pushes a bodylength forward. I like it though.
A couple of other glitchy things (I know it's 2 days development, but just so you can fix ;)) are that the player collision box can't walk through a 1x1 square.
Also when you place stuff inside of you, you get stuck, you should probably make it so that the player is moved out of it slowly or quickly, whatever.
Lastly, the game crashed randomly the first time running after around 15 seconds. All I did was place some generators and alt+tab to check something, when I clicked back and tried resizing the window and then alt-tabbed again, it crashed. I'm not sure why at all, but hey, could be a Windows 10 thing.
Overall great concept and awesome quick-work on it. I suck at collisions so it's crazy seeing you whip that up so quickly. Good luck!
-
Alright, I've added a new link, I'm hoping this will fix any problems.
Works now! Movement is a bit jumpy, every 1 second or so he skips a beat and pushes a bodylength forward. I like it though.
A couple of other glitchy things (I know it's 2 days development, but just so you can fix ;)) are that the player collision box can't walk through a 1x1 square.
Also when you place stuff inside of you, you get stuck, you should probably make it so that the player is moved out of it slowly or quickly, whatever.
Lastly, the game crashed randomly the first time running after around 15 seconds. All I did was place some generators and alt+tab to check something, when I clicked back and tried resizing the window and then alt-tabbed again, it crashed. I'm not sure why at all, but hey, could be a Windows 10 thing.
Overall great concept and awesome quick-work on it. I suck at collisions so it's crazy seeing you whip that up so quickly. Good luck!
Something else; I like the console for updating resources and generators, miners, etc placed. Maybe you can make a pseudo-console ingame for displaying stats? Like press Q and a fake console pops up with stats of the game?
-
Thanks :) I'm not able to replicate what you mean by the jumpy movement and I don't understand what you mean by the player collision box going through 1x1 squares. I'll make it so objects can't be placed where the player is standing. I like the idea of implementing the stats via a in game terminal, I think I'll show the basic stats (power, food, metal and that) on the screen always and then have a way to open up a terminal to show more in depth stats like how many generators there are. Perhaps you are thinking of a terminal like the ones in Fallout 4?
(http://twinfinite.net/wp-content/uploads/2015/11/fallout-4-hacking-600x337.jpg)
-
Thanks :) I'm not able to replicate what you mean by the jumpy movement and I don't understand what you mean by the player collision box going through 1x1 squares. I'll make it so objects can't be placed where the player is standing. I like the idea of implementing the stats via a in game terminal, I think I'll show the basic stats (power, food, metal and that) on the screen always and then have a way to open up a terminal to show more in depth stats like how many generators there are. Perhaps you are thinking of a terminal like the ones in Fallout 4?
(http://twinfinite.net/wp-content/uploads/2015/11/fallout-4-hacking-600x337.jpg)
If I place 2 walls or generators 1 space apart (so there is an opening) and I try to walk through, I can't. As for the jumpy movement, I'm not entirely sure why it's only happening on my computer, how do you update movement? FPS or fixed timestep based?
-
I think the game is in a too early stage to actually provide some feedback on (Altho Foxhunters points are valid of course).
By all means, keep the progress going and the thread alive! :D
-
Alright! You can now go through 1x1 gaps easily and the game no longer crashes randomly. The crashes were caused by clicking off screen, the game attempted to place a block in the array that held the tile map, however because it was out of bounds it crashed. Also, you can't place blocks on the player. I'm still trying to figure out the issue with the jumpy movement because I can't replicate it. The new download is up.
-
Alright! You can now go through 1x1 gaps easily and the game no longer crashes randomly. The crashes were caused by clicking off screen, the game attempted to place a block in the array that held the tile map, however because it was out of bounds it crashed. Also, you can't place blocks on the player. I'm still trying to figure out the issue with the jumpy movement because I can't replicate it. The new download is up.
Awesome! I actually was developing a simcity clone in SFML one time with a friend (barebones) just to see what we could do and I had the same exact problem with placement. As I asked before though, how do you update movement? FPS based or using a fixed timestep?
-
The movement is FPS based. Today I'm going to work on the stats being shown via an in game terminal.
-
Alright! I think I may of fixed the jumpy movement. Amsale 1B is now up for download and that has the fix in it.
-
Alright! I think I may of fixed the jumpy movement. Amsale 1B is now up for download and that has the fix in it.
You fixed it! You should cap your framerate though, I move very fast now [because movement is based off of FPS, higher fps players will move faster than slower fps players]
-
Awesome, I'll take a look at the FPS issue with moving faster. I don't think capping it will fix it, better hardware could run the game much faster and it would be a waste and slower hardware would move slower as the FPS cap wouldn't effect it. Right now I'm trying to organise and clean up the code, I'll admit at first that I just had all the code in a single source file but now I've got it into multiple source files and it's much easier to work through. I may put out a new download today however it is most likely going to come out tomorrow or the day after tomorrow.
-
You want to read this (http://gafferongames.com/game-physics/fix-your-timestep/). It'll fix the problem you mentioned, and allow faster machines to not be a waste.
-
You want to read this (http://gafferongames.com/game-physics/fix-your-timestep/). It'll fix the problem you mentioned, and allow faster machines to not be a waste.
Yes, I have already implemented that in the new update :)
-
Yes, I have already implemented that in the new update :)
You're on fire! Unstoppable :D
-
Haha :)
-
I am having an annoying issue with G++ and Clang++ both saying that Level doesn't exist even though I am including Level.hpp, I've managed to work the issue down to the fact Player.hpp includes Level.hpp because Player.cpp needs a pointer of Level.hpp for one of the functions and Level.hpp includes Player.hpp because it needs Player.hpp for a function. So it is basically creating a loop so I am going to have to move code around. After a test this is indeed the issue which is quite annoying because I wasted time trying to work out the G++ and Clang++ errors and it turned out they were giving error messages that made utterly no sense. Similar in sense to saying "Apple is no longer here" and making you think "Where did it go?" instead of just saying "Apple was never delivered".
-
Alright, so a little bit of history :). I programmed the game in just one source file because I was messing about and I actually quite liked it, so I added things, however I then decided to reprogram the game in multiple source files so it was easier to read and work through. Doing that has created issues with a loop of includes, I have just fixed that, however I am now reimplementing things and the little issue wasted time so the next download will be tomorrow, that I can promise :).
-
Woo! New download is up, Amsale 1C. I've not been able to add much because I was reorganising all the code and trying to get rid of bugs but I've fiddled with how much each object costs to make and I've added some in game stats that are shown.