|
You guys might be interested to learn that Havok is releasing their Physics and Animation libraries as free for non-commercial use. The full press release is here.
|
# ¿ Feb 23, 2008 05:45 |
|
|
# ¿ Apr 28, 2024 08:26 |
|
Lank posted:I think that will work well enough to make the game not come to a halt but if characters bunch up for any reason, I'm back at square one with n^2 distance checks per frame where n is the number of players and objects. The better algorithms can reduce the complexity of what you're doing from O(n2) to O(n log n).
|
# ¿ May 2, 2008 05:23 |
|
Stramit posted:It's cool that you are using pygame, but I just wanted to clear something up. For pretty much any game you are going to be working on by yourself or in a small group that is not AAA Java is fine. Performance wise it is slower then C++, but given the scope of the game you are making this will not be a problem.
|
# ¿ Jul 8, 2008 03:41 |
|
krysmopompas posted:The needs of Epic in Gears are vastly different from the needs of the general industry. Go ask someone from Midway about native vs. unrealscript performance. edit: Scaevolus fucked around with this message at 02:58 on Jul 22, 2008 |
# ¿ Jul 22, 2008 02:19 |
|
Kimani posted:That's right, if you run this game and have Task Manager next to it, you'll see the amount of threads go up to potentially over 200 at times. Every entity in the game runs on it's own thread - every character, every bullet. It made for an interesting game programming exercise, writing it using message passing and being event-driven, but yeah. Massively parallel. What would be better is having as many threads as processors, and then parceling out tasks to each worker thread. The Source engine does something like this. If you're going to have more than a dozen threads, using OS threads is a really, really stupid idea.
|
# ¿ Sep 14, 2008 20:24 |
|
Kimani posted:Now before I go too far, while I do intend to use this game environment for future projects ( wouldn't want to waste the effort... ) for this program I sort of fudged the collision detection because it needed more work and it was fudgable - and I wanted to finish the drat thing. Scaevolus fucked around with this message at 01:09 on Sep 16, 2008 |
# ¿ Sep 16, 2008 01:07 |
|
not a dinosaur posted:The rightmost pixels on the character's head are malformed- they are not square anymore. The "l" above his head is sometimes straight, and sometimes crooked like in this picture. Scaevolus fucked around with this message at 22:18 on Nov 1, 2008 |
# ¿ Nov 1, 2008 21:09 |
|
Mithaldu posted:Sure there are. He should have stated it more clearly-- you can't guarantee that a pointer to an element in a resizable array will always be valid (barring obscure data structure).
|
# ¿ Nov 16, 2008 21:26 |
|
ultra-inquisitor posted:Have you seen DungeonMaker? It's by far the best generator I've come across.
|
# ¿ Mar 5, 2009 01:19 |
|
Morpheus posted:Me, I'm doing a more open roguelike, and I've got to figure out random city generation algorithms on the small scale. Being able to, say, make a suburban area where suburbia has an x to y amount of houses, z% chance of a police department, and stuff like that while still making the place look 'normal' (houses in front of streets that go somewhere), that's something I'm working towards. Have you seen Subversion's city generation process?
|
# ¿ Mar 5, 2009 03:54 |
|
SlightlyMadman posted:I'm pretty sure pygame uses (embarassingly slow) software blitting-- did you try this in pyglet + rabbyt? They have demos with hundreds of moving sprites and good performance. Scaevolus fucked around with this message at 02:15 on Jan 5, 2010 |
# ¿ Jan 5, 2010 02:11 |
|
Hanpan posted:After that, I tried out pygame and some of the libraries associated with 2d gaming. It's nice but I ran into the same performance problems I encountered with Flash. Have a look at Pyglet & Rabbyt.
|
# ¿ Feb 19, 2010 13:27 |
|
Hanpan posted:Isn't Python similar to Flash in regards to performance? I'd really like get some parallax scrolling on the go and all sorts. Pyglet uses OpenGL, so it should have better performance than Flash or Pygame's software rendering.
|
# ¿ Feb 19, 2010 13:57 |
|
FateFree posted:I'm looking for advice on a good beginner book for game developing, what language or platform to consider for a long term 2D project (while I love Java, I want to work on a language more geared towards professional gaming), and any other starting advice. I don't think it really matters at the beginning. Your first few engines are going to be terrible while you learn how to structure things no matter which language you choose.
|
# ¿ Feb 26, 2010 06:00 |
|
Hanpan posted:Does anyone have any recommendations for 2d physics with XNA? I think someone here recommended Farseer, but it doesn't seem to get updated very often. It's a shame that there is no direct implementation of Box2D http://code.google.com/p/box2dx/ ?
|
# ¿ Mar 10, 2010 22:56 |
|
HappyHippo posted:Is it just me, or is Blender's interface really annoying? It took me forever to texture a simple cube. All the tutorials I've found online seem to be out of date, and Blender likes to change things somewhat radically between releases it seems. Anyone know of any up-to-date tutorials for version 2.49? It's not just you. Blender is infamous for its terrible interface, despite what rabid open-source apologetics say. It's a shame Autodesk canceled Maya Personal Learning Edition.
|
# ¿ Mar 31, 2010 00:01 |
|
Don't use GL_QUADS, it doesn't work on some hardware. Use GL_TRIANGLE_STRIP with degenerate triangles if you want to do more than one quad per glBegin/glEnd pair.
|
# ¿ Jan 31, 2011 21:19 |
|
monsterland posted:The rest was fairly obvious. Though OpenGL's scaling flags suck donkey cock, so I had to make the bitmaps 64x64 (and maybe that's not even large enough for uber-displays), so that the scaling method used is very basic, and yet due to being DOWNscaled it doesn't look ugly.
|
# ¿ Feb 18, 2011 08:17 |
|
FreeType is somewhat heavyweight. Sean Barret has a public domain 1800 line TrueType font rasterizer that will probably do everything you need.
|
# ¿ Feb 18, 2011 08:57 |
|
ATI really doesn't like OpenGL for some reason.
|
# ¿ Feb 23, 2011 17:44 |
|
I like the optimization notes for KNES:quote:Compile with the “-Cl” switch, this makes local parameters static. Otherwise they’re allocated from the CC65 software emulated stack, which is understandably very slow. One drawback to this is that every single temporary variable will now take a byte in RAM, even if it’s used very rarely. It might be a good idea to have some generic temporary global variables for that purpose instead. roomforthetuna posted:Have you considered homebrew DS? There's probably more people who'll play a DS game if you make a decent one, and there's a reasonably functional C library and documentation for it, and even an emulator with debugger (no$gba is the emulator, I think the version with the debugger costs a few bucks). no$gba is dead, and there's no way to get the debugger version anymore. DeSmuME is still quite active, and that's what a lot of DS homebrew devs use. Scaevolus fucked around with this message at 21:32 on Feb 26, 2011 |
# ¿ Feb 26, 2011 21:30 |
|
Tw1tchy posted:Anyone have some good examples/tutorials/libraries to use for netcode in gaming? I tried winsock but holy poo poo there's like 3 tutorials for it in total that aren't just codedumps and they don't explain half the stuff, and winsock seems really old anyway. Anything for c++ for use with SDL/openGL.
|
# ¿ Apr 27, 2011 02:25 |
|
Tw1tchy posted:Thanks for the help. I'll read through all that soon when I get the time. Also what I'd be using it for would be a tile-based game, so would all the stuff in it still be completely fine for what I need to do? And does it mention what libraries to use for netcode; because that's still a big problem of mine. For libraries, you could use something like Boost.Asio to wrap the platform-specific details.
|
# ¿ Apr 27, 2011 06:14 |
|
dangerz posted:The cube dictionary is already local to each chunk. Is there any reason why you're using a dictionary rather than an array?
|
# ¿ May 2, 2011 01:38 |
|
dangerz posted:Dictionary let's me do a fast key lookup (o(1)) and iteration through the whole thing.
|
# ¿ May 2, 2011 03:13 |
|
Jonathan Blow (the creator of Braid) gave a talk at UC Berkeley titled "Programming Aesthetics learned from making independent games" with a lot of good advice.
|
# ¿ Jun 24, 2011 05:46 |
|
Logarithmic depth buffers are a good solution for rendering things at extreme scales. His example with a 24-bit Z-buffer has a resolution of 2 micrometers at 1 meter, and a resolution of 10 meters at 10,000 km. Also, Infinity is an indie space MMO that seems to be aiming at accomplishing a lot of the same things...
|
# ¿ Oct 15, 2011 23:05 |
|
Have an option in your settings screen: "Text speed: [Instant] Fast Normal Slow".
|
# ¿ Nov 22, 2011 00:54 |
|
Winkle-Daddy posted:As someone who did tech support for Adobe, I can tell you postscript is not dead. In fact, PDF files are created by taking a postscript file and running it through the Adobe Distiller to convert those postscript instructions into a .pdf/.ai document (really they're the same thing with a different extension. If you have illustrator, rename a downloaded PDF to whatever.ai and open it!) https://www.youtube.com/watch?v=PqL5P46m_zQ Scaevolus fucked around with this message at 06:09 on Jan 14, 2012 |
# ¿ Jan 14, 2012 06:07 |
|
My Rhythmic Crotch posted:Just curious if anyone has seen a complete tileset suitable for 2D RTS use? I know most everything is done in 3D these days so... I probably won't have any luck, but I thought I would ask. http://lunar.lostgarden.com/game_HardVacuum.htm
|
# ¿ Jan 22, 2012 17:16 |
|
It's a 32 bit machine. https://github.com/JohnEarnest/Mako/blob/master/src/MakoVM.java#L43
|
# ¿ Jan 23, 2012 17:29 |
|
Shalinor posted:As I am about to dive in head-first, does anyone happen to know of a Hello World-esque walkthrough of all of the back-end PHP et al that typically drives a web/Facebook game?
|
# ¿ Jan 25, 2012 01:47 |
|
HaB posted:So...does anyone know what method it's using to choose? Thanks in advance.
|
# ¿ Feb 18, 2012 01:45 |
|
Internet Janitor posted:Thanks, guys! If you have any thoughts about the gameplay I might still do some tweaking. I feel like it's a little threadbare. the only winning move is not to play (you should get fired and lose the game if you miss two days of work in a row) The clock should be advanced before telling the player he is running late. Making the title image -> optimal tile grid calculation into a compile-time directive (:image-compress title-tiles title-grid "title.png" 8 8 ?) might be a good idea. :enum bed alarm-clock ... could replace :const bed 0 :const alarm-clock 1 ...
|
# ¿ Mar 12, 2012 07:58 |
|
Lua evolved as an embedded language, and it shows in the design. One of its 8 types, "userdata", is specifically dedicated to interoperating with C. Python evolved as a general purpose language, and embedding it was obviously never a primary objective.
|
# ¿ Mar 16, 2012 18:17 |
|
Kaf posted:Can anyone recommend any books on designing/implementing match-making services? Getting into this soon at work and it's a whole new field for me. Microsoft's published information on their Trueskill ranking system should be quite useful, and includes formulas for calculating skill and performing matchmaking.
|
# ¿ Apr 11, 2012 01:10 |
|
HappyHippo posted:Anyway I just thought I'd share in case anyone else was having similar issues. Does anyone have any other suggestions/good reading material on this? Most of what I found on google was similar to my first two implementations. Left 4 Dead uses something called "Reactive Path Following" -- http://www.valvesoftware.com/publications/2009/ai_systems_of_l4d_mike_booth.pdf pg 14 Modifying the navigation mesh to avoid collisions seems harder than just doing collision tests directly.
|
# ¿ Feb 21, 2013 04:58 |
|
Are there any benefits of FRP in comparison to a normal non-pure language's mutable objects? It seems like it requires an elaborate arrangement of events and state transitions to support basic updates.
|
# ¿ Feb 25, 2013 01:02 |
|
Surprise T Rex posted:Are there going to be any negative effects from coding a game in an interpreted language like Python? It's what I'm learning at University at the moment and I figure that I might try to knock out a really simple game in my spare time. For simple games, you should be fine. Most 2D games could be written in Python, but 3D usually requires better performance.
|
# ¿ Feb 25, 2013 03:34 |
|
|
# ¿ Apr 28, 2024 08:26 |
|
I've been experimenting with PuzzleScript (site is currently down), a tiny language for making grid-based puzzle games. I did a "demake" of the LD28 game PUSH. Play it here. PuzzleScript can be surprisingly concise. The core behavior only takes up 40 lines of code. source code | editor link
|
# ¿ Mar 30, 2014 07:39 |