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

Pages: [1]
1
Graphics / Level making how?
« on: April 21, 2017, 09:22:33 am »
i've been reading up , and if i'm not wrong a single image generated, is much better than generating each image tile by tile

That being said....
say
String a="\

_____________________"
;

//run the loop
{
if (if a[i][j]=="_")
w.draw(tile);
}

I've never actualy done this, or commented code on a forum.
But i've seen this work on others. And i wanna ask, is there a better way to do this? like less messy

2
General / Re: Need Help
« on: April 21, 2017, 09:11:22 am »
you will have to be more specific like what's happening?

3
SFML projects / Re: Looking for a team
« on: April 19, 2017, 06:21:14 pm »
great, umm...anyway i can contact you?

4
Wow, just wow.
Like
My life would be made if you tell me how you made the smart leveling system,

But i take it as a trade secret yes?

5
SFML projects / Looking for a team
« on: April 16, 2017, 02:55:41 pm »
Hi,
a sfml programmer here.
I thought it would be nice if a couple of us got together and made a game...
I am thinking , a tactical rpg  in the lines of final fantasy tactics
Reply if intrested

6
System / Help in threads
« on: April 16, 2017, 02:53:45 pm »
this had got to be one of the toughest things in sfml, and i have a doubt..

1) Do threads only work with void functions. what if i want to return someting after the thread is completed.
2) How do you do the thing where you pose code in forums?

7
General / Re: How does this work?
« on: April 12, 2017, 04:42:38 am »
But if i don't have the update function inside the game loop then won't it be executed only once.
Correct me if i'm wrong but the game loop runs infinitly, so if the update function is outside the game loop then it won't run again and again right?


8
General / How does this work?
« on: April 10, 2017, 04:13:54 pm »
Disclaimer: I am in no way a pro in c++ nor in sfml, Only sucessful game i made was snakes. and that was a bare minimum game...T-T

I wonder if this works....
https://github.com/theonekami/Towerdefence/tree/tower

Ok so i  have here a simple engine for tower defence. It's under construction, and i hope you don't have to read through the entire thing

I have two functions for calling the creeps and adding the towers.

both of them run in the main loop. The creep function updates as the time goes on...

Now the problem here is when i add a tower. It works fine but when the mouse is not moving the creep just stops animating. and when i move the mouse then the creep moves forward

Please any help is appreciated. Honestly i have no idea on how to do this..

Pages: [1]
anything