Jump to content

  • Log In with Google      Sign In   
  • Create Account

Johnell

Member Since 12 Apr 2012
Offline Last Active Private
-----

Topics I've Started

Create enemies in 2D side-scroller

24 March 2013 - 08:00 AM

What is the best way to create enemies in a tile based side-scroller game? I can think of 2 different ways. Either manually place enemies on the tilemap or random their position. 

 

If I random their position I have to check for collision. If I manually place them I can make sure they never collide with an object. What's the best way to do this?

 

I am using http://www.mapeditor.org/ to create my tilemap.


2D scrolling game

10 March 2013 - 06:23 PM

I am gonna make a 2D scrolling game, kinda like Mario. What is the best way to move the screen? Move the player and update the camera accordingly or move the entire screen and let the player stay still?


Format on messages sent through sockets

01 March 2013 - 08:18 AM

What exactly is the standard format of sending and receiving messages through a socket? Send everything as a big string and parse with regex, send everything as binary? What are the format on messages sent with FTP or HTTP?


Multithreaded programming

25 February 2013 - 02:47 PM

I'm looking to make a little game project of mine and could use some advices.

 

I'll be using C++ and i'm aware of both SFML and SDL. Are there any other good 2D libraries out there for C++ that I should know of? Secondly, I wanna learn more about multithreaded programming so I want to make a game that would force me to use this.

 

Any advices on a game project  and what 2D library to use would be appreciated. 


Server/client chat application

26 November 2012 - 01:01 PM

I recently started learning about socket programming in C/C++. I've done some basic stuff, e.g. client writes something to server and it's then echoed back to the client. Now i've come to the point where i'd like to make a chat application, using these concepts. The idea i'm having is that clients can connect to different chat rooms on the server and communicate with each other. In the chat room you should be able to target another user and they should be able to talk with each other.

Now to the problem. I'm not sure which way is the easiest/best way to implement this. For the chat room I thought of when a user writes something, the message is sent to the server and the server then echoes that message to the other clients. Not sure what other options I have. Also some ideas on how to implement the private messaging between clients in a chat room would be great.

I am using C++ and unix sockets.

PARTNERS