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.


Messages - MrOnlineCoder

Pages: 1 2 3 [4] 5 6
46
SFML projects / Re: Zeran's Folly
« on: October 10, 2016, 11:23:51 pm »
I found one problem:
I minimized the game and then switched to it using Alt-Tab (Windows) and it became "not responsing". I forced it to quit. Also, why it eats so much memory (in my case - 500 MB)?

47
SFML projects / Re: Zeran's Folly
« on: October 10, 2016, 09:58:12 pm »
Brilliant work. I loved it! It reminds me Toad Strikes Back game (it is also platformer with different bosses).

48
SFML projects / Re: Cendric: An RPG Platformer
« on: October 09, 2016, 03:28:56 pm »
Yep. I downloaded just to my games folder on data drive ( not system)

49
SFML projects / Re: Cendric: An RPG Platformer
« on: October 09, 2016, 12:19:59 pm »
Very good work. But when I tried to save a game, I saw an "Operation failed" message. How to fix this?

50
Feature requests / Re: moveTo method for Vector2
« on: October 01, 2016, 09:23:45 pm »
1 pixel I used just for example  ;)

51
Feature requests / moveTo method for Vector2
« on: October 01, 2016, 08:17:21 pm »
Hello. Very often in games there is need to move object A to object B smoothly. Can this function be implemented in SFML? Something like this:
pointA.moveTo(pointB, 1f);
//=> pointA is now closer to pointB by 1 pixel
 

52
SFML projects / Re: First Game Showcase (with source code!)
« on: September 26, 2016, 08:26:10 pm »
There is nice blog post about releases on GitHub: https://github.com/blog/1547-release-your-software

53
General / Re: Questions about making tiled game
« on: September 18, 2016, 09:12:49 pm »
Thank you. I will concretize my question about:
Drawing map
How to draw large map efficiently? I think drawing 1024*1024 = 1048576 tiles is too hard for GPU. How can I speed it up?

54
Just include libstdc++6.dll with your game. It is located in bin directory of  MinGW

55
General / Questions about making tiled game
« on: September 17, 2016, 08:15:25 pm »
Hello. I am making tiled RPG game (all action will be on tiled map with top-down  view). So, questions:
1.How to draw and interact with large map (for example 1024*1024 tiles)
2.How to make mobs and player damagable? I mean how to watch when mob is attacked and when not (should I place this logic inside player, world class or somewhere)?

56
SFML projects / Re: Pong
« on: September 15, 2016, 01:14:04 pm »
GitHub link is broken. Nice work anyway!

57
Feature requests / Re: Add center() method for Sprite
« on: September 15, 2016, 06:54:59 am »
Thanks for reply, it helped.

58
Feature requests / Add center() method for Sprite
« on: September 14, 2016, 10:17:24 pm »
Hello. Very often I need to center sprite relative to some position. So I have to do something like
sprite.setPosition(newX-sprite.getGlobalBounds().width/2, newY-sprite.getGlobalBounds().height/2)

but it will be very useful to do something this:
sprite.center(newX, newY);
 

Thanks.

59
SFML projects / Re: First Game Showcase (with source code!)
« on: September 14, 2016, 08:06:43 pm »
Can you post binaries on GitHub (release)? Not everybody has CodeBlocks.

EDIT: Tried to compile your project, error:
Quote
maingame.cpp|2249|error: call of overloaded 'abs(float)' is ambiguous|

60
General / Re: Best way for organizing turn-based game
« on: September 14, 2016, 07:31:21 pm »
I ended in next solution:
1.Use luac to protect from normal users
2.Store on server the checksum of spells scripts folder.
3.When going in matchmaking, check the checksums on the client and server. If they are equal - let player start search for opponent. If no - deny.

Also, I have a problem in game design. So all my heroes are stored in every player's vector. The problem is that to check what hero was clicked, I have to iterate through all vectors and call isClicked function. That also makes not easy to interact with other heroes, e.g. find heroes in specified area. Should all heroes be stored in 2d array (field,  in a map <Vector2, Hero> or other way?

Pages: 1 2 3 [4] 5 6