Search found 33 matches

by xu2201g
June 18th, 2017, 12:17 am
Forum: Everything
Topic: sfml framework
Replies: 25
Views: 9996

Re: sfml framework

Thanks, that was my intention :) To learn more about ways to build a solid framework, which can transform into different kinds of games with not too much effort. I ve added powerups now, which re dropped by destroyed enemy entities and improve the firemode, like u could do by yourself pressing q. I ...
by xu2201g
June 17th, 2017, 11:51 pm
Forum: Everything
Topic: Journal
Replies: 25
Views: 9223

Re: Journal

I had problems posting images as well. I was using the [/img ]functionality like [/code ] and put newlines within the keyword brackets, but for imagelinks you ve to avoid that afaik. [img ] http://i.imgur.com/h12lvm6b.png [/img ] -> [img] http://i.imgur.com/h12lvm6b.png [/img] [img ]http://i.imgur.c...
by xu2201g
June 16th, 2017, 11:37 pm
Forum: Everything
Topic: Little sfml platformer framework - game thing
Replies: 5
Views: 2564

Re: Little sfml platformer framework - game thing

Hi, looks like you already solved the circular dependency problem. If u cant avoid it by design you ve to use forward declarations afaik like u did with the Actor class in Component.h. short explanation: https://stackoverflow.com/questions/4926105/what-is-forward-declaration-in-c how to use it prope...
by xu2201g
June 14th, 2017, 5:47 pm
Forum: Everything
Topic: sfml framework
Replies: 25
Views: 9996

Re: sfml framework

Well, totally forgot to attach the demo in the last post... I added a new firemode for the player and u can toggle it by pressing 'q'. (it ll be toggled by powerups later) Firing rockets is bound to 'f'. U can look up the key bindings in the controls.txt or in the key.cfg file which uses sfml keycod...
by xu2201g
June 10th, 2017, 8:24 pm
Forum: Everything
Topic: sfml framework
Replies: 25
Views: 9996

Re: sfml framework

I made some adjustments to the sidescroller and now it looks like that: http://i.imgur.com/R6Q2ZcZ.png There is only one enemy type atm and only one projectile type, but ill implement more soon. Creating the gamemap only from file is a pain in the arse, thatswhy it is very sparse. I guess it would m...
by xu2201g
June 10th, 2017, 12:24 pm
Forum: Everything
Topic: sfml framework
Replies: 25
Views: 9996

Re: sfml framework

I guess its a bit inconvenient to get the projects running from github so ive packed those .exe, .dlls and asset files together to make it a bit easier to test them.
by xu2201g
June 10th, 2017, 10:31 am
Forum: Everything
Topic: sfml framework
Replies: 25
Views: 9996

Re: sfml framework

Allright,
ill give it a shot and iam already thinking of some kind of spaceshooter. Those sprites used re mostly from opengameart.org btw. I dont ve much experience in designing game art.
by xu2201g
June 10th, 2017, 6:30 am
Forum: Everything
Topic: sfml framework
Replies: 25
Views: 9996

Re: sfml framework

Hi there, worked a bit on the next chapters of the book, which transform the snake game into a classic sidescroller like mario. It took me some time to understand most stuff used in those, but i made it running, after fixing some bugs(you can see some in the commit history). New features implemented...
by xu2201g
May 25th, 2017, 11:42 pm
Forum: Everything
Topic: sfml framework
Replies: 25
Views: 9996

Re: sfml framework

Well, i guess i know what fcked me up there. First of all there are several mistakes in the previews post. While debugging the value of m_texture is not readable cause the line was not executed yet :roll: . And if its executed the right value ll be shown. http://i.imgur.com/MuxsF4O.png?1 So lets see...
by xu2201g
May 25th, 2017, 8:17 pm
Forum: Everything
Topic: sfml framework
Replies: 25
Views: 9996

Re: sfml framework

Hi, i reviewed and tested the stuff i implemented so far and got a bug (probably i did something wrong cause of misunderstanding). When i close the snake game while its in the game state i get a exception "vector subscript out of range". So i started to debug to find the reason why this is happening...