Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - JackPS9

Pages: [1]
1
Graphics / Sprites or View movement
« on: March 28, 2017, 03:45:28 am »
Which would be faster to move?
I'm thinking it would be faster to move the view around as the player moves, but just looking for a second opinion on the matter.

2
General / World Looping
« on: October 28, 2015, 09:13:29 pm »
Alright, just really stuck on how to pull this off.

So I have a tiled map, and that but can't figure out how to make it that when you hit the top, the bottom part of the map loops around, and you can just keep swimming/walking without ever hitting the edge of the map.

I've though about when you get to pos X/Y just update all the tiles to their new position.  Just worried that it may have a lag spike every time the player does so.

3
SFML projects / Phentrix Framework (Updated: 10/2/2015)
« on: June 07, 2015, 09:14:39 pm »
Okay well due to me putting engine in the title though this project is more like a base framework to speed up the coding process.  Well anyways I am restarting from scratch, also putting Thor 2.0 into this so for those that want to use this correctly I advise you go check out Thor 2.0.

The reason I am adding Thor 2.0 is to have a decent way of getting animation put into this framework.

Things that I am going to be re-adding to this frame work is things like the audio class I made for the first version.
What can the audio class do?
Allows for 10 sounds to be played at the same time
Stores up to 255 different soundbuffers (SFML suggests a limit so I am capping it out)
Has 3 Music players in place, really only need 2 but I put a third if you wish to sort it out better(Battle/Theme, World, and lastly for villages/Dungeons)

Another feature from the first one I am re-adding is the tilemaps and hopefully thanks for Thor 2.0 this will allow for even the water to be animated yay!  You can thank nexus for how easy the animating is when using Thor 2.0
Cause of the tile maps though and the fact I totally forgot that the maps should have 3 layers(Ground, Objects, Objects you can walk behind).   I will probably be lowering the max map size to 800x800 to start and working my way down if required(Probably will cause that is damn near 2 million lines for a full sized map)
The map files are tiled .tmx now so creating maps is really simple to do.  This while probably slowing performance down by probably milliseconds or less will save on memory allowing computers with less memory.
After all we don't want a game to have thousands of tiles loaded into memory at all times using those resources when they aren't being used.

Required things to use this framework correctly will be...
SFML (duh...)
Thor 2.0 (Thank for Nexus for making this lovely sfml extension)
Pugixml(For the tmx parsing)

PS the solution files and that you have to put together yourself, all this is going to be is the .cpp and .h files.
Also if anyone knows how to define the OsX, and Linux for this files so I can add them in at some point that would be helpful and allow more then just window users to use this framework.

Update (6/18/2015):
So the tile system should now work again, going to be testing testing the animation of the tiles next yay!
PS due to the animation of the tiles any animated tiles I suggest making a .png for that tile, should be 1 tile high, and the amount of tiles the animation is in length (Just cause of how the texture loading is setup)

Update (10/2/2015)
Fixed the info above a bit cause now using Tiled .tmx files which is just xml files really, but allows for faster and better map creation.

4
General / makefile dependencies (Solved)
« on: March 28, 2015, 05:53:49 am »
#Edit
I figured it out, sorry about this thread....

#Orginal
Can someone help me out?
I haven't made a make file in a while and can't remember how to fully make them.

Here is what I have...
(click to show/hide)


I have no idea how to add the dependencies.....
Currently doing this for windows only using VS2013 (I know I can just debug and release, but I want to know how to use make files for the compiling too....)

Pages: [1]
anything