Reputation: 1 Apprentice
- Active Members
- Active Posts:
- 58 (0.12 per day)
- 31-July 12
- Profile Views:
- Last Active:
- Sep 17 2013 05:00 PM
- Who Cares
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
Posts I've Made
Posted 8 Sep 2013Thanks alot for the link, BBeck. I also thought of spawning all of the creeps at the beginning of the wave (all at once) and relying on their movement speed (which does use the elapsed gametime for its calculations) to be at the right place at any time. Sure, this is not optimized and may cause lag if there are lots of creeps, but I guess that if you lag when all creeps are spawned, the problem may not be the code anymore. Also, I thought of adding other kind of creeps (stronger ones, faster ones, etc) that would lower the lag of having multiple simple ones.
But again, thanks for the link, I have it bookmarked already!
Is my idea realistic or should I calculate the N number of spawns that may have happened between two update calls like you said?
Posted 6 Sep 2013From the small XNA experience I have, I tend to restrict myself to sound that I generate using BFXR and I do that at the end just to add some feel to the game (which I do not even share with people around me, I just do them for myself and have fun with this).
That being said, I'm always leaning towards being a better programmer and being a better game creator. I always raise the bar a little higher everytime I start a new project. I'll work on the audio part way more from now on, seeing that people really care about it!
Posted 9 Aug 2013Finally got it to work! Thanks alot guys and now I know how Objects are referenced instead of copied over!
Posted 9 Aug 2013Yep. Thanks alot to you guys. I now understand and I'll try to make it work the best way I can!
You guys are great teachers. I would love to have you as teachers at school, things would be so easier!
here guys, have a song! http://www.youtube.c...h?v=7hIQDavRD54
Posted 9 Aug 2013I did something similar to you, baavgai:
Another class that contained the datas in a private List, which could only be requested by a static method within this class.
Even if the other class could obviously NOT access the variable (because it was private and the only way to access it was to query the static method), it changed anyway.
As for Momerath: What am I doing wrong? Shouldn't line 45 just copy the value from the right to the variable on the left? I'm no expert and this is exactly why I'm asking. What was wrong? I did not reference anything at all (or else even copying the Database would reference it and then I'd probably change the values over the database at the same time????)
That's my question: what principle am I skipping there?
I thought that a variable just got its value from the right-hand side of the "=", no reference whatsoever?
EDIT: So in my understanding now, the "=" thing references the object or value on the right to the variable on the left? If that's how it works then how would I access the original database without referencing it? (Also, I'm blown away. My whole C# life is a lie.)
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown
- Years Programming:
- Programming Languages:
qwertyuu hasn't added any friends yet.