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

3
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?

4
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]