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

Pages: 1 [2] 3 4 ... 6
16
General / Distributing SFML games on other websites.
« on: January 22, 2012, 08:38:44 pm »
Well im not really afraid of people "taking" my assets. In fact, i couldnt care less. Its just that if they MODIFY them and then they play the game, they get to play the game with watever thing they make. So for example, in a 3D game you might have to pay money in order to get some items or clothing. Some clothing is only for looks. So lets say you modify the game and then you get to get the clothing for free because you modified it YOURSELF. So now the developers lose money because you get everything for free by doing it yourself. Now im talking about online 3D games and im making 2D games which arent even good, so you might ask that why do i care? Well i just want to learn from now how to lock my assets. And also ive noticed that in games directories they have file formats(like ".pak" or something) that are unknown and those formats contain the scenes and models or watever. So do i have to make my own formats to protect my assets?

17
General / Distributing SFML games on other websites.
« on: January 22, 2012, 04:37:12 pm »
Okay listen when i go into any games directory(like an MMORPG for example), i dont get to see all the game assets and open them up and change them. They have dlls. So if they used a program that i could get online to change their models, the game would screw up because now the models have changed because of my EDITING. I want to make my assets so that they can't be changed. And what do you mean selling? Like online..?

18
General / Distributing SFML games on other websites.
« on: January 22, 2012, 03:11:52 am »
About the whole distributing/publishing part, do i have to pay to do that? And are ads the only way to make money because in my opinion, not a lot of people click on ads anyways. And you said i would have to get my own web space. But doesn't it cost money in order to host your website on a web server?

19
General / Distributing SFML games on other websites.
« on: January 22, 2012, 01:26:37 am »
Does anyone know of websites where i can distribute the game? And how will i put ads in it to make money? And how do i even put the game in there? Like will i have to put all the files of the game in a rar file and then people download it or how does this whole thing work? Also, if they download the files, then they see my game assets(music,sprites,etc). All they have to do is change those to change how the stuff looks. How do i "lock" the assets? And also, earlier i sent my friend the files of the game. On his computer, it said he needed some dlls. But on my computer, those dlls arent necessary for the game to run. So how do i know if it will even work on peoples' computers? I know this is soo many questions but i have no clue what to do when it comes to actually distributing my game. Thanks a ton!

20
Window / Resizing window.
« on: January 20, 2012, 10:33:32 pm »
But I dont get the sf::View at all. In fact, this is probably the second time ive heard of it. I'm beginner to it so please explain and thanks!

21
Window / Resizing window.
« on: January 20, 2012, 05:27:43 am »
Thanks for that response! I think the timer thing would work. So could i just make a timer and then every like 1 second(just as an example), the main loop in the main function would run? Or do i have to make timers for more stuff? Cause ive already got my code and it going to change alot if im going to be implementing this. Any suggestions?


EDIT: And what you said about the whole pixel thing and collision, well im doing collision with Window.GetWidth() . So then the player cant go past that.. And i didn't get the whole meter thing you said. Can you please elaborate on that? Thanks in advance!

22
Window / Resizing window.
« on: January 20, 2012, 01:07:29 am »
So while i was developing, i noticed something when i changed the window size. So in my game i had the player that moved at a certain speed when you pressed a button. But whenever you resize the window, the player gets bigger and i believe the graphics gets worse too. But the problem is that the speed just decreases ALOT. And when I resize it to a much smaller size, the speed of things gets much faster. Also when i resize it small, the player collision messes up. So basically what i want to know is that how do you keep your game data consistent even if then change the size to very small or very large?

23
General / SFML Special effects and stuff?
« on: January 05, 2012, 10:44:20 pm »
Alright. I have a question about SFML coding. I have been using keypressed() function of sf::Keyboard. But i want to check for just a single
key press. So not if its pressed, but if it was pressed and released. How would i do that?

24
General / SFML Special effects and stuff?
« on: January 05, 2012, 04:25:02 pm »
Wait isnt it supposed to be done in GLSL if opengl and this other for Directx? Why does SFML have a shader class..

25
General / SFML Window not showing!!!
« on: January 05, 2012, 04:22:05 pm »
Yoo dude i had the same problem i got the SFML 2.0 snapshot and built it with Cmake. If you dont know what im talking bout,just search it up on youtube or google. It worked perfectly for me!

26
General / SFML Special effects and stuff?
« on: January 04, 2012, 10:45:29 pm »
Ok so as the title might suggest, and im no where near this i still want to know how you can do special effects with SFML. Is it advanced enough for like cool special effects? E.g. particle systems,explosions,etc.   And also, where does shaders come into play here?

27
General / SFML Window not showing!!!
« on: January 02, 2012, 11:34:26 pm »
Umm i was just about to reply that i searched it up and i actually found that you gotta pass the address. But since i dont get why you cant just do this:

void Display(sf::RenderWindow) in the header file I guess i have to do the basics..

28
General / SFML Window not showing!!!
« on: January 02, 2012, 09:58:40 pm »
Lol ive been through more than 73 tutorials, a book, and other websites and you saying i have to learn the basics.. This is probably one of those things that werent taught so.. and this has to do with sfml. the sf::RenderWindow() parameters..

29
General / SFML Window not showing!!!
« on: January 02, 2012, 09:13:44 pm »
Umm nvm.. I have a problem with coding. So, so far ive been coding in one file, the main.cpp . But ive noticed that when i was programming a game, it got way too confusing for one file. So then i made a class named Player. So now i had Player.h and Player.cpp . There were so much problems that i encountered. I want to organize it is that i will have the functions of Player all in that class. So Move() for example. Display() to display the player. But in order to display the player, you need a renderwindow object . Now this is where i got errors. When i put that Display() took an arguement of sf::RenderWindow()   (i did this arguement because in the main function i would pass my renderwindow object that id already made into the parameters) and therefor it would draw it. But in the header file of Player,   i dont know how to define a function that takes that arguement. I tried putting this:
Code: [Select]
 

void Display(sf::RenderWindow(sf::VideoMode(int,int,int), string);



Then in player.cpp i did this:

Code: [Select]


void Player::Display(sf::RenderWindow(sf::VideoMode(int,int,int), string);




The reason i put int int int and string is because the videomode takes those arguements and the string is for the title. So i got errors. Basically what i need is a way to organize my code into different files. Thats the whole thing. I just gave the above because its the main problem im having is putting variables of sf into the files..Thanks in advance!

30
General / Distributing SFML games on other websites.
« on: January 02, 2012, 05:43:00 pm »
Alright thanks!

Pages: 1 [2] 3 4 ... 6