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 - Stormboy

Pages: [1]
1
General / Re: Snake game - block positions
« on: April 05, 2014, 09:45:20 am »
Check this out whenever you have to decide what kind of container you need:
http://i.imgur.com/OxUhWfm.png

Thanks for that :).

2
General / Re: Snake game - block positions
« on: April 04, 2014, 06:13:04 pm »
The head is the only thing that will move to a new position depending on user input. All body segments simply move to the position of the segment that is in front of them.

Oh never thought of it that way. Thanks again :D

Another question if you don't mind: Which would be the best container for the blocks?

3
General / Snake game - block positions
« on: April 04, 2014, 06:01:16 pm »
Hi,
I'm planning to make a snake game and I've pretty much figured out most of the game except one thing: updating the snake's body blocks' position.

Take this scenario for example:
The snake is moving left. User presses the UP key and now the head block starts moving up. Now how should the body blocks' positions (x & y) be updated?

Thanks. :D

4
SFML projects / Re: CoffeePong
« on: March 29, 2014, 08:55:45 am »
Seems nice, but don't forget to turn VSync on or set a Framerate limit! Otherwise the Game uses a lot of system resources :)

Thanks for reminding  ;). I've turned VSync on :).

5
SFML projects / Re: CoffeePong
« on: March 28, 2014, 08:39:20 pm »
@ The Terminator
Quote
Nice game.
Thanks! :D

Quote
Is the "coffee" in the name a reference to Java? :P
Yep xD.

6
General discussions / Re: SFML and Social Media
« on: March 28, 2014, 02:22:09 pm »
Lol that win xD.

7
SFML projects / CoffeePong
« on: March 28, 2014, 02:13:31 pm »
Hiya! :D
I wanted to try out JSFML so that's why I've made this Pong clone in Java. It was a  neat experience (mainly because SFML is the SIMPLEST multimedia library that I've come across :))). Currently there isn't any sounds, but I'm going to add it once I look into the Audio module.

Controls:
Up - UP Key
Down - DOWN Key
Pause - P Key
(It is shown at game start btw ;))

Links:
Repo: https://bitbucket.org/StormboyXZ/coffeepong/
Binary: https://bitbucket.org/StormboyXZ/coffeepong/downloads

Screenshot:




Comments and suggestions are greatly welcome :D.

8
Feature requests / Re: Collision detection integration
« on: March 28, 2014, 02:05:15 pm »
Oh allright, sorry. :|

9
Feature requests / Re: Collision detection integration
« on: March 28, 2014, 02:02:40 pm »
Collision detection is clearly out of scope for SFML.

Why is that? :/

10
Feature requests / Collision detection integration
« on: March 28, 2014, 01:58:20 pm »
Hi,
I was just thinking, it would be great if the Collision class (the one that's in the forum wiki) was integrated into an SFML module (Graphics maybe?). This is just my idea, so what do you guys think of it?

 :)

Pages: [1]