Jump to content

  • Log In with Google      Sign In   
  • Create Account


Sollum

Member Since 21 Apr 2011
Offline Last Active Today, 01:35 PM
-----

#5141460 Stench of poor stories and how to cure them?

Posted by Sollum on 23 March 2014 - 09:54 AM

Good afternoon lads,

 

I'll be straight forward - how do people notice difference between good story and utter crap and how to avoid getting into latter category?

 

For example, you sit down and read "Spawn" comic book, without rose tinted glasses. You can clearly notice its a story that has quality in it.

Try googling for fanfic. It stinks! Even with the best grammar and accurate use of characters, even without bullshit powerups - it sucks!

 

It's not only that. Another example - anime.

Most of anime are based on manga. Sometimes Anime show different stuff from manga. Those are called fillers.

Fillers have good animation... but story stinks!

 

Maybe there are some "key points" in "non crappy story"?




#5105759 Game timer dilema

Posted by Sollum on 30 October 2013 - 02:55 PM

Good evening,

 

I have a simple dilemma, i cannot solve myself. Or rather, make up my mind.

I am making a game for both desktop and android devices. In my first game i was using "fps based movement". Which resulted game to run faster on some devices, due to the fact that not every device was running it on 60 fps.

 

I don't want to make same mistake, because this time it's not a puzzle game and its more action orientated.

But "distance traveled per time" is double edged sword. If device lags for 3 seconds, i might get dead.

 

Other option i thought of, hardcap FPS to 30. But then... how do i manage stuff like "buffs" and etc?... base them on time or frames passed?

 

Anyone could give me advice?




#5047944 Which is easier to program C# or Java?

Posted by Sollum on 29 March 2013 - 04:24 AM

Go for C#.

 

I make food from C# and use Java for hobby projects.

 

Personally, i hate how Java handles event listening and etc, on UI level. Writing a shitton of code instead of just passing one delegate.

+ Visual studio is way better than Eclipse, of course, Eclipse is the BEST (IMHO) free IDE out there.




#5023570 Version control for begginers

Posted by Sollum on 20 January 2013 - 12:48 PM

If you plan to work in a company as a developer, eventually you'll be forced to use SVN. So i'd suggest sacrificing few hours to studying SVN's.

At work we use Team Foundation Server, Microsoft crap for Microsoft related stuff.



At my hobby projects i use Java, don't want to be slave to one language. Question tho, does anybody know good and easy to set up SVN for Eclipse?


#5016160 Strange bug in Release mode

Posted by Sollum on 31 December 2012 - 02:01 PM

I haven't used C++ on VS2012, only C#, but maybe solutions are handled the same way.

Are you using two or more projects in your solution, where one project contains node and the other one, the code your showing? If yes, check compilation options for those projects.

I recently had the same issue at work. Two projects set to "Any CPU" mode and one goes for "x86". Switching it to "Any CPU" didn't help either, so i usually switch all projects to x84 and make sure they are built on compilation


#5015860 What to do first? Making web-based game

Posted by Sollum on 30 December 2012 - 03:20 PM

Take a ton of paper and a good load of pencils and start writing and drawing.
When all the questions are answered in written form, start coding.

Web browser games usually are something with RPG or TBS (or even RTS). You can do the gameplay model in real life, on paper with matches, as units and etc.



What i am trying to say - Test out the model in real life before sitting down and coding. Will save you lots of time.


#5015142 mysql database

Posted by Sollum on 28 December 2012 - 01:33 PM

i thought SELECTs were like looping through the entire database, well all your help should help me be on the way, now i suddendly dont feel stucked, and i can go on and keep working on my project, thanks a lot

I would advice befriending joins. Main workhorse of RDBM.

--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------

--For example, select all character names that have healing potions, by item id

SELECT CH.NAME FROM 
CHARACTERS CH
INNER JOIN CHARACTER_ITEMS CHIT ON CH.ID = CHIT.CID
WHERE CHIT.IID = 5

--by name

SELECT CH.NAME FROM 
CHARACTERS CH
INNER JOIN CHARACTER_ITEMS CHIT ON CH.ID = CHIT.CID
INNER JOIN ITEMS IT ON CHIT.IID = IT.ID
WHERE IT.ITEM_TITLE = 'Healing Potion'

--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------

--Select all character names that have no items overall
SELECT CH.NAME FROM 
CHARACTERS CH
LEFT JOIN CHARACTER_ITEMS CHIT ON CH.ID = CHIT.CID
WHERE CHIT.ID IS NULL

I wont explain difference between joins, so you would go and study them on your own, but have in mind, you shouldn't abuse * to much, select only whats needed and not everything. Don't be afraid to use indexing and avoid doing searches by text as much as possible on classified fields. If you are looking for a Sword of Uberness don't go for "WHERE X.NAME = 'Sword of Uberness'", its slow, make sure application passes classifier ID, because searching for 1337 on indexed not null int field is far faster that doing varchar search.




#5014718 mysql database

Posted by Sollum on 27 December 2012 - 10:05 AM

EFFECT (ID, TYPE, VALUE1, VALUE2, VALUE3)

 

for example

 

123, TYPE.RESTORE_HEALTH, 15 (over 15 seconds), PERCENTAGE, 15%

 

when you pool out effect, you simply check its TYPE, and then do needed stuff with VALUES.

 

 

Well, that's at least what i usually do.




#5014436 mysql database

Posted by Sollum on 26 December 2012 - 11:01 AM

Well with items it could be like this.

 

Table CHARACTER { ID, USER_ID, RANDOM_FIELD_A, ..., RANDOM_FIELD_N }

Table ITEM { ID, RANDOM_FIELD_A, ..., RANDOM_FIELD_N }

 

 

Table CHARACTER_ITEMS { ID, CID, IID, RANDOM_FIELD_A, ..., RANDOM_FIELD_N } (where CID and IID are foreing keys from CHARACTER and ITEM)

 

If you're going to use MySQL, i'd advise you to read some literature on RDBM.

 

Here's a fine example

 

320px-ER_Diagram_MMORPG.png




#5014434 Game Multi-Threading

Posted by Sollum on 26 December 2012 - 10:49 AM

I had a similar problem when i was starting out. I didn't comprehend how its possible to do everything in a loop, because frankly, something has to catch those damn KeyPress when your software is drawing, right? So i had keyboard events in one thread, drawing and logic in another, and i was using GDI with Windows API.

 

Well worry not. Since you're using Java, try libraries like LWJGL ( http://www.lwjgl.org/ ), they have a good set of tutorials that will get you started.

 

You don't need multithreading for this. Just search for some gameloop explanations.

 

But the most standart thing is

 

EnterLoop

- Filter Keyboard/Mouse input

- Do logic, like move units or select unit

- Draw

EndLoop

 

I additionally like to create one additional class i call "DataSet", where i store all information, that is being used by Graphic, Logic and Input classes




#4984874 Want to make RTS strategy game, good starting point...?

Posted by Sollum on 28 September 2012 - 03:43 PM

Evening,

I would advise you to stick with XNA and C#. XNA covers lots of things for you.
Also, from what i grasp, you are beginner in programing. Personal advise - just don't go 3D yet.

Good starting point in my opinion would be C#, XNA, 2D "pixel men" sprites (or at least black cubes) and some study of A* path finding algorithm.


#4983014 GL Matrix Stack issue

Posted by Sollum on 23 September 2012 - 02:58 PM


I will think of some fast workaround.


You know you are using deprecated legacy OpenGL?


Yes, i do. Hell was i surprised when i used GL ES 2.0 on Android, its so alien to me (facepalm). They don't even promote view matrixes ._.

At the moment i am trying to make game logic and mechanics work, rather than graphical side. If i will go somewhere near comercial, i will surely consider rewriting graphics "engine". But for now, old opengl is more than enough for my project to work at decent framerate.


#4980501 C++, should I switch?

Posted by Sollum on 15 September 2012 - 05:05 PM

@OP

Whilst i was studying first years in Uni, i was a mindless C++ zealot.

But as the tasks started becoming way more serious and time consuming, from time to time i used C# or Java.

At the moment i am working as a .NET developer (+whole MS package of happiness, like MS SQL).

Got back to hobby game development again, picked up Java.

Why am I telling you this? Simple!
Don't be a slave to one language or one platform - adjust! Learn!
Sure, Java or C# might be slower and you can write your own super fast XML parser with C, but how much time it will consume?
Is it just a hobby project? Are you developing alone? I highly doubt that you will bother writing Crysis engine of your own.

I am not against C++, but if you wan't to see actual result, without loads of hours of hard work, go for something less time consuming. Visible results drive you further, settings you into success flow.

If you're afraid picking other language, apart C++, just because it's "Not the standard", learn to say - "So what?". Experiment!

I will share a word of wisdom, one lecturer in uni shared with us - "Chose technology by needs, not wise verse". What it means - draw outlines for your project, set goals you want to achieve and choose ways to do so!


#4907158 Java library similiar to SDL

Posted by Sollum on 28 January 2012 - 04:06 PM

You can try out LWJGL!

Or some Slick2D, which is based on it.

http://lwjgl.org/


#4810122 o wise one guide me

Posted by Sollum on 13 May 2011 - 02:23 AM

Heya,


I'd advice to study C a bit. Pointers, Structs are must. C is good to learn some procedure codding style.
2 and 3 - you can use SDL with OGL. I am using it myself on windows. SDL for input events, OGL for graphics.


And really, study pointers well, it's the most important thing in my humble opinion.


I use Dev C++ to code. Yeah, VS 2008 is good thing, but it's really... spoiling tool, due to debuger. No debuger = more thinking.


~Sollum




PARTNERS